-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add support for TRUNCATE TABLE statement in Delta Lake #18788
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -155,8 +155,7 @@ protected boolean hasBehavior(TestingConnectorBehavior connectorBehavior) | |
| SUPPORTS_RENAME_FIELD, | ||
| SUPPORTS_RENAME_SCHEMA, | ||
| SUPPORTS_SET_COLUMN_TYPE, | ||
| SUPPORTS_TOPN_PUSHDOWN, | ||
| SUPPORTS_TRUNCATE -> false; | ||
| SUPPORTS_TOPN_PUSHDOWN -> false; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this shouldn't use enhanced switch (so that single item modification is a single line change, not two)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh, i see this was recently changed and discussed here #18783 (review) |
||
| default -> super.hasBehavior(connectorBehavior); | ||
| }; | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small note about
MERGEcould be added to https://trino.io/docs/current/connector/delta-lake.html#delta-lake-data-management