Skip to content

Conversation

@amotl
Copy link
Contributor

@amotl amotl commented Dec 14, 2023

About

This patch brings in support for discovering/processing container data types, like CrateDB's ARRAY, OBJECT, and FLOAT_VECTOR. A significant portion of the code will need to be upstreamed to crate-python in a subsequent iteration, in order to improve the CrateDB SQLAlchemy dialect beyond this specific adapter implementation.

References

@codecov
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (b8e5da3) 78.10% compared to head (3ddc350) 80.11%.

Files Patch % Lines
target_cratedb/sqlalchemy/vector.py 72.22% 15 Missing ⚠️
target_cratedb/tests/test_standard_target.py 85.45% 8 Missing ⚠️
target_cratedb/connector.py 88.46% 3 Missing ⚠️
target_cratedb/sqlalchemy/patch.py 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   78.10%   80.11%   +2.01%     
==========================================
  Files           6        7       +1     
  Lines         548      679     +131     
==========================================
+ Hits          428      544     +116     
- Misses        120      135      +15     
Flag Coverage Δ
main 80.11% <82.58%> (+2.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amotl amotl force-pushed the types-1 branch 5 times, most recently from 59f7b71 to 973b498 Compare December 15, 2023 17:28
@amotl amotl requested review from matriv and seut December 15, 2023 17:30
@amotl amotl force-pushed the types-1 branch 2 times, most recently from b0aa3a8 to 3ddc350 Compare December 16, 2023 03:56
@amotl amotl marked this pull request as ready for review December 16, 2023 03:58
README.md Outdated
```

When installing the package using the Meltano's project definition, this
would probably the right way to write it down, but it hasn't been verified
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
would probably the right way to write it down, but it hasn't been verified
would probably be the right way to write it down, but it hasn't been verified

"cratedb-toolkit",
'importlib-resources; python_version < "3.9"',
"meltanolabs-target-postgres==0.0.9",
'importlib-resources; python_version < "3.9"', # "meltanolabs-target-postgres==0.0.9",
Copy link
Contributor Author

@amotl amotl Dec 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's apparently a rendering glitch by pyproject-fmt.

What I wrote down, to signal that meltanolabs-target-postgres was only hooked off temporarily, was:

'importlib-resources; python_version < "3.9"',
# "meltanolabs-target-postgres==0.0.9",

pyproject-fmt was so kind to fold the comment next to the previous line ;]. Is it legit? This one might be related:

/cc @gaborbernat, @edgarrmondragon

@amotl amotl merged commit 2b20640 into main Dec 21, 2023
@amotl amotl deleted the types-1 branch December 21, 2023 19:30
@amotl amotl moved this to Done in Workbench Overview Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants