-
Notifications
You must be signed in to change notification settings - Fork 71
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 90.81% 90.65% -0.17%
==========================================
Files 62 62
Lines 5130 5135 +5
Branches 660 661 +1
==========================================
- Hits 4659 4655 -4
- Misses 330 336 +6
- Partials 141 144 +3 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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/