Skip to content

Fixed truncate table if exists for snowflake#2166

Merged
iffyio merged 1 commit intoapache:mainfrom
romanoff:fix_truncate_table_if_exists
Jan 22, 2026
Merged

Fixed truncate table if exists for snowflake#2166
iffyio merged 1 commit intoapache:mainfrom
romanoff:fix_truncate_table_if_exists

Conversation

@romanoff
Copy link
Copy Markdown
Contributor

Fixing truncate table if exists for snowflake.
Query example:

TRUNCATE TABLE IF EXISTS table1

Spec: https://docs.snowflake.com/en/sql-reference/sql/truncate-table

Copy link
Copy Markdown
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 @romanoff!

@iffyio iffyio added this pull request to the merge queue Jan 22, 2026
Merged via the queue into apache:main with commit 2cf33de Jan 22, 2026
10 checks passed
ayman-sigma pushed a commit to sigmacomputing/sqlparser-rs that referenced this pull request Feb 3, 2026
fmguerreiro pushed a commit to fmguerreiro/datafusion-sqlparser-rs that referenced this pull request Feb 20, 2026
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