Skip to content

Commit

Permalink
Merge XmlNameSpacesClause to avoid antlr compile exception on local m…
Browse files Browse the repository at this point in the history
…achine
  • Loading branch information
strongduanmu committed Dec 2, 2023
1 parent fa65d5b commit af50ec4
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ groupsClause

xmlIndexXmltableClause
: XMLTABLE identifier (LP_ segmentAttributesClause tableCompression? inmemoryTableClause? tableProperties RP_)?
( xmlNamespacesClause COMMA_)? xQueryString=STRING_ (PASSING identifier)? COLUMNS columnClause (COMMA_ columnClause)*
( xmlNameSpacesClause COMMA_)? xQueryString=STRING_ (PASSING identifier)? COLUMNS columnClause (COMMA_ columnClause)*
;

columnClause
Expand All @@ -534,7 +534,7 @@ alterIndexGroupClause
;

addColumnOptions
: (GROUP identifier)? XMLTABLE identifier (xmlNamespacesClause COMMA_)? COLUMNS columnClause (COMMA_ columnClause)*
: (GROUP identifier)? XMLTABLE identifier (xmlNameSpacesClause COMMA_)? COLUMNS columnClause (COMMA_ columnClause)*
;

dropColumnOptions
Expand All @@ -545,10 +545,6 @@ modifyColumnTypeOptions
: (GROUP identifier)? XMLTABLE identifier COLUMNS identifier identifier (COMMA_ identifier identifier)
;

xmlNamespacesClause
: XMLNAMESPACES LP_ (STRING_ AS identifier | DEFAULT STRING_) (COMMA_ (STRING_ AS identifier | DEFAULT STRING_))* RP_
;

bitmapJoinIndexClause
: tableName columnSortsClause_ FROM tableAlias WHERE expr
;
Expand Down

0 comments on commit af50ec4

Please sign in to comment.