Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Iotdb
提交
a9c615db
I
Iotdb
项目概览
apache
/
Iotdb
10 个月 前同步成功
通知
25
Star
3344
Fork
916
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iotdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
a9c615db
编写于
7月 13, 2023
作者:
Z
ZhangHongYin
提交者:
GitHub
7月 13, 2023
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[IOTDB-5134] Fix auth antlr (#10538)
* Fix auth anltr * Fix antlr
上级
e41fd090
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
4 deletion
+10
-4
iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4
...ain/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4
+5
-0
iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlLexer.g4
...lr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlLexer.g4
+0
-4
iotdb-core/node-commons/src/test/java/org/apache/iotdb/commons/path/PartialPathTest.java
...t/java/org/apache/iotdb/commons/path/PartialPathTest.java
+5
-0
未找到文件。
iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4
浏览文件 @
a9c615db
...
...
@@ -71,6 +71,8 @@ keyWords
| CQS
| CREATE
| DATA
| DATA_REPLICATION_FACTOR
| DATA_REGION_GROUP_NUM
| DATABASE
| DATABASES
| DATANODEID
...
...
@@ -185,6 +187,8 @@ keyWords
| ROUND
| RUNNING
| SCHEMA
| SCHEMA_REPLICATION_FACTOR
| SCHEMA_REGION_GROUP_NUM
| SELECT
| SERIESSLOTID
| SESSION
...
...
@@ -210,6 +214,7 @@ keyWords
| TEMPLATES
| THEN
| THROTTLE
| TIME_PARTITION_INTERVAL
| TIMEOUT
| TIMESERIES
| TIMEPARTITION
...
...
iotdb-core/antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlLexer.g4
浏览文件 @
a9c615db
...
...
@@ -967,10 +967,6 @@ MANAGE_DATABASE
: M A N A G E '_' D A T A B A S E
;
SET_STORAGE_GROUP
: S E T '_' S T O R A G E '_' G R O U P
;
SCHEMA_REPLICATION_FACTOR
: S C H E M A '_' R E P L I C A T I O N '_' F A C T O R
;
...
...
iotdb-core/node-commons/src/test/java/org/apache/iotdb/commons/path/PartialPathTest.java
浏览文件 @
a9c615db
...
...
@@ -128,6 +128,11 @@ public class PartialPathTest {
Assert
.
assertEquals
(
"root.sg.abc"
,
t
.
getFullPath
());
nodes
=
new
String
[]
{
"root"
,
"sg"
,
"abc"
};
checkNodes
(
nodes
,
t
.
getNodes
());
PartialPath
u
=
new
PartialPath
(
"root.sg.set_storage_group"
);
Assert
.
assertEquals
(
"root.sg.set_storage_group"
,
u
.
getFullPath
());
nodes
=
new
String
[]
{
"root"
,
"sg"
,
"set_storage_group"
};
checkNodes
(
nodes
,
u
.
getNodes
());
}
@Test
...
...
GitCode官方
@csdn_codechina
mentioned in commit
ec7ddeb6
·
7月 20, 2023
mentioned in commit
ec7ddeb6
mentioned in commit ec7ddeb6fdea623e0e306013326bf2e98e179edd
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录