Skip to content

fix: constraint parsing, roundtripping #3503

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

Merged
merged 5 commits into from
May 30, 2025

Conversation

ion-elgreco
Copy link
Collaborator

@ion-elgreco ion-elgreco commented May 30, 2025

Description

This reverts #3374

The main issue was in the Display for SqlFormat, so when you would add constraints in delta-rs with backticks or quotes for columns with whitespaces, it wouldn't properly persist when it hits the metadata. The default display for Expr::col is to use the flat name, but we should always use quoted_flat_name

@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate labels May 30, 2025
@ion-elgreco ion-elgreco enabled auto-merge May 30, 2025 17:34
Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.00%. Comparing base (6baef44) to head (9d688f5).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3503      +/-   ##
==========================================
- Coverage   74.04%   74.00%   -0.05%     
==========================================
  Files         148      148              
  Lines       44341    44335       -6     
  Branches    44341    44335       -6     
==========================================
- Hits        32833    32810      -23     
- Misses       9379     9383       +4     
- Partials     2129     2142      +13     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Ion Koutsouris <[email protected]>
Copy link
Collaborator

@roeap roeap left a comment

Choose a reason for hiding this comment

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

Just some minor comment to maybe look at really quick?

Signed-off-by: Ion Koutsouris <[email protected]>
@ion-elgreco ion-elgreco added this pull request to the merge queue May 30, 2025
Merged via the queue into delta-io:main with commit 2f990fe May 30, 2025
29 checks passed
@ion-elgreco ion-elgreco deleted the fix/constraint-parsing branch May 30, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants