You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/06/03 14:20:17 UTC
[incubator-doris] 03/03: [fix] fix grammar of ADMIN SHOW TABLET STORAGE FORMAT stmt (#9938)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit a4252467c4c32801dbd94b5f2e19b96776f4f650
Author: jacktengg <18...@users.noreply.github.com>
AuthorDate: Fri Jun 3 17:49:34 2022 +0800
[fix] fix grammar of ADMIN SHOW TABLET STORAGE FORMAT stmt (#9938)
---
fe/fe-core/src/main/cup/sql_parser.cup | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fe/fe-core/src/main/cup/sql_parser.cup b/fe/fe-core/src/main/cup/sql_parser.cup
index 5098d332fa..ce45f1cf56 100644
--- a/fe/fe-core/src/main/cup/sql_parser.cup
+++ b/fe/fe-core/src/main/cup/sql_parser.cup
@@ -5285,11 +5285,11 @@ admin_stmt ::=
{:
RESULT = new AdminDiagnoseTabletStmt(tabletId);
:}
- | KW_ADMIN KW_TABLET KW_STORAGE KW_FORMAT
+ | KW_ADMIN KW_SHOW KW_TABLET KW_STORAGE KW_FORMAT
{:
RESULT = new AdminShowTabletStorageFormatStmt(false);
:}
- | KW_ADMIN KW_TABLET KW_STORAGE KW_FORMAT KW_VERBOSE
+ | KW_ADMIN KW_SHOW KW_TABLET KW_STORAGE KW_FORMAT KW_VERBOSE
{:
RESULT = new AdminShowTabletStorageFormatStmt(true);
:}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org