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 12 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 (49c2732) with main (8e8a44f)

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 90.65%. Comparing base (8e8a44f) to head (49c2732).

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


🚨 Try these New Features:

@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
@edgarrmondragon edgarrmondragon modified the milestones: v0.42.0, v0.43.0 Oct 9, 2024
@edgarrmondragon edgarrmondragon removed this from the v0.43 milestone Nov 19, 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