You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2022/12/14 09:26:58 UTC

[iotdb] branch rel/1.0 updated: [To rel/1.0][IOTDB-5202] Show regions support database sql (#8455)

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 <42...@users.noreply.github.com>
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