Skip to content
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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

raulbonet
Copy link
Contributor

@raulbonet raulbonet commented Mar 30, 2024

Copy link

codspeed-hq bot commented Mar 30, 2024

CodSpeed Performance Report

Merging #2354 will not alter performance

Comparing raulbonet:rb/2353/prepare_table_columns (526aa3e) with main (b6fa56a)

Summary

✅ 6 untouched benchmarks

Copy link

codecov bot commented Mar 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.67%. Comparing base (b6fa56a) to head (526aa3e).
Report is 2 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@edgarrmondragon edgarrmondragon changed the title feat: prepare_table_columns feat(targets): Added a new prepare_table_columns method to the SQLConnector base class Apr 12, 2024
for property_name, property_def in schema["properties"].items():
self.prepare_column(
Copy link
Collaborator

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(
Copy link
Collaborator

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.

@edgarrmondragon edgarrmondragon added this to the 0.41.0 milestone Aug 14, 2024
@edgarrmondragon edgarrmondragon modified the milestones: v0.41.0, v0.42.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants