Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
4dc3d88b
TDengine
项目概览
taosdata
/
TDengine
大约 2 年 前同步成功
通知
1192
Star
22018
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4dc3d88b
编写于
7月 30, 2022
作者:
sangshuduo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch '3.0' into feat/sangshuduo/TD-14141-update-taostools-for3.0
上级
6048ae76
fc1469db
变更
131
展开全部
显示空白变更内容
内联
并排
Showing
131 changed file
with
2818 addition
and
2860 deletion
+2818
-2860
.gitmodules
.gitmodules
+0
-12
Jenkinsfile2
Jenkinsfile2
+2
-0
cmake/cmake.options
cmake/cmake.options
+6
-0
cmake/rust-bindings_CMakeLists.txt.in
cmake/rust-bindings_CMakeLists.txt.in
+12
-0
contrib/CMakeLists.txt
contrib/CMakeLists.txt
+23
-0
examples/rust
examples/rust
+0
-1
include/libs/executor/executor.h
include/libs/executor/executor.h
+1
-1
source/common/src/tdatablock.c
source/common/src/tdatablock.c
+0
-56
source/common/src/tmisce.c
source/common/src/tmisce.c
+77
-0
source/common/src/tname.c
source/common/src/tname.c
+0
-28
source/dnode/vnode/src/vnd/vnodeSvr.c
source/dnode/vnode/src/vnd/vnodeSvr.c
+1
-1
source/libs/executor/inc/executorimpl.h
source/libs/executor/inc/executorimpl.h
+2
-4
source/libs/executor/src/executor.c
source/libs/executor/src/executor.c
+2
-4
source/libs/executor/src/executorimpl.c
source/libs/executor/src/executorimpl.c
+12
-25
source/libs/executor/src/groupoperator.c
source/libs/executor/src/groupoperator.c
+9
-4
source/libs/function/src/builtins.c
source/libs/function/src/builtins.c
+3
-3
source/libs/qworker/inc/qwMsg.h
source/libs/qworker/inc/qwMsg.h
+1
-1
source/libs/qworker/src/qwMsg.c
source/libs/qworker/src/qwMsg.c
+4
-4
source/libs/qworker/src/qworker.c
source/libs/qworker/src/qworker.c
+10
-4
source/libs/sync/src/syncAppendEntries.c
source/libs/sync/src/syncAppendEntries.c
+0
-59
tests/system-test/0-others/cachemodel.py
tests/system-test/0-others/cachemodel.py
+12
-12
tests/system-test/0-others/sysinfo.py
tests/system-test/0-others/sysinfo.py
+4
-4
tests/system-test/0-others/taosShell.py
tests/system-test/0-others/taosShell.py
+23
-23
tests/system-test/0-others/taosShellError.py
tests/system-test/0-others/taosShellError.py
+16
-16
tests/system-test/0-others/taosShellNetChk.py
tests/system-test/0-others/taosShellNetChk.py
+8
-8
tests/system-test/0-others/taosdMonitor.py
tests/system-test/0-others/taosdMonitor.py
+19
-19
tests/system-test/0-others/telemetry.py
tests/system-test/0-others/telemetry.py
+8
-8
tests/system-test/0-others/udfTest.py
tests/system-test/0-others/udfTest.py
+1
-1
tests/system-test/0-others/udf_cfg1.py
tests/system-test/0-others/udf_cfg1.py
+1
-1
tests/system-test/0-others/udf_cfg2.py
tests/system-test/0-others/udf_cfg2.py
+1
-1
tests/system-test/0-others/udf_cluster.py
tests/system-test/0-others/udf_cluster.py
+26
-26
tests/system-test/0-others/udf_create.py
tests/system-test/0-others/udf_create.py
+1
-1
tests/system-test/6-cluster/5dnode1mnode.py
tests/system-test/6-cluster/5dnode1mnode.py
+14
-14
tests/system-test/6-cluster/5dnode2mnode.py
tests/system-test/6-cluster/5dnode2mnode.py
+10
-10
tests/system-test/6-cluster/5dnode3mnodeAdd1Ddnoe.py
tests/system-test/6-cluster/5dnode3mnodeAdd1Ddnoe.py
+15
-15
tests/system-test/6-cluster/5dnode3mnodeDrop.py
tests/system-test/6-cluster/5dnode3mnodeDrop.py
+28
-28
tests/system-test/6-cluster/5dnode3mnodeDropInsert.py
tests/system-test/6-cluster/5dnode3mnodeDropInsert.py
+36
-36
tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py
tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py
+15
-15
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertData.py
...stem-test/6-cluster/5dnode3mnodeRestartDnodeInsertData.py
+14
-14
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
...test/6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
+15
-15
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
...-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
+14
-14
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
...test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
+14
-14
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeInsertData.py
...est/6-cluster/5dnode3mnodeSep1VnodeStopDnodeInsertData.py
+15
-15
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
...-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
+14
-14
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py
...t/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py
+15
-15
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
...test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
+15
-15
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
...-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
+13
-13
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
...test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
+18
-18
tests/system-test/6-cluster/5dnode3mnodeSeperate1VnodeStopInsert.py
...em-test/6-cluster/5dnode3mnodeSeperate1VnodeStopInsert.py
+29
-29
tests/system-test/6-cluster/5dnode3mnodeStop.py
tests/system-test/6-cluster/5dnode3mnodeStop.py
+7
-7
tests/system-test/6-cluster/5dnode3mnodeStop2Follower.py
tests/system-test/6-cluster/5dnode3mnodeStop2Follower.py
+8
-8
tests/system-test/6-cluster/5dnode3mnodeStopConnect.py
tests/system-test/6-cluster/5dnode3mnodeStopConnect.py
+13
-13
tests/system-test/6-cluster/5dnode3mnodeStopFollowerLeader.py
...s/system-test/6-cluster/5dnode3mnodeStopFollowerLeader.py
+9
-9
tests/system-test/6-cluster/5dnode3mnodeStopInsert.py
tests/system-test/6-cluster/5dnode3mnodeStopInsert.py
+33
-33
tests/system-test/6-cluster/5dnode3mnodeStopLoop.py
tests/system-test/6-cluster/5dnode3mnodeStopLoop.py
+9
-9
tests/system-test/6-cluster/clusterCommonCheck.py
tests/system-test/6-cluster/clusterCommonCheck.py
+14
-14
tests/system-test/6-cluster/clusterCommonCreate.py
tests/system-test/6-cluster/clusterCommonCreate.py
+17
-17
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py
...t/6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py
+4
-4
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py
...-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py
+7
-7
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py
...-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py
+7
-7
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py
...de1mnode_basic_replica3_insertdatas_stop_follower_sync.py
+41
-41
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py
...1mnode_basic_replica3_insertdatas_stop_follower_unsync.py
+42
-42
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py
...c_replica3_insertdatas_stop_follower_unsync_force_stop.py
+43
-43
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
...de/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
+23
-23
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py
...ode_basic_replica3_insertdatas_stop_leader_forece_stop.py
+49
-49
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
...e/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
+31
-31
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py
...ode_basic_replica3_querydatas_stop_follower_force_stop.py
+31
-31
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
...ode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
+39
-39
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py
...mnode_basic_replica3_querydatas_stop_leader_force_stop.py
+39
-39
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
...st/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
+14
-14
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
...ster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
+30
-30
tests/system-test/7-tmq/basic5.py
tests/system-test/7-tmq/basic5.py
+68
-68
tests/system-test/7-tmq/dataFromTsdbNWal-multiCtb.py
tests/system-test/7-tmq/dataFromTsdbNWal-multiCtb.py
+30
-30
tests/system-test/7-tmq/dataFromTsdbNWal.py
tests/system-test/7-tmq/dataFromTsdbNWal.py
+28
-28
tests/system-test/7-tmq/db.py
tests/system-test/7-tmq/db.py
+26
-26
tests/system-test/7-tmq/dropDbR3ConflictTransaction.py
tests/system-test/7-tmq/dropDbR3ConflictTransaction.py
+15
-15
tests/system-test/7-tmq/schema.py
tests/system-test/7-tmq/schema.py
+57
-57
tests/system-test/7-tmq/stbFilter.py
tests/system-test/7-tmq/stbFilter.py
+16
-16
tests/system-test/7-tmq/stbTagFilter-1ctb.py
tests/system-test/7-tmq/stbTagFilter-1ctb.py
+29
-29
tests/system-test/7-tmq/stbTagFilter-multiCtb.py
tests/system-test/7-tmq/stbTagFilter-multiCtb.py
+29
-29
tests/system-test/7-tmq/subscribeDb.py
tests/system-test/7-tmq/subscribeDb.py
+45
-45
tests/system-test/7-tmq/subscribeDb0.py
tests/system-test/7-tmq/subscribeDb0.py
+27
-27
tests/system-test/7-tmq/subscribeDb1.py
tests/system-test/7-tmq/subscribeDb1.py
+29
-29
tests/system-test/7-tmq/subscribeDb2.py
tests/system-test/7-tmq/subscribeDb2.py
+26
-26
tests/system-test/7-tmq/subscribeDb3.py
tests/system-test/7-tmq/subscribeDb3.py
+27
-27
tests/system-test/7-tmq/subscribeDb4.py
tests/system-test/7-tmq/subscribeDb4.py
+9
-9
tests/system-test/7-tmq/subscribeStb.py
tests/system-test/7-tmq/subscribeStb.py
+23
-23
tests/system-test/7-tmq/subscribeStb0.py
tests/system-test/7-tmq/subscribeStb0.py
+30
-30
tests/system-test/7-tmq/subscribeStb1.py
tests/system-test/7-tmq/subscribeStb1.py
+23
-23
tests/system-test/7-tmq/subscribeStb2.py
tests/system-test/7-tmq/subscribeStb2.py
+25
-25
tests/system-test/7-tmq/subscribeStb3.py
tests/system-test/7-tmq/subscribeStb3.py
+36
-36
tests/system-test/7-tmq/subscribeStb4.py
tests/system-test/7-tmq/subscribeStb4.py
+23
-23
tests/system-test/7-tmq/tmq3mnodeSwitch.py
tests/system-test/7-tmq/tmq3mnodeSwitch.py
+26
-26
tests/system-test/7-tmq/tmqAlterSchema.py
tests/system-test/7-tmq/tmqAlterSchema.py
+31
-31
tests/system-test/7-tmq/tmqAutoCreateTbl.py
tests/system-test/7-tmq/tmqAutoCreateTbl.py
+20
-20
tests/system-test/7-tmq/tmqCheckData.py
tests/system-test/7-tmq/tmqCheckData.py
+15
-15
tests/system-test/7-tmq/tmqCheckData1.py
tests/system-test/7-tmq/tmqCheckData1.py
+14
-14
tests/system-test/7-tmq/tmqCommon.py
tests/system-test/7-tmq/tmqCommon.py
+39
-39
tests/system-test/7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py
tests/system-test/7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py
+33
-33
tests/system-test/7-tmq/tmqConsFromTsdb-1ctb.py
tests/system-test/7-tmq/tmqConsFromTsdb-1ctb.py
+33
-33
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py
...est/7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py
+25
-25
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py
+25
-25
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg.py
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg.py
+25
-25
tests/system-test/7-tmq/tmqConsFromTsdb.py
tests/system-test/7-tmq/tmqConsFromTsdb.py
+25
-25
tests/system-test/7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py
tests/system-test/7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py
+22
-22
tests/system-test/7-tmq/tmqConsFromTsdb1-1ctb.py
tests/system-test/7-tmq/tmqConsFromTsdb1-1ctb.py
+22
-22
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py
...st/7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py
+21
-21
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py
+22
-22
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg.py
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg.py
+22
-22
tests/system-test/7-tmq/tmqConsFromTsdb1.py
tests/system-test/7-tmq/tmqConsFromTsdb1.py
+22
-22
tests/system-test/7-tmq/tmqConsumerGroup.py
tests/system-test/7-tmq/tmqConsumerGroup.py
+9
-9
tests/system-test/7-tmq/tmqDelete-1ctb.py
tests/system-test/7-tmq/tmqDelete-1ctb.py
+66
-66
tests/system-test/7-tmq/tmqDelete-multiCtb.py
tests/system-test/7-tmq/tmqDelete-multiCtb.py
+67
-67
tests/system-test/7-tmq/tmqDnode.py
tests/system-test/7-tmq/tmqDnode.py
+27
-27
tests/system-test/7-tmq/tmqDnodeRestart.py
tests/system-test/7-tmq/tmqDnodeRestart.py
+15
-15
tests/system-test/7-tmq/tmqDropNtb-snapshot0.py
tests/system-test/7-tmq/tmqDropNtb-snapshot0.py
+31
-31
tests/system-test/7-tmq/tmqDropNtb-snapshot1.py
tests/system-test/7-tmq/tmqDropNtb-snapshot1.py
+31
-31
tests/system-test/7-tmq/tmqDropStb.py
tests/system-test/7-tmq/tmqDropStb.py
+14
-14
tests/system-test/7-tmq/tmqDropStbCtb.py
tests/system-test/7-tmq/tmqDropStbCtb.py
+38
-38
tests/system-test/7-tmq/tmqError.py
tests/system-test/7-tmq/tmqError.py
+21
-21
tests/system-test/7-tmq/tmqModule.py
tests/system-test/7-tmq/tmqModule.py
+82
-82
tests/system-test/7-tmq/tmqSubscribeStb-r3.py
tests/system-test/7-tmq/tmqSubscribeStb-r3.py
+32
-32
tests/system-test/7-tmq/tmqUdf-multCtb-snapshot0.py
tests/system-test/7-tmq/tmqUdf-multCtb-snapshot0.py
+29
-29
tests/system-test/7-tmq/tmqUdf-multCtb-snapshot1.py
tests/system-test/7-tmq/tmqUdf-multCtb-snapshot1.py
+29
-29
tests/system-test/7-tmq/tmqUdf.py
tests/system-test/7-tmq/tmqUdf.py
+29
-29
tests/system-test/7-tmq/tmqUpdate-1ctb.py
tests/system-test/7-tmq/tmqUpdate-1ctb.py
+31
-31
tests/system-test/7-tmq/tmqUpdate-multiCtb-snapshot0.py
tests/system-test/7-tmq/tmqUpdate-multiCtb-snapshot0.py
+31
-31
tests/system-test/7-tmq/tmqUpdate-multiCtb-snapshot1.py
tests/system-test/7-tmq/tmqUpdate-multiCtb-snapshot1.py
+31
-31
tests/system-test/7-tmq/tmqUpdate-multiCtb.py
tests/system-test/7-tmq/tmqUpdate-multiCtb.py
+31
-31
tests/system-test/7-tmq/tmqUpdateWithConsume.py
tests/system-test/7-tmq/tmqUpdateWithConsume.py
+19
-19
tests/test/c/sml_test.c
tests/test/c/sml_test.c
+3
-3
未找到文件。
.gitmodules
已删除
100644 → 0
浏览文件 @
6048ae76
[submodule "src/connector/go"]
path = src/connector/go
url = git@github.com:taosdata/driver-go.git
[submodule "src/connector/hivemq-tdengine-extension"]
path = src/connector/hivemq-tdengine-extension
url = git@github.com:taosdata/hivemq-tdengine-extension.git
[submodule "deps/TSZ"]
path = deps/TSZ
url = https://github.com/taosdata/TSZ.git
[submodule "examples/rust"]
path = examples/rust
url = https://github.com/songtianyi/tdengine-rust-bindings.git
Jenkinsfile2
浏览文件 @
4dc3d88b
...
@@ -118,6 +118,7 @@ def pre_test(){
...
@@ -118,6 +118,7 @@ def pre_test(){
git rm --cached tools/taos-tools 2>/dev/null || :
git rm --cached tools/taos-tools 2>/dev/null || :
git rm --cached tools/taosadapter 2>/dev/null || :
git rm --cached tools/taosadapter 2>/dev/null || :
git rm --cached tools/taosws-rs 2>/dev/null || :
git rm --cached tools/taosws-rs 2>/dev/null || :
git rm --cached examples/rust 2>/dev/null || :
'''
'''
sh '''
sh '''
cd ${WKC}
cd ${WKC}
...
@@ -269,6 +270,7 @@ def pre_test_win(){
...
@@ -269,6 +270,7 @@ def pre_test_win(){
git rm --cached tools/taos-tools 2>nul
git rm --cached tools/taos-tools 2>nul
git rm --cached tools/taosadapter 2>nul
git rm --cached tools/taosadapter 2>nul
git rm --cached tools/taosws-rs 2>nul
git rm --cached tools/taosws-rs 2>nul
git rm --cached examples/rust 2>nul
exit 0
exit 0
'''
'''
bat '''
bat '''
...
...
cmake/cmake.options
浏览文件 @
4dc3d88b
...
@@ -90,6 +90,12 @@ ELSE ()
...
@@ -90,6 +90,12 @@ ELSE ()
ENDIF ()
ENDIF ()
ENDIF ()
ENDIF ()
option(
RUST_BINDINGS
"If build with rust-bindings"
ON
)
option(
option(
JEMALLOC_ENABLED
JEMALLOC_ENABLED
"If build with jemalloc"
"If build with jemalloc"
...
...
cmake/rust-bindings_CMakeLists.txt.in
0 → 100644
浏览文件 @
4dc3d88b
# rust-bindings
ExternalProject_Add(rust-bindings
GIT_REPOSITORY https://github.com/songtianyi/tdengine-rust-bindings.git
GIT_TAG 7ed7a97
SOURCE_DIR "${TD_SOURCE_DIR}/examples/rust"
BINARY_DIR "${TD_SOURCE_DIR}/examples/rust"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)
contrib/CMakeLists.txt
浏览文件 @
4dc3d88b
...
@@ -105,6 +105,11 @@ if(${BUILD_WITH_SQLITE})
...
@@ -105,6 +105,11 @@ if(${BUILD_WITH_SQLITE})
cat
(
"
${
TD_SUPPORT_DIR
}
/sqlite_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
cat
(
"
${
TD_SUPPORT_DIR
}
/sqlite_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
endif
(
${
BUILD_WITH_SQLITE
}
)
endif
(
${
BUILD_WITH_SQLITE
}
)
# rust-bindings
if
(
${
RUST_BINDINGS
}
)
cat
(
"
${
TD_SUPPORT_DIR
}
/rust-bindings_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
endif
(
${
RUST_BINDINGS
}
)
# lucene
# lucene
if
(
${
BUILD_WITH_LUCENE
}
)
if
(
${
BUILD_WITH_LUCENE
}
)
cat
(
"
${
TD_SUPPORT_DIR
}
/lucene_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
cat
(
"
${
TD_SUPPORT_DIR
}
/lucene_CMakeLists.txt.in"
${
CONTRIB_TMP_FILE
}
)
...
@@ -136,6 +141,24 @@ execute_process(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
...
@@ -136,6 +141,24 @@ execute_process(COMMAND "${CMAKE_COMMAND}" -G "${CMAKE_GENERATOR}" .
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
--build .
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
--build .
WORKING_DIRECTORY
"
${
TD_CONTRIB_DIR
}
/deps-download"
)
WORKING_DIRECTORY
"
${
TD_CONTRIB_DIR
}
/deps-download"
)
# clear submodule
execute_process
(
COMMAND git submodule deinit -f tools/taos-tools
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git rm --cached tools/taos-tools
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git submodule deinit -f tools/taosadapter
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git rm --cached tools/taosadapter
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git submodule deinit -f tools/taosws-rs
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git rm --cached tools/taosws-rs
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git submodule deinit -f examples/rust
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
execute_process
(
COMMAND git rm --cached examples/rust
WORKING_DIRECTORY
"
${
TD_SOURCE_DIR
}
"
)
# ================================================================================================
# ================================================================================================
# Build
# Build
# ================================================================================================
# ================================================================================================
...
...
rust
@
7ed7a977
比较
7ed7a977
...
7ed7a977
Subproject commit 7ed7a97715388fa144718764d6bf20f9bfc29a12
include/libs/executor/executor.h
浏览文件 @
4dc3d88b
...
@@ -155,7 +155,7 @@ int32_t qGetQualifiedTableIdList(void* pTableList, const char* tagCond, int32_t
...
@@ -155,7 +155,7 @@ int32_t qGetQualifiedTableIdList(void* pTableList, const char* tagCond, int32_t
void
qProcessRspMsg
(
void
*
parent
,
struct
SRpcMsg
*
pMsg
,
struct
SEpSet
*
pEpSet
);
void
qProcessRspMsg
(
void
*
parent
,
struct
SRpcMsg
*
pMsg
,
struct
SEpSet
*
pEpSet
);
int32_t
qGetExplainExecInfo
(
qTaskInfo_t
tinfo
,
int32_t
*
resNum
,
SExplainExecInfo
**
pRes
);
int32_t
qGetExplainExecInfo
(
qTaskInfo_t
tinfo
,
SArray
*
pExecInfoList
/*,int32_t* resNum, SExplainExecInfo** pRes*/
);
int32_t
qSerializeTaskStatus
(
qTaskInfo_t
tinfo
,
char
**
pOutput
,
int32_t
*
len
);
int32_t
qSerializeTaskStatus
(
qTaskInfo_t
tinfo
,
char
**
pOutput
,
int32_t
*
len
);
...
...
source/common/src/tdatablock.c
浏览文件 @
4dc3d88b
...
@@ -16,65 +16,9 @@
...
@@ -16,65 +16,9 @@
#define _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#include "tdatablock.h"
#include "tdatablock.h"
#include "tcompare.h"
#include "tcompare.h"
#include "tglobal.h"
#include "tlog.h"
#include "tlog.h"
#include "tname.h"
#include "tname.h"
int32_t
taosGetFqdnPortFromEp
(
const
char
*
ep
,
SEp
*
pEp
)
{
pEp
->
port
=
0
;
strcpy
(
pEp
->
fqdn
,
ep
);
char
*
temp
=
strchr
(
pEp
->
fqdn
,
':'
);
if
(
temp
)
{
*
temp
=
0
;
pEp
->
port
=
atoi
(
temp
+
1
);
}
if
(
pEp
->
port
==
0
)
{
pEp
->
port
=
tsServerPort
;
}
return
0
;
}
void
addEpIntoEpSet
(
SEpSet
*
pEpSet
,
const
char
*
fqdn
,
uint16_t
port
)
{
if
(
pEpSet
==
NULL
||
fqdn
==
NULL
||
strlen
(
fqdn
)
==
0
)
{
return
;
}
int32_t
index
=
pEpSet
->
numOfEps
;
tstrncpy
(
pEpSet
->
eps
[
index
].
fqdn
,
fqdn
,
tListLen
(
pEpSet
->
eps
[
index
].
fqdn
));
pEpSet
->
eps
[
index
].
port
=
port
;
pEpSet
->
numOfEps
+=
1
;
}
bool
isEpsetEqual
(
const
SEpSet
*
s1
,
const
SEpSet
*
s2
)
{
if
(
s1
->
numOfEps
!=
s2
->
numOfEps
||
s1
->
inUse
!=
s2
->
inUse
)
{
return
false
;
}
for
(
int32_t
i
=
0
;
i
<
s1
->
numOfEps
;
i
++
)
{
if
(
s1
->
eps
[
i
].
port
!=
s2
->
eps
[
i
].
port
||
strncmp
(
s1
->
eps
[
i
].
fqdn
,
s2
->
eps
[
i
].
fqdn
,
TSDB_FQDN_LEN
)
!=
0
)
return
false
;
}
return
true
;
}
void
updateEpSet_s
(
SCorEpSet
*
pEpSet
,
SEpSet
*
pNewEpSet
)
{
taosCorBeginWrite
(
&
pEpSet
->
version
);
pEpSet
->
epSet
=
*
pNewEpSet
;
taosCorEndWrite
(
&
pEpSet
->
version
);
}
SEpSet
getEpSet_s
(
SCorEpSet
*
pEpSet
)
{
SEpSet
ep
=
{
0
};
taosCorBeginRead
(
&
pEpSet
->
version
);
ep
=
pEpSet
->
epSet
;
taosCorEndRead
(
&
pEpSet
->
version
);
return
ep
;
}
int32_t
colDataGetLength
(
const
SColumnInfoData
*
pColumnInfoData
,
int32_t
numOfRows
)
{
int32_t
colDataGetLength
(
const
SColumnInfoData
*
pColumnInfoData
,
int32_t
numOfRows
)
{
ASSERT
(
pColumnInfoData
!=
NULL
);
ASSERT
(
pColumnInfoData
!=
NULL
);
if
(
IS_VAR_DATA_TYPE
(
pColumnInfoData
->
info
.
type
))
{
if
(
IS_VAR_DATA_TYPE
(
pColumnInfoData
->
info
.
type
))
{
...
...
source/common/src/tmisce.c
0 → 100644
浏览文件 @
4dc3d88b
/*
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
*
* This program is free software: you can use, redistribute, and/or modify
* it under the terms of the GNU Affero General Public License, version 3
* or later ("AGPL"), as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "tdatablock.h"
#include "tglobal.h"
#include "tlog.h"
#include "tname.h"
int32_t
taosGetFqdnPortFromEp
(
const
char
*
ep
,
SEp
*
pEp
)
{
pEp
->
port
=
0
;
strcpy
(
pEp
->
fqdn
,
ep
);
char
*
temp
=
strchr
(
pEp
->
fqdn
,
':'
);
if
(
temp
)
{
*
temp
=
0
;
pEp
->
port
=
atoi
(
temp
+
1
);
}
if
(
pEp
->
port
==
0
)
{
pEp
->
port
=
tsServerPort
;
}
return
0
;
}
void
addEpIntoEpSet
(
SEpSet
*
pEpSet
,
const
char
*
fqdn
,
uint16_t
port
)
{
if
(
pEpSet
==
NULL
||
fqdn
==
NULL
||
strlen
(
fqdn
)
==
0
)
{
return
;
}
int32_t
index
=
pEpSet
->
numOfEps
;
tstrncpy
(
pEpSet
->
eps
[
index
].
fqdn
,
fqdn
,
tListLen
(
pEpSet
->
eps
[
index
].
fqdn
));
pEpSet
->
eps
[
index
].
port
=
port
;
pEpSet
->
numOfEps
+=
1
;
}
bool
isEpsetEqual
(
const
SEpSet
*
s1
,
const
SEpSet
*
s2
)
{
if
(
s1
->
numOfEps
!=
s2
->
numOfEps
||
s1
->
inUse
!=
s2
->
inUse
)
{
return
false
;
}
for
(
int32_t
i
=
0
;
i
<
s1
->
numOfEps
;
i
++
)
{
if
(
s1
->
eps
[
i
].
port
!=
s2
->
eps
[
i
].
port
||
strncmp
(
s1
->
eps
[
i
].
fqdn
,
s2
->
eps
[
i
].
fqdn
,
TSDB_FQDN_LEN
)
!=
0
)
return
false
;
}
return
true
;
}
void
updateEpSet_s
(
SCorEpSet
*
pEpSet
,
SEpSet
*
pNewEpSet
)
{
taosCorBeginWrite
(
&
pEpSet
->
version
);
pEpSet
->
epSet
=
*
pNewEpSet
;
taosCorEndWrite
(
&
pEpSet
->
version
);
}
SEpSet
getEpSet_s
(
SCorEpSet
*
pEpSet
)
{
SEpSet
ep
=
{
0
};
taosCorBeginRead
(
&
pEpSet
->
version
);
ep
=
pEpSet
->
epSet
;
taosCorEndRead
(
&
pEpSet
->
version
);
return
ep
;
}
source/common/src/tname.c
浏览文件 @
4dc3d88b
...
@@ -20,34 +20,6 @@
...
@@ -20,34 +20,6 @@
#define VALID_NAME_TYPE(x) ((x) == TSDB_DB_NAME_T || (x) == TSDB_TABLE_NAME_T)
#define VALID_NAME_TYPE(x) ((x) == TSDB_DB_NAME_T || (x) == TSDB_TABLE_NAME_T)
bool
tscValidateTableNameLength
(
size_t
len
)
{
return
len
<
TSDB_TABLE_NAME_LEN
;
}
#if 0
// TODO refactor
SColumnFilterInfo* tFilterInfoDup(const SColumnFilterInfo* src, int32_t numOfFilters) {
if (numOfFilters == 0 || src == NULL) {
assert(src == NULL);
return NULL;
}
SColumnFilterInfo* pFilter = taosMemoryCalloc(1, numOfFilters * sizeof(SColumnFilterInfo));
memcpy(pFilter, src, sizeof(SColumnFilterInfo) * numOfFilters);
for (int32_t j = 0; j < numOfFilters; ++j) {
if (pFilter[j].filterstr) {
size_t len = (size_t) pFilter[j].len + 1 * TSDB_NCHAR_SIZE;
pFilter[j].pz = (int64_t) taosMemoryCalloc(1, len);
memcpy((char*)pFilter[j].pz, (char*)src[j].pz, (size_t) pFilter[j].len);
}
}
assert(src->filterstr == 0 || src->filterstr == 1);
assert(!(src->lowerRelOptr == 0 && src->upperRelOptr == 0));
return pFilter;
}
#endif
#if 0
#if 0
int64_t taosGetIntervalStartTimestamp(int64_t startTime, int64_t slidingTime, int64_t intervalTime, char timeUnit, int16_t precision) {
int64_t taosGetIntervalStartTimestamp(int64_t startTime, int64_t slidingTime, int64_t intervalTime, char timeUnit, int16_t precision) {
if (slidingTime == 0) {
if (slidingTime == 0) {
...
...
source/dnode/vnode/src/vnd/vnodeSvr.c
浏览文件 @
4dc3d88b
...
@@ -447,6 +447,7 @@ _err:
...
@@ -447,6 +447,7 @@ _err:
static
int32_t
vnodeProcessCreateTbReq
(
SVnode
*
pVnode
,
int64_t
version
,
void
*
pReq
,
int32_t
len
,
SRpcMsg
*
pRsp
)
{
static
int32_t
vnodeProcessCreateTbReq
(
SVnode
*
pVnode
,
int64_t
version
,
void
*
pReq
,
int32_t
len
,
SRpcMsg
*
pRsp
)
{
SDecoder
decoder
=
{
0
};
SDecoder
decoder
=
{
0
};
SEncoder
encoder
=
{
0
};
int32_t
rcode
=
0
;
int32_t
rcode
=
0
;
SVCreateTbBatchReq
req
=
{
0
};
SVCreateTbBatchReq
req
=
{
0
};
SVCreateTbReq
*
pCreateReq
;
SVCreateTbReq
*
pCreateReq
;
...
@@ -515,7 +516,6 @@ static int32_t vnodeProcessCreateTbReq(SVnode *pVnode, int64_t version, void *pR
...
@@ -515,7 +516,6 @@ static int32_t vnodeProcessCreateTbReq(SVnode *pVnode, int64_t version, void *pR
tdUidStoreFree
(
pStore
);
tdUidStoreFree
(
pStore
);
// prepare rsp
// prepare rsp
SEncoder
encoder
=
{
0
};
int32_t
ret
=
0
;
int32_t
ret
=
0
;
tEncodeSize
(
tEncodeSVCreateTbBatchRsp
,
&
rsp
,
pRsp
->
contLen
,
ret
);
tEncodeSize
(
tEncodeSVCreateTbBatchRsp
,
&
rsp
,
pRsp
->
contLen
,
ret
);
pRsp
->
pCont
=
rpcMallocCont
(
pRsp
->
contLen
);
pRsp
->
pCont
=
rpcMallocCont
(
pRsp
->
contLen
);
...
...
source/libs/executor/inc/executorimpl.h
浏览文件 @
4dc3d88b
...
@@ -855,7 +855,6 @@ void doApplyFunctions(SExecTaskInfo* taskInfo, SqlFunctionCtx* pCtx, STimeWin
...
@@ -855,7 +855,6 @@ void doApplyFunctions(SExecTaskInfo* taskInfo, SqlFunctionCtx* pCtx, STimeWin
int32_t
extractDataBlockFromFetchRsp
(
SSDataBlock
*
pRes
,
SLoadRemoteDataInfo
*
pLoadInfo
,
int32_t
numOfRows
,
char
*
pData
,
int32_t
extractDataBlockFromFetchRsp
(
SSDataBlock
*
pRes
,
SLoadRemoteDataInfo
*
pLoadInfo
,
int32_t
numOfRows
,
char
*
pData
,
int32_t
compLen
,
int32_t
numOfOutput
,
int64_t
startTs
,
uint64_t
*
total
,
int32_t
compLen
,
int32_t
numOfOutput
,
int64_t
startTs
,
uint64_t
*
total
,
SArray
*
pColList
);
SArray
*
pColList
);
STimeWindow
getAlignQueryTimeWindow
(
SInterval
*
pInterval
,
int32_t
precision
,
int64_t
key
);
STimeWindow
getFirstQualifiedTimeWindow
(
int64_t
ts
,
STimeWindow
*
pWindow
,
SInterval
*
pInterval
,
int32_t
order
);
STimeWindow
getFirstQualifiedTimeWindow
(
int64_t
ts
,
STimeWindow
*
pWindow
,
SInterval
*
pInterval
,
int32_t
order
);
int32_t
getTableScanInfo
(
SOperatorInfo
*
pOperator
,
int32_t
*
order
,
int32_t
*
scanFlag
);
int32_t
getTableScanInfo
(
SOperatorInfo
*
pOperator
,
int32_t
*
order
,
int32_t
*
scanFlag
);
...
@@ -987,8 +986,7 @@ void setTaskStatus(SExecTaskInfo* pTaskInfo, int8_t status);
...
@@ -987,8 +986,7 @@ void setTaskStatus(SExecTaskInfo* pTaskInfo, int8_t status);
int32_t
createExecTaskInfoImpl
(
SSubplan
*
pPlan
,
SExecTaskInfo
**
pTaskInfo
,
SReadHandle
*
pHandle
,
uint64_t
taskId
,
int32_t
createExecTaskInfoImpl
(
SSubplan
*
pPlan
,
SExecTaskInfo
**
pTaskInfo
,
SReadHandle
*
pHandle
,
uint64_t
taskId
,
const
char
*
sql
,
EOPTR_EXEC_MODEL
model
);
const
char
*
sql
,
EOPTR_EXEC_MODEL
model
);
int32_t
createDataSinkParam
(
SDataSinkNode
*
pNode
,
void
**
pParam
,
qTaskInfo_t
*
pTaskInfo
,
SReadHandle
*
readHandle
);
int32_t
createDataSinkParam
(
SDataSinkNode
*
pNode
,
void
**
pParam
,
qTaskInfo_t
*
pTaskInfo
,
SReadHandle
*
readHandle
);
int32_t
getOperatorExplainExecInfo
(
SOperatorInfo
*
operatorInfo
,
SExplainExecInfo
**
pRes
,
int32_t
*
capacity
,
int32_t
getOperatorExplainExecInfo
(
SOperatorInfo
*
operatorInfo
,
SArray
*
pExecInfoList
);
int32_t
*
resNum
);
int32_t
aggDecodeResultRow
(
SOperatorInfo
*
pOperator
,
char
*
result
);
int32_t
aggDecodeResultRow
(
SOperatorInfo
*
pOperator
,
char
*
result
);
int32_t
aggEncodeResultRow
(
SOperatorInfo
*
pOperator
,
char
**
result
,
int32_t
*
length
);
int32_t
aggEncodeResultRow
(
SOperatorInfo
*
pOperator
,
char
**
result
,
int32_t
*
length
);
...
...
source/libs/executor/src/executor.c
浏览文件 @
4dc3d88b
...
@@ -496,11 +496,9 @@ void qDestroyTask(qTaskInfo_t qTaskHandle) {
...
@@ -496,11 +496,9 @@ void qDestroyTask(qTaskInfo_t qTaskHandle) {
doDestroyTask
(
pTaskInfo
);
doDestroyTask
(
pTaskInfo
);
}
}
int32_t
qGetExplainExecInfo
(
qTaskInfo_t
tinfo
,
int32_t
*
resNum
,
SExplainExecInfo
**
pRes
)
{
int32_t
qGetExplainExecInfo
(
qTaskInfo_t
tinfo
,
SArray
*
pExecInfoList
)
{
SExecTaskInfo
*
pTaskInfo
=
(
SExecTaskInfo
*
)
tinfo
;
SExecTaskInfo
*
pTaskInfo
=
(
SExecTaskInfo
*
)
tinfo
;
int32_t
capacity
=
0
;
return
getOperatorExplainExecInfo
(
pTaskInfo
->
pRoot
,
pExecInfoList
);
return
getOperatorExplainExecInfo
(
pTaskInfo
->
pRoot
,
pRes
,
&
capacity
,
resNum
);
}
}
int32_t
qSerializeTaskStatus
(
qTaskInfo_t
tinfo
,
char
**
pOutput
,
int32_t
*
len
)
{
int32_t
qSerializeTaskStatus
(
qTaskInfo_t
tinfo
,
char
**
pOutput
,
int32_t
*
len
)
{
...
...
source/libs/executor/src/executorimpl.c
浏览文件 @
4dc3d88b
...
@@ -4613,42 +4613,29 @@ void releaseQueryBuf(size_t numOfTables) {
...
@@ -4613,42 +4613,29 @@ void releaseQueryBuf(size_t numOfTables) {
atomic_add_fetch_64
(
&
tsQueryBufferSizeBytes
,
t
);
atomic_add_fetch_64
(
&
tsQueryBufferSizeBytes
,
t
);
}
}
int32_t
getOperatorExplainExecInfo
(
SOperatorInfo
*
operatorInfo
,
SExplainExecInfo
**
pRes
,
int32_t
*
capacity
,
int32_t
getOperatorExplainExecInfo
(
SOperatorInfo
*
operatorInfo
,
SArray
*
pExecInfoList
)
{
int32_t
*
resNum
)
{
SExplainExecInfo
execInfo
=
{
0
};
if
(
*
resNum
>=
*
capacity
)
{
SExplainExecInfo
*
pExplainInfo
=
taosArrayPush
(
pExecInfoList
,
&
execInfo
);
*
capacity
+=
10
;
*
pRes
=
taosMemoryRealloc
(
*
pRes
,
(
*
capacity
)
*
sizeof
(
SExplainExecInfo
));
if
(
NULL
==
*
pRes
)
{
qError
(
"malloc %d failed"
,
(
*
capacity
)
*
(
int32_t
)
sizeof
(
SExplainExecInfo
));
return
TSDB_CODE_QRY_OUT_OF_MEMORY
;
}
}
SExplainExecInfo
*
pInfo
=
&
(
*
pRes
)[
*
resNum
];
pInfo
->
numOfRows
=
operatorInfo
->
resultInfo
.
totalRows
;
pExplainInfo
->
numOfRows
=
operatorInfo
->
resultInfo
.
totalRows
;
pInfo
->
startupCost
=
operatorInfo
->
cost
.
openCost
;
pExplainInfo
->
startupCost
=
operatorInfo
->
cost
.
openCost
;
pInfo
->
totalCost
=
operatorInfo
->
cost
.
totalCost
;
pExplainInfo
->
totalCost
=
operatorInfo
->
cost
.
totalCost
;
pExplainInfo
->
verboseLen
=
0
;
pExplainInfo
->
verboseInfo
=
NULL
;
if
(
operatorInfo
->
fpSet
.
getExplainFn
)
{
if
(
operatorInfo
->
fpSet
.
getExplainFn
)
{
int32_t
code
=
operatorInfo
->
fpSet
.
getExplainFn
(
operatorInfo
,
&
p
Info
->
verboseInfo
,
&
p
Info
->
verboseLen
);
int32_t
code
=
operatorInfo
->
fpSet
.
getExplainFn
(
operatorInfo
,
&
p
ExplainInfo
->
verboseInfo
,
&
pExplain
Info
->
verboseLen
);
if
(
code
)
{
if
(
code
)
{
qError
(
"%s operator getExplainFn failed, code:%s"
,
GET_TASKID
(
operatorInfo
->
pTaskInfo
),
tstrerror
(
code
));
qError
(
"%s operator getExplainFn failed, code:%s"
,
GET_TASKID
(
operatorInfo
->
pTaskInfo
),
tstrerror
(
code
));
return
code
;
return
code
;
}
}
}
else
{
pInfo
->
verboseLen
=
0
;
pInfo
->
verboseInfo
=
NULL
;
}
}
++
(
*
resNum
);
int32_t
code
=
0
;
int32_t
code
=
0
;
for
(
int32_t
i
=
0
;
i
<
operatorInfo
->
numOfDownstream
;
++
i
)
{
for
(
int32_t
i
=
0
;
i
<
operatorInfo
->
numOfDownstream
;
++
i
)
{
code
=
getOperatorExplainExecInfo
(
operatorInfo
->
pDownstream
[
i
],
p
Res
,
capacity
,
resNum
);
code
=
getOperatorExplainExecInfo
(
operatorInfo
->
pDownstream
[
i
],
p
ExecInfoList
);
if
(
code
)
{
if
(
code
!=
TSDB_CODE_SUCCESS
)
{
taosMemoryFreeClear
(
*
pRes
);
//
taosMemoryFreeClear(*pRes);
return
TSDB_CODE_QRY_OUT_OF_MEMORY
;
return
TSDB_CODE_QRY_OUT_OF_MEMORY
;
}
}
}
}
...
...
source/libs/executor/src/groupoperator.c
浏览文件 @
4dc3d88b
...
@@ -31,14 +31,21 @@ static int32_t* setupColumnOffset(const SSDataBlock* pBlock, int32_t rowCapacity
...
@@ -31,14 +31,21 @@ static int32_t* setupColumnOffset(const SSDataBlock* pBlock, int32_t rowCapacity
static
int32_t
setGroupResultOutputBuf
(
SOperatorInfo
*
pOperator
,
SOptrBasicInfo
*
binfo
,
int32_t
numOfCols
,
char
*
pData
,
int16_t
bytes
,
static
int32_t
setGroupResultOutputBuf
(
SOperatorInfo
*
pOperator
,
SOptrBasicInfo
*
binfo
,
int32_t
numOfCols
,
char
*
pData
,
int16_t
bytes
,
uint64_t
groupId
,
SDiskbasedBuf
*
pBuf
,
SAggSupporter
*
pAggSup
);
uint64_t
groupId
,
SDiskbasedBuf
*
pBuf
,
SAggSupporter
*
pAggSup
);
static
void
freeGroupKey
(
void
*
param
)
{
SGroupKeys
*
pKey
=
(
SGroupKeys
*
)
param
;
taosMemoryFree
(
pKey
->
pData
);
}
static
void
destroyGroupOperatorInfo
(
void
*
param
,
int32_t
numOfOutput
)
{
static
void
destroyGroupOperatorInfo
(
void
*
param
,
int32_t
numOfOutput
)
{
SGroupbyOperatorInfo
*
pInfo
=
(
SGroupbyOperatorInfo
*
)
param
;
SGroupbyOperatorInfo
*
pInfo
=
(
SGroupbyOperatorInfo
*
)
param
;
cleanupBasicInfo
(
&
pInfo
->
binfo
);
cleanupBasicInfo
(
&
pInfo
->
binfo
);
taosMemoryFreeClear
(
pInfo
->
keyBuf
);
taosMemoryFreeClear
(
pInfo
->
keyBuf
);
taosArrayDestroy
(
pInfo
->
pGroupCols
);
taosArrayDestroy
(
pInfo
->
pGroupCols
);
taosArrayDestroy
(
pInfo
->
pGroupColVals
);
taosArrayDestroy
Ex
(
pInfo
->
pGroupColVals
,
freeGroupKey
);
cleanupExprSupp
(
&
pInfo
->
scalarSup
);
cleanupExprSupp
(
&
pInfo
->
scalarSup
);
cleanupGroupResInfo
(
&
pInfo
->
groupResInfo
);
cleanupAggSup
(
&
pInfo
->
aggSup
);
taosMemoryFreeClear
(
param
);
taosMemoryFreeClear
(
param
);
}
}
...
@@ -414,8 +421,6 @@ SOperatorInfo* createGroupOperatorInfo(SOperatorInfo* downstream, SExprInfo* pEx
...
@@ -414,8 +421,6 @@ SOperatorInfo* createGroupOperatorInfo(SOperatorInfo* downstream, SExprInfo* pEx
pOperator
->
blocking
=
true
;
pOperator
->
blocking
=
true
;
pOperator
->
status
=
OP_NOT_OPENED
;
pOperator
->
status
=
OP_NOT_OPENED
;
// pOperator->operatorType = OP_Groupby;
// pOperator->operatorType = OP_Groupby;
pOperator
->
exprSupp
.
pExprInfo
=
pExprInfo
;
pOperator
->
exprSupp
.
numOfExprs
=
numOfCols
;
pOperator
->
info
=
pInfo
;
pOperator
->
info
=
pInfo
;
pOperator
->
pTaskInfo
=
pTaskInfo
;
pOperator
->
pTaskInfo
=
pTaskInfo
;
...
...
source/libs/function/src/builtins.c
浏览文件 @
4dc3d88b
...
@@ -2414,7 +2414,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
...
@@ -2414,7 +2414,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
{
{
.
name
=
"hyperloglog"
,
.
name
=
"hyperloglog"
,
.
type
=
FUNCTION_TYPE_HYPERLOGLOG
,
.
type
=
FUNCTION_TYPE_HYPERLOGLOG
,
.
classification
=
FUNC_MGT_AGG_FUNC
,
.
classification
=
FUNC_MGT_AGG_FUNC
|
FUNC_MGT_TIMELINE_FUNC
,
.
translateFunc
=
translateHLL
,
.
translateFunc
=
translateHLL
,
.
getEnvFunc
=
getHLLFuncEnv
,
.
getEnvFunc
=
getHLLFuncEnv
,
.
initFunc
=
functionSetup
,
.
initFunc
=
functionSetup
,
...
@@ -2428,7 +2428,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
...
@@ -2428,7 +2428,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
},
},
{
{
.
name
=
"_hyperloglog_partial"
,
.
name
=
"_hyperloglog_partial"
,
.
type
=
FUNCTION_TYPE_HYPERLOGLOG_PARTIAL
,
.
type
=
FUNCTION_TYPE_HYPERLOGLOG_PARTIAL
|
FUNC_MGT_TIMELINE_FUNC
,
.
classification
=
FUNC_MGT_AGG_FUNC
,
.
classification
=
FUNC_MGT_AGG_FUNC
,
.
translateFunc
=
translateHLLPartial
,
.
translateFunc
=
translateHLLPartial
,
.
getEnvFunc
=
getHLLFuncEnv
,
.
getEnvFunc
=
getHLLFuncEnv
,
...
@@ -2440,7 +2440,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
...
@@ -2440,7 +2440,7 @@ const SBuiltinFuncDefinition funcMgtBuiltins[] = {
},
},
{
{
.
name
=
"_hyperloglog_merge"
,
.
name
=
"_hyperloglog_merge"
,
.
type
=
FUNCTION_TYPE_HYPERLOGLOG_MERGE
,
.
type
=
FUNCTION_TYPE_HYPERLOGLOG_MERGE
|
FUNC_MGT_TIMELINE_FUNC
,
.
classification
=
FUNC_MGT_AGG_FUNC
,
.
classification
=
FUNC_MGT_AGG_FUNC
,
.
translateFunc
=
translateHLLMerge
,
.
translateFunc
=
translateHLLMerge
,
.
getEnvFunc
=
getHLLFuncEnv
,
.
getEnvFunc
=
getHLLFuncEnv
,
...
...
source/libs/qworker/inc/qwMsg.h
浏览文件 @
4dc3d88b
...
@@ -39,7 +39,7 @@ int32_t qwBuildAndSendFetchRsp(int32_t rspType, SRpcHandleInfo *pConn, SRetrieve
...
@@ -39,7 +39,7 @@ int32_t qwBuildAndSendFetchRsp(int32_t rspType, SRpcHandleInfo *pConn, SRetrieve
void
qwBuildFetchRsp
(
void
*
msg
,
SOutputData
*
input
,
int32_t
len
,
bool
qComplete
);
void
qwBuildFetchRsp
(
void
*
msg
,
SOutputData
*
input
,
int32_t
len
,
bool
qComplete
);
int32_t
qwBuildAndSendCQueryMsg
(
QW_FPARAMS_DEF
,
SRpcHandleInfo
*
pConn
);
int32_t
qwBuildAndSendCQueryMsg
(
QW_FPARAMS_DEF
,
SRpcHandleInfo
*
pConn
);
int32_t
qwBuildAndSendQueryRsp
(
int32_t
rspType
,
SRpcHandleInfo
*
pConn
,
int32_t
code
,
SQWTaskCtx
*
ctx
);
int32_t
qwBuildAndSendQueryRsp
(
int32_t
rspType
,
SRpcHandleInfo
*
pConn
,
int32_t
code
,
SQWTaskCtx
*
ctx
);
int32_t
qwBuildAndSendExplainRsp
(
SRpcHandleInfo
*
pConn
,
S
ExplainExecInfo
*
execInfo
,
int32_t
num
);
int32_t
qwBuildAndSendExplainRsp
(
SRpcHandleInfo
*
pConn
,
S
Array
*
pExecList
);
int32_t
qwBuildAndSendErrorRsp
(
int32_t
rspType
,
SRpcHandleInfo
*
pConn
,
int32_t
code
);
int32_t
qwBuildAndSendErrorRsp
(
int32_t
rspType
,
SRpcHandleInfo
*
pConn
,
int32_t
code
);
void
qwFreeFetchRsp
(
void
*
msg
);
void
qwFreeFetchRsp
(
void
*
msg
);
int32_t
qwMallocFetchRsp
(
int32_t
length
,
SRetrieveTableRsp
**
rsp
);
int32_t
qwMallocFetchRsp
(
int32_t
length
,
SRetrieveTableRsp
**
rsp
);
...
...
source/libs/qworker/src/qwMsg.c
浏览文件 @
4dc3d88b
...
@@ -82,8 +82,9 @@ int32_t qwBuildAndSendQueryRsp(int32_t rspType, SRpcHandleInfo *pConn, int32_t c
...
@@ -82,8 +82,9 @@ int32_t qwBuildAndSendQueryRsp(int32_t rspType, SRpcHandleInfo *pConn, int32_t c
return
TSDB_CODE_SUCCESS
;
return
TSDB_CODE_SUCCESS
;
}
}
int32_t
qwBuildAndSendExplainRsp
(
SRpcHandleInfo
*
pConn
,
SExplainExecInfo
*
execInfo
,
int32_t
num
)
{
int32_t
qwBuildAndSendExplainRsp
(
SRpcHandleInfo
*
pConn
,
SArray
*
pExecList
)
{
SExplainRsp
rsp
=
{.
numOfPlans
=
num
,
.
subplanInfo
=
execInfo
};
SExplainExecInfo
*
pInfo
=
taosArrayGet
(
pExecList
,
0
);
SExplainRsp
rsp
=
{.
numOfPlans
=
taosArrayGetSize
(
pExecList
),
.
subplanInfo
=
pInfo
};
int32_t
contLen
=
tSerializeSExplainRsp
(
NULL
,
0
,
&
rsp
);
int32_t
contLen
=
tSerializeSExplainRsp
(
NULL
,
0
,
&
rsp
);
void
*
pRsp
=
rpcMallocCont
(
contLen
);
void
*
pRsp
=
rpcMallocCont
(
contLen
);
...
@@ -96,10 +97,9 @@ int32_t qwBuildAndSendExplainRsp(SRpcHandleInfo *pConn, SExplainExecInfo *execIn
...
@@ -96,10 +97,9 @@ int32_t qwBuildAndSendExplainRsp(SRpcHandleInfo *pConn, SExplainExecInfo *execIn
.
code
=
0
,
.
code
=
0
,
.
info
=
*
pConn
,
.
info
=
*
pConn
,
};
};
rpcRsp
.
info
.
ahandle
=
NULL
;
rpcRsp
.
info
.
ahandle
=
NULL
;
tmsgSendRsp
(
&
rpcRsp
);
tmsgSendRsp
(
&
rpcRsp
);
return
TSDB_CODE_SUCCESS
;
return
TSDB_CODE_SUCCESS
;
}
}
...
...
source/libs/qworker/src/qworker.c
浏览文件 @
4dc3d88b
...
@@ -44,18 +44,24 @@ int32_t qwProcessHbLinkBroken(SQWorker *mgmt, SQWMsg *qwMsg, SSchedulerHbReq *re
...
@@ -44,18 +44,24 @@ int32_t qwProcessHbLinkBroken(SQWorker *mgmt, SQWMsg *qwMsg, SSchedulerHbReq *re
QW_RET
(
TSDB_CODE_SUCCESS
);
QW_RET
(
TSDB_CODE_SUCCESS
);
}
}
static
void
freeItem
(
void
*
param
)
{
SExplainExecInfo
*
pInfo
=
param
;
taosMemoryFree
(
pInfo
->
verboseInfo
);
}
int32_t
qwHandleTaskComplete
(
QW_FPARAMS_DEF
,
SQWTaskCtx
*
ctx
)
{
int32_t
qwHandleTaskComplete
(
QW_FPARAMS_DEF
,
SQWTaskCtx
*
ctx
)
{
qTaskInfo_t
taskHandle
=
ctx
->
taskHandle
;
qTaskInfo_t
taskHandle
=
ctx
->
taskHandle
;
if
(
TASK_TYPE_TEMP
==
ctx
->
taskType
&&
taskHandle
)
{
if
(
TASK_TYPE_TEMP
==
ctx
->
taskType
&&
taskHandle
)
{
if
(
ctx
->
explain
)
{
if
(
ctx
->
explain
)
{
SExplainExecInfo
*
execInfo
=
NULL
;
SArray
*
execInfoList
=
taosArrayInit
(
4
,
sizeof
(
SExplainExecInfo
));
int32_t
resNum
=
0
;
QW_ERR_RET
(
qGetExplainExecInfo
(
taskHandle
,
execInfoList
));
QW_ERR_RET
(
qGetExplainExecInfo
(
taskHandle
,
&
resNum
,
&
execInfo
));
SRpcHandleInfo
connInfo
=
ctx
->
ctrlConnInfo
;
SRpcHandleInfo
connInfo
=
ctx
->
ctrlConnInfo
;
connInfo
.
ahandle
=
NULL
;
connInfo
.
ahandle
=
NULL
;
QW_ERR_RET
(
qwBuildAndSendExplainRsp
(
&
connInfo
,
execInfo
,
resNum
));
int32_t
code
=
qwBuildAndSendExplainRsp
(
&
connInfo
,
execInfoList
);
taosArrayDestroyEx
(
execInfoList
,
freeItem
);
QW_ERR_RET
(
code
);
}
}
if
(
!
ctx
->
needFetch
)
{
if
(
!
ctx
->
needFetch
)
{
...
...
source/libs/sync/src/syncAppendEntries.c
浏览文件 @
4dc3d88b
...
@@ -790,65 +790,6 @@ int32_t syncNodeOnAppendEntriesSnapshotCb(SSyncNode* ths, SyncAppendEntries* pMs
...
@@ -790,65 +790,6 @@ int32_t syncNodeOnAppendEntriesSnapshotCb(SSyncNode* ths, SyncAppendEntries* pMs
}
}
}
while
(
0
);
}
while
(
0
);
#if 0
// fake match
//
// condition1:
// I have snapshot, no log, preIndex > myLastIndex
//
// condition2:
// I have snapshot, have log, log <= snapshot, preIndex > myLastIndex
//
// condition3:
// I have snapshot, preIndex < snapshot.lastApplyIndex
//
// condition4:
// I have snapshot, preIndex == snapshot.lastApplyIndex, no data
//
// operation:
// match snapshot.lastApplyIndex - 1;
// no operation on log
do {
SyncIndex myLastIndex = syncNodeGetLastIndex(ths);
SSnapshot snapshot;
ths->pFsm->FpGetSnapshotInfo(ths->pFsm, &snapshot);
bool condition0 = (pMsg->term == ths->pRaftStore->currentTerm) && (ths->state == TAOS_SYNC_STATE_FOLLOWER) &&
syncNodeHasSnapshot(ths);
bool condition1 =
condition0 && (ths->pLogStore->syncLogEntryCount(ths->pLogStore) == 0) && (pMsg->prevLogIndex > myLastIndex); // donot use syncLogEntryCount!!! use isEmpty
bool condition2 = condition0 && (ths->pLogStore->syncLogLastIndex(ths->pLogStore) <= snapshot.lastApplyIndex) &&
(pMsg->prevLogIndex > myLastIndex);
bool condition3 = condition0 && (pMsg->prevLogIndex < snapshot.lastApplyIndex);
bool condition4 = condition0 && (pMsg->prevLogIndex == snapshot.lastApplyIndex) && (pMsg->dataLen == 0);
bool condition = condition1 || condition2 || condition3 || condition4;
if (condition) {
char logBuf[128];
snprintf(logBuf, sizeof(logBuf), "recv sync-append-entries, fake match, pre-index:%" PRId64 ", pre-term:%" PRIu64,
pMsg->prevLogIndex, pMsg->prevLogTerm);
syncNodeEventLog(ths, logBuf);
// prepare response msg
SyncAppendEntriesReply* pReply = syncAppendEntriesReplyBuild(ths->vgId);
pReply->srcId = ths->myRaftId;
pReply->destId = pMsg->srcId;
pReply->term = ths->pRaftStore->currentTerm;
pReply->privateTerm = ths->pNewNodeReceiver->privateTerm;
pReply->success = true;
pReply->matchIndex = snapshot.lastApplyIndex;
// send response
SRpcMsg rpcMsg;
syncAppendEntriesReply2RpcMsg(pReply, &rpcMsg);
syncNodeSendMsgById(&pReply->destId, ths, &rpcMsg);
syncAppendEntriesReplyDestroy(pReply);
return ret;
}
} while (0);
#endif
// fake match
// fake match
//
//
// condition1:
// condition1:
...
...
tests/system-test/0-others/cachemodel.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/sysinfo.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/taosShell.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/taosShellError.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/taosShellNetChk.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/taosdMonitor.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/telemetry.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/udfTest.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/udf_cfg1.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/udf_cfg2.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/udf_cluster.py
浏览文件 @
4dc3d88b
tests/system-test/0-others/udf_create.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode1mnode.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode2mnode.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeAdd1Ddnoe.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeDrop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeDropInsert.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeRecreateMnode.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertData.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeRestartDnodeInsertDataAsync.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateDb.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeCreateStb.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopDnodeInsertData.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDb.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateDbRep3.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopMnodeCreateStb.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateDb.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSep1VnodeStopVnodeCreateStb.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeSeperate1VnodeStopInsert.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeStop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeStop2Follower.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeStopConnect.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeStopFollowerLeader.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeStopInsert.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/5dnode3mnodeStopLoop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/clusterCommonCheck.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/clusterCommonCreate.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_createDb_replica1.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica1_insertdatas.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_sync.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_follower_unsync_force_stop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_insertdatas_stop_leader_forece_stop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_follower_force_stop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_querydatas_stop_leader_force_stop.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups.py
浏览文件 @
4dc3d88b
tests/system-test/6-cluster/vnode/4dnode1mnode_basic_replica3_vgroups_stopOne.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/basic5.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/dataFromTsdbNWal-multiCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/dataFromTsdbNWal.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/db.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/dropDbR3ConflictTransaction.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/schema.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/stbFilter.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/stbTagFilter-1ctb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/stbTagFilter-multiCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeDb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeDb0.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeDb1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeDb2.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeDb3.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeDb4.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeStb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeStb0.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeStb1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeStb2.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeStb3.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/subscribeStb4.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmq3mnodeSwitch.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqAlterSchema.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqAutoCreateTbl.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqCheckData.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqCheckData1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqCommon.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb-1ctb-funcNFilter.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb-1ctb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb-funcNFilter.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg-mutilCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb-mutilVg.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb1-1ctb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb1-mutilVg.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsFromTsdb1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqConsumerGroup.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDelete-1ctb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDelete-multiCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDnode.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDnodeRestart.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDropNtb-snapshot0.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDropNtb-snapshot1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDropStb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqDropStbCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqError.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqModule.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqSubscribeStb-r3.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUdf-multCtb-snapshot0.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUdf-multCtb-snapshot1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUdf.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUpdate-1ctb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUpdate-multiCtb-snapshot0.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUpdate-multiCtb-snapshot1.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUpdate-multiCtb.py
浏览文件 @
4dc3d88b
tests/system-test/7-tmq/tmqUpdateWithConsume.py
浏览文件 @
4dc3d88b
tests/test/c/sml_test.c
浏览文件 @
4dc3d88b
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录