-
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?
Changes from 6 commits
d87aedd
799cb21
c53715d
d7b02a9
9dc74f1
4dac0e1
a0277b5
d8607ea
8566458
064b61b
80a9101
009aafb
c2f5fda
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 |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. Please remove this cooment. |
||
: INSTALL PLUGIN FROM pluginSource=expr propertyClause? | ||
; | ||
|
||
propertyClause | ||
: PROPERTIES LP_ expr EQ_ md5sum=expr RP_ | ||
|
||
; | ||
|
||
uninstallComponent | ||
|
@@ -476,3 +482,7 @@ show | |
| showReplicas | ||
| showReplicaStatus | ||
; | ||
|
||
dbManageStatement | ||
: ADMIN CANCEL REBALANCE DISK (ON LP_ backends+=stringLiterals (COMMA_ backends+=stringLiterals) RP_)? | ||
; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,3 +162,10 @@ PERFORMANCE_SCHEMA | |
TOKUDB | ||
: T O K U D B | ||
; | ||
|
||
LTRIM : L T R I M; | ||
RTRIM : R T R I M; | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. Please add new line at the end of file. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. Please remove useless blank line. |
||
<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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your review. I made some optimizations. |
||
</sql-cases> |
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.