Skip to content

Commit

Permalink
fix(impala): fix alter table change statement (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyFBB committed Jul 8, 2024
1 parent 2b0de6a commit 4a9681e
Show file tree
Hide file tree
Showing 6 changed files with 1,922 additions and 1,930 deletions.
4 changes: 2 additions & 2 deletions src/grammar/impala/ImpalaSqlParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ alterPartitionCache
;

changeColumnDefine
: KW_ALTER KW_TABLE tableNamePath KW_CHANGE KW_COLUMN columnSpecWithKudu
: KW_ALTER KW_TABLE tableNamePath KW_CHANGE columnNamePath columnSpecWithKudu
;

alterDropSingleColumn
Expand Down Expand Up @@ -635,7 +635,7 @@ kuduColumnDefinition
;

columnSpecWithKudu
: columnSpec? (kuduAttributes kuduAttributes*?)?
: columnSpec (kuduAttributes kuduAttributes*?)?
;

createColumnSpecWithKudu
Expand Down
2 changes: 1 addition & 1 deletion src/lib/impala/ImpalaSqlParser.interp

Large diffs are not rendered by default.

Loading

0 comments on commit 4a9681e

Please sign in to comment.