Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
07892f0f
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
07892f0f
编写于
4月 07, 2022
作者:
X
Xiaoyu Wang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
sort plan bugfix
上级
ef7d7843
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
948 addition
and
938 deletion
+948
-938
include/common/ttokendef.h
include/common/ttokendef.h
+44
-44
source/libs/parser/inc/sql.y
source/libs/parser/inc/sql.y
+2
-0
source/libs/parser/src/sql.c
source/libs/parser/src/sql.c
+902
-894
未找到文件。
include/common/ttokendef.h
浏览文件 @
07892f0f
...
...
@@ -173,50 +173,50 @@
#define TK_SPLIT 155
#define TK_SYNCDB 156
#define TK_NULL 157
#define TK_
NOW
158
#define TK_
ROWTS
159
#define TK_
TBNAME
160
#define TK_
QSTARTTS
161
#define TK_
QENDTS
162
#define TK_
W
STARTTS 163
#define TK_
W
ENDTS 164
#define TK_W
DURATION
165
#define TK_
BETWEEN
166
#define TK_
IS
167
#define TK_
NK_LT
168
#define TK_
NK_GT
169
#define TK_NK_L
E
170
#define TK_NK_G
E
171
#define TK_NK_
N
E 172
#define TK_
MATCH
173
#define TK_N
MATCH
174
#define TK_
JOIN
175
#define TK_
INNER
176
#define TK_
SELECT
177
#define TK_
DISTINCT
178
#define TK_
WHERE
179
#define TK_
PARTITION
180
#define TK_
BY
181
#define TK_
SESSION
182
#define TK_
STATE_WINDOW
183
#define TK_S
LIDING
184
#define TK_
FILL
185
#define TK_
VALUE
186
#define TK_
NONE
187
#define TK_
PREV
188
#define TK_
LINEAR
189
#define TK_
NEXT
190
#define TK_
GROUP
191
#define TK_
HAVING
192
#define TK_
ORDER
193
#define TK_
SLIMIT
194
#define TK_
SOFFSET
195
#define TK_
LIMIT
196
#define TK_
OFFSET
197
#define TK_
ASC
198
#define TK_
NULLS
199
#define TK_
FIRST
200
#define TK_
LAST
201
#define TK_
FIRST
158
#define TK_
LAST
159
#define TK_
NOW
160
#define TK_
ROWTS
161
#define TK_
TBNAME
162
#define TK_
Q
STARTTS 163
#define TK_
Q
ENDTS 164
#define TK_W
STARTTS
165
#define TK_
WENDTS
166
#define TK_
WDURATION
167
#define TK_
BETWEEN
168
#define TK_
IS
169
#define TK_NK_L
T
170
#define TK_NK_G
T
171
#define TK_NK_
L
E 172
#define TK_
NK_GE
173
#define TK_N
K_NE
174
#define TK_
MATCH
175
#define TK_
NMATCH
176
#define TK_
JOIN
177
#define TK_
INNER
178
#define TK_
SELECT
179
#define TK_
DISTINCT
180
#define TK_
WHERE
181
#define TK_
PARTITION
182
#define TK_
BY
183
#define TK_S
ESSION
184
#define TK_
STATE_WINDOW
185
#define TK_
SLIDING
186
#define TK_
FILL
187
#define TK_
VALUE
188
#define TK_
NONE
189
#define TK_
PREV
190
#define TK_
LINEAR
191
#define TK_
NEXT
192
#define TK_
GROUP
193
#define TK_
HAVING
194
#define TK_
ORDER
195
#define TK_
SLIMIT
196
#define TK_
SOFFSET
197
#define TK_
LIMIT
198
#define TK_
OFFSET
199
#define TK_
ASC
200
#define TK_
NULLS
201
#define TK_NK_SPACE 300
#define TK_NK_COMMENT 301
...
...
source/libs/parser/inc/sql.y
浏览文件 @
07892f0f
...
...
@@ -486,6 +486,8 @@ column_name(A) ::= NK_ID(B).
%type function_name { SToken }
%destructor function_name { }
function_name(A) ::= NK_ID(B). { A = B; }
function_name(A) ::= FIRST(B). { A = B; }
function_name(A) ::= LAST(B). { A = B; }
%type table_alias { SToken }
%destructor table_alias { }
...
...
source/libs/parser/src/sql.c
浏览文件 @
07892f0f
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录