-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Support parsing Doris sql(#31507) #33316
base: master
Are you sure you want to change the base?
Conversation
; | ||
strrightFunction | ||
: (STRRIGHT | RIGHT) LP_ expr COMMA_ expr RP_ | ||
; |
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.
Please add new line after this systax.
@@ -284,7 +284,13 @@ installComponent | |||
; | |||
|
|||
installPlugin | |||
: INSTALL PLUGIN pluginName SONAME shardLibraryName | |||
// : INSTALL PLUGIN pluginName SONAME shardLibraryName |
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.
Please remove this cooment.
CANCEL : C A N C E L; | ||
REBALANCE : R E B A L A N C E; | ||
STRRIGHT : S T R R I G H T; | ||
YEARWEEK : Y E A R W E E K; |
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.
Please add new line at the end of file.
@@ -20,4 +20,7 @@ | |||
<sql-case id="install_component" value="INSTALL COMPONENT 'file://component1'" db-types="MySQL" /> | |||
<sql-case id="install_components" value="INSTALL COMPONENT 'file://component1', 'file://component2'" db-types="MySQL" /> | |||
<sql-case id="install_plugin" value="INSTALL PLUGIN binlog SONAME 'shared_library_name'" db-types="MySQL" /> | |||
|
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.
Please remove useless blank line.
@@ -20,4 +20,7 @@ | |||
<sql-case id="install_component" value="INSTALL COMPONENT 'file://component1'" db-types="MySQL" /> | |||
<sql-case id="install_components" value="INSTALL COMPONENT 'file://component1', 'file://component2'" db-types="MySQL" /> | |||
<sql-case id="install_plugin" value="INSTALL PLUGIN binlog SONAME 'shared_library_name'" db-types="MySQL" /> | |||
|
|||
<sql-case id="install_plugin_doris" value="INSTALL PLUGIN FROM "http://mywebsite.com/plugin.zip" PROPERTIES( "md5sum " = "73877f6029216f4314d712086a146570 ")" db-types="Doris" /> | |||
|
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.
Please remove useless blank line.
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.
Thank you for your review. I made some optimizations.
Hi @wangyang377, can you solve code conflict? |
of course, I made some optimization. |
Fixes #31507.
Changes proposed in this pull request:
the lead statement is already supported.
Before committing this PR, I'm sure that I have checked the following options:
./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
.