提交 eaa8e7f5 编写于 作者: G Ganlin Zhao

[TD-11216]<feature>: Time window related keywords

上级 ea3dae40
...@@ -81,8 +81,9 @@ extern "C" { ...@@ -81,8 +81,9 @@ extern "C" {
#define TSDB_FUNC_UNIQUE 39 #define TSDB_FUNC_UNIQUE 39
#define TSDB_FUNC_MODE 40 #define TSDB_FUNC_MODE 40
#define TSDB_FUNC_TAIL 41 #define TSDB_FUNC_TAIL 41
#define TSDB_FUNC_TSWIN 42
#define TSDB_FUNC_MAX_NUM 42 #define TSDB_FUNC_MAX_NUM 43
#define TSDB_FUNCSTATE_SO 0x1u // single output #define TSDB_FUNCSTATE_SO 0x1u // single output
#define TSDB_FUNCSTATE_MO 0x2u // dynamic number of output, not multinumber of output e.g., TOP/BOTTOM #define TSDB_FUNCSTATE_MO 0x2u // dynamic number of output, not multinumber of output e.g., TOP/BOTTOM
......
...@@ -5647,8 +5647,8 @@ int32_t functionCompatList[] = { ...@@ -5647,8 +5647,8 @@ int32_t functionCompatList[] = {
1, 1, 1, 1, -1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 5, 1, 1,
// tid_tag, deriv, csum, mavg, sample, // tid_tag, deriv, csum, mavg, sample,
6, 8, -1, -1, -1, 6, 8, -1, -1, -1,
// block_info,elapsed,histogram,unique,mode,tail // block_info,elapsed,histogram,unique,mode, tail, tswin
7, 1, -1, -1, 1, -1 7, 1, -1, -1, 1, -1, 1
}; };
SAggFunctionInfo aAggs[TSDB_FUNC_MAX_NUM] = {{ SAggFunctionInfo aAggs[TSDB_FUNC_MAX_NUM] = {{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册