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

Updated test cases for Update DML statement #160

Closed

Conversation

vijaypavann-db
Copy link
Contributor

No description provided.

@vijaypavann-db vijaypavann-db requested a review from a team as a code owner March 4, 2024 07:03
@vijaypavann-db vijaypavann-db linked an issue Mar 4, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.94%. Comparing base (531b17f) to head (dfc9384).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
+ Coverage   95.89%   95.94%   +0.05%     
==========================================
  Files          19       19              
  Lines        1218     1234      +16     
  Branches      197      199       +2     
==========================================
+ Hits         1168     1184      +16     
  Misses         25       25              
  Partials       25       25              

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

Comment on lines +612 to +618
if from_sql:
from_sql = from_sql.replace("FROM", "USING", 1)
where_sql = where_sql.replace("WHERE", "ON")

expression_sql = f"{from_sql}{where_sql}{returning}"

if from_sql:
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor ask: Can we combine the two if from_sql checks in 1 single block?

@sundarshankar89
Copy link
Collaborator

@vijaypavann-db close if this is duplicate

@vijaypavann-db
Copy link
Contributor Author

Merged as part of the PR #198

@vijaypavann-db vijaypavann-db deleted the feature/151-support-snowflake-update-from branch April 2, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Snowflake UPDATE FROM
3 participants