-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(targets): Added a new prepare_table_columns
method to the SQLConnector
base class
#2354
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
CodSpeed Performance ReportMerging #2354 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2354 +/- ##
==========================================
- Coverage 89.70% 89.67% -0.04%
==========================================
Files 58 58
Lines 4848 4853 +5
Branches 947 948 +1
==========================================
+ Hits 4349 4352 +3
- Misses 349 350 +1
- Partials 150 151 +1 ☔ View full report in Codecov by Sentry. |
prepare_table_columns
method to the SQLConnector
base class
for property_name, property_def in schema["properties"].items(): | ||
self.prepare_column( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a deprecation warning when this function is called?
schema=schema, | ||
) | ||
|
||
def prepare_table_columns( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should tests for this. tests/core/test_connector_sql.py
might a good place for that.
ref #2353
📚 Documentation preview 📚: https://meltano-sdk--2354.org.readthedocs.build/en/2354/