forked from delta-io/delta
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Spark][3.2] Fix dropping type widening feature with multipart identi…
…fiers (delta-io#3036) ## Description Fix an issue found while testing the Delta 3.2 RC2: Dropping the type widening table feature may fail parsing the table identifier: ``` ALTER TABLE default.type_widening_int DROP FEATURE 'typeWidening-preview' TRUNCATE HISTORY; [PARSE_SYNTAX_ERROR] Syntax error at or near '.'.(line 1, pos 21) == SQL == spark_catalog.default.type_widening_int ``` Parsing the table identifier isn't needed as it's not used by the REORG operation that rewrite files when dropping the feature. This change skip parsing the table identifier and directly passes the table name to the REORG command ## How was this patch tested? Added test covering the issue
- Loading branch information
Showing
2 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters