Skip to content

Conversation

Vedin
Copy link
Contributor

@Vedin Vedin commented Jun 19, 2025

Snowflake treat FETCH in a different way. https://docs.snowflake.com/en/sql-reference/constructs/limit
Most keywords like FIRST/NEXT, ROW/ROWS and ONLY can be skipped.
PERSENT and WITH TIES should cause an error.

@Vedin Vedin force-pushed the fix-snowflake-fetch-clause branch from c5c9f1e to 68d8d87 Compare June 23, 2025 13:14
This reverts commit 50ee50a.
@Vedin Vedin requested a review from iffyio June 23, 2025 13:20
Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @Vedin!
cc @alamb

@iffyio iffyio merged commit 44f3be3 into apache:main Jun 24, 2025
10 checks passed
Vedin added a commit to Embucket/datafusion-sqlparser-rs that referenced this pull request Jun 24, 2025
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.

2 participants