Skip to content

Add support for boolean expressions and quoted columns#1286

Merged
Fokko merged 4 commits intoapache:mainfrom
MoSheikh:main
Nov 6, 2024
Merged

Add support for boolean expressions and quoted columns#1286
Fokko merged 4 commits intoapache:mainfrom
MoSheikh:main

Conversation

@MoSheikh
Copy link
Copy Markdown
Contributor

@MoSheikh MoSheikh commented Nov 4, 2024

Currently, row_filter expressions involving a boolean expression fail. This pull adds in the already-defined boolean literals as part of the list of parsed literals.

In addition, identifiers can now be defined with double quotes (") as part of the SQL spec.

Copy link
Copy Markdown
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

@MoSheikh Thanks for raising this PR. I wasn't aware of this limitation. Thanks for fixing this

@MoSheikh
Copy link
Copy Markdown
Contributor Author

MoSheikh commented Nov 5, 2024

No problem, appreciate the team's work. And thank you for the quick turnaround.

@MoSheikh
Copy link
Copy Markdown
Contributor Author

MoSheikh commented Nov 6, 2024

@Fokko Not to rush, but was wondering was the timeline typically is for a fix like this to get merged in and released? Thank you :)

@kevinjqliu
Copy link
Copy Markdown
Contributor

we're in the process of releasing 0.8. We could include this PR

@MoSheikh
Copy link
Copy Markdown
Contributor Author

MoSheikh commented Nov 6, 2024

we're in the process of releasing 0.8. We could include this PR

Would appreciate that, thank you! I just removed that comment I missed.

@Fokko Fokko requested a review from kevinjqliu November 6, 2024 20:19
@Fokko Fokko merged commit e9c3170 into apache:main Nov 6, 2024
@kevinjqliu kevinjqliu added this to the PyIceberg 0.8.0 release milestone Nov 6, 2024
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* Add support for boolean expressions and quoted columns

* Add AlwaysTrue & AlwaysFalse support plus tests

* Add test for quoted column

* Remove commented code

---------

Co-authored-by: Mohammad Sheikh <mohammad.sheikh@imc.com>
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* Add support for boolean expressions and quoted columns

* Add AlwaysTrue & AlwaysFalse support plus tests

* Add test for quoted column

* Remove commented code

---------

Co-authored-by: Mohammad Sheikh <mohammad.sheikh@imc.com>
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.

4 participants