This is an automated email from the ASF dual-hosted git repository.

caogaofei pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/1.0 by this push:
     new 5bd4b0b59c [To rel/1.0][IOTDB-5202] Show regions support database sql 
(#8455)
5bd4b0b59c is described below

commit 5bd4b0b59cf7ca45be7aa8817b6236e03128ae63
Author: Itami Sho <[email protected]>
AuthorDate: Wed Dec 14 17:26:51 2022 +0800

    [To rel/1.0][IOTDB-5202] Show regions support database sql (#8455)
---
 antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 
b/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4
index 9ec8a4c9dc..c33bd9c3f9 100644
--- a/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4
+++ b/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4
@@ -346,7 +346,7 @@ showClusterDetails
 
 // Show Region
 showRegion
-    : SHOW (SCHEMA | DATA)? REGIONS (OF STORAGE GROUP prefixPath? (COMMA 
prefixPath)*)?
+    : SHOW (SCHEMA | DATA)? REGIONS (OF (STORAGE GROUP | DATABASE) prefixPath? 
(COMMA prefixPath)*)?
     ;
 
 // Show Data Nodes

Reply via email to