Commit Graph

4166 Commits

Author SHA1 Message Date
liuyao b98d79add5 add test case 2023-10-31 15:50:45 +08:00
dapan1121 c4e1faae36
Merge pull request #23432 from taosdata/szhou/bi-mode-tag-scan
enhance: bi mode tag scan
2023-10-31 15:44:53 +08:00
liuyao 696294c208 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-31 15:41:04 +08:00
liuyao b9e05ab1ec update data 2023-10-31 15:40:42 +08:00
wade zhang 76c9b9afc5
Merge pull request #23377 from taosdata/FIX/TD-26596-3.0
feat: support pipelining of snap replication
2023-10-31 15:19:07 +08:00
kailixu b03baaed2c chore: revert the code change 2023-10-30 19:49:50 +08:00
kailixu 89651626e3 chore: reopen rsma stream commit 2023-10-30 19:45:18 +08:00
dapan1121 b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
kailixu c77153cb81 enh: use placeholder '-' for interval of 1st retention level 2023-10-30 14:02:31 +08:00
Haojun Liao a300302956 fix(test): wait for 1 sec before inserting data. 2023-10-30 13:33:59 +08:00
Benguang Zhao 78cce00037 test: pause 1s after creating stream in testcase sliding.sim 2023-10-30 10:46:17 +08:00
slzhou 4b6f927e6a fix: add test case for bi tag scan 2023-10-30 10:11:57 +08:00
Haojun Liao c7285c0ede fix(stream): add expired epset node list for stream tasks in hb to mnode. 2023-10-27 23:41:57 +08:00
Haojun Liao 4c267b538f fix(stream): add expired epset node list for stream tasks in hb to mnode. 2023-10-27 23:05:41 +08:00
dapan1121 9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
Haojun Liao dcca6b0868 other: merge 3.0. 2023-10-27 11:41:28 +08:00
dapan1121 099f72e84a fix: memory issues 2023-10-27 11:36:17 +08:00
Haojun Liao ec5bdff5fa test:update test case. 2023-10-27 09:59:52 +08:00
slzhou 65386ed237 enhance: add test case 2023-10-27 08:26:04 +08:00
liuyao e151b3df89 opt ci 2023-10-26 15:45:40 +08:00
liuyao 4c45f5a01c add ci 2023-10-26 14:38:05 +08:00
slzhou 503761a53c enhance: add test case 2023-10-26 07:39:09 +08:00
liuyao d0e4a5d0f7 opt max delay 2023-10-25 20:29:25 +08:00
Haojun Liao 9baff82f85 test:update test case. 2023-10-25 18:14:05 +08:00
liuyao f51c985914 stream event window 2023-10-25 17:50:16 +08:00
slzhou 5ca39f961c fix: add error test case and fix address sanitizer 2023-10-25 16:30:13 +08:00
slzhou 6134346d4e enhance: test case insert_stb.sim 2023-10-25 13:20:37 +08:00
slzhou 1135d31caf enhance: add test case 2023-10-25 11:39:59 +08:00
dapan1121 6dcc555bbc fix: view privilege issue 2023-10-25 10:47:01 +08:00
dapan1121 dbbceae061 fix: union all view issue 2023-10-24 11:29:04 +08:00
dapan1121 ab98f7623c Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-23 08:44:46 +08:00
dapan1121 0f4766e38e feat: add view cases 2023-10-20 18:22:30 +08:00
dapan1121 d7a5b529f9
Merge pull request #23312 from taosdata/szhou/fix/td-26778
fix: remove subquery user alias name distinct check
2023-10-20 15:15:01 +08:00
dapan1121 42f440b0fb Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-20 08:46:32 +08:00
dapan1121 969b002936 enh: support view privilege 2023-10-20 08:41:49 +08:00
Haojun Liao 614bdd9fb9
Merge pull request #23220 from taosdata/feat/TD-26644
opt bloom filter
2023-10-19 15:34:43 +08:00
slzhou 81b7093a42 enhance: enhance test 2023-10-19 11:17:00 +08:00
dapan1121 afe963a9d1 enh: support view privilege 2023-10-19 08:31:31 +08:00
liuyao 5852a0975e set fill history range 2023-10-18 19:49:05 +08:00
slzhou 02658a4b3c fix: add test case 2023-10-18 15:30:18 +08:00
dapan1121 7c8cf28b37 feat: add privileges 2023-10-16 19:53:08 +08:00
liuyao 4ba45abd01 set fill history range 2023-10-16 13:53:54 +08:00
dapan1121 aab4cb98dc enh: create & drop view meta processing 2023-10-13 19:16:37 +08:00
Alex Duan 35fced8796
Merge pull request #23234 from taosdata/main_3_merge
other: merge main into 3.0
2023-10-12 07:48:20 -05:00
Haojun Liao d9db70faf2 fix(test): update the test cases. 2023-10-12 17:55:01 +08:00
liuyao 731fe67352 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26644 2023-10-12 16:28:10 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
kailixu e4291cf440 fix: reset hb flag for duplicated user key 2023-10-11 20:12:10 +08:00
liuyao 8362759e47 ci 2023-10-11 13:46:11 +08:00
liuyao 71a3e3ce16 ci 2023-10-11 10:29:41 +08:00
Haojun Liao d8bba3d462 other(test): update some test cases. 2023-10-11 08:39:19 +08:00
Haojun Liao 890f2d5c93 test: update the test cases. 2023-10-09 22:52:00 +08:00
Haojun Liao 33d6d0c1ad test: update the test cases. 2023-10-09 19:36:59 +08:00
Haojun Liao d87db2f829 fix(stream): fix the pause failure bug. 2023-10-09 14:48:11 +08:00
liuyao 4ef757d125 ci 2023-10-09 11:04:35 +08:00
wangmm0220 be27e13ed9 fix:test case error for reset=latest 2023-10-08 15:29:02 +08:00
liuyao ed8cad22cb Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174 2023-10-08 13:31:51 +08:00
wangmm0220 fb3197ea89 fix:test case error for reset=latest 2023-10-08 10:55:35 +08:00
liuyao c088ee7f91 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174 2023-10-07 19:13:07 +08:00
Minglei Jin 028ffc032b test/keep: fix relation with duration 2023-10-07 18:33:48 +08:00
Minglei Jin 47ad5f4dd5 test/cases: apply duration <= 1/3keep0 2023-10-07 16:15:38 +08:00
slzhou f659e36d2c fix: internal error when show normal db.tables like pattern 2023-09-28 09:20:12 +08:00
dapan1121 c8aee79e3f fix: apercentile parameter validation and result error 2023-09-27 16:08:06 +08:00
slzhou 7045509061 fix: add test case 2023-09-27 09:44:54 +08:00
liuyao c95dc167b7 add ci 2023-09-26 17:19:21 +08:00
liuyao ca2325f886 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174 2023-09-26 10:41:31 +08:00
liuyao 82e18e32b0 add ci 2023-09-26 10:41:12 +08:00
wade zhang 928c28fb68
Merge pull request #23021 from taosdata/szhou/star-tbname
feature: bi tools support star expansion to include tbname
2023-09-25 12:22:36 +08:00
slzhou 61f006809f fix: limit error 2023-09-24 22:31:40 +08:00
slzhou d5d7029338 fix: ci error 2023-09-24 21:45:32 +08:00
slzhou 6134c90398 fix: add more test case 2023-09-22 13:47:50 +08:00
slzhou d858b26939 enhance: add bi mode to script 2023-09-22 13:34:14 +08:00
wangjiaming0909 2ccbc8441d fix: interval_limit_opt.py timeout, privilege_create_db.sim fail sometimes 2023-09-22 13:18:49 +08:00
liuyao dc2f7872f8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174 2023-09-22 09:41:15 +08:00
Cary Xu 1bbb812557
Merge branch '3.0' into enh/TS-3934-3.0 2023-09-21 17:32:51 +08:00
kailixu be3438fc5b enh: erase dup notification 2023-09-21 16:12:46 +08:00
kailixu 2ff0748022 enh: remove user cache in catalog when user dropped 2023-09-21 11:29:34 +08:00
kailixu 2b25982495 enh: user dropped notification 2023-09-21 09:53:45 +08:00
liuyao 1cebda368a session&state operator buff 2023-09-20 15:06:08 +08:00
slzhou d667c49cc4 fix: add test case 2023-09-20 08:35:11 +08:00
yihaoDeng 2c10163634 avoid first tag index conflict 2023-09-18 14:19:58 +08:00
Haojun Liao de04090f04
Merge pull request #22940 from taosdata/fix/avoidConflictOfIdxName
reduce the confliction of first tag index name
2023-09-18 09:47:58 +08:00
yihaoDeng 3a3c5f69a6 fix test case 2023-09-16 09:08:46 +08:00
Haojun Liao 05e9f40834
Merge pull request #22828 from taosdata/enh/ipWhiteList
Enh/ip white list
2023-09-15 17:49:37 +08:00
yihaoDeng 2fe725de5e fix test case 2023-09-15 14:53:53 +08:00
chenhaoran 7d4519cdf8 test:increase timeout of win testcase 2023-09-14 16:10:16 +08:00
chenhaoran 43354b0107 Merge branch '3.0' of https://github.com/taosdata/TDengine into test/3.0/TD-26290 2023-09-14 14:34:29 +08:00
slzhou 6dfb939f22 enhance: enhance test case 2023-09-14 14:11:50 +08:00
slzhou 7aa3bd92a2 fix: remove whitelistttest executable 2023-09-14 13:28:53 +08:00
slzhou 0a016b1d2e fix: test case printf 2023-09-14 13:27:43 +08:00
slzhou 94236b8cee fix: pass some test 2023-09-14 13:05:58 +08:00
chenhaoran 686c821e45 test:increase timeout of win testcase 2023-09-14 11:41:50 +08:00
shenglian zhou 4931bfa7a0 enhance: add test for api 2023-09-14 09:02:32 +08:00
dapan1121 90a6fb3835 fix: fix case issue 2023-09-14 08:51:33 +08:00
shenglian zhou 3c84d8b22a Merge branch 'enh/ipWhiteList' of github.com:taosdata/TDengine into szhou/enh/ipWhiteList 2023-09-14 08:42:27 +08:00
Haojun Liao 60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
shenglian zhou 70a014d8f7 enh: begin writing test 2023-09-12 16:34:32 +08:00
dapan1121 2bc8b3f7ee
Merge pull request #22625 from taosdata/enh/TD-23879-3.0
enh: allow altering options to the same value
2023-09-06 13:34:49 +08:00
dapan1121 07053ae525
Merge pull request #22725 from taosdata/fix/TS-3895
fix: fix last(*)/last_row(*) return MD5 hashed column name
2023-09-05 13:28:47 +08:00
dapan1121 4a5bcb5c80
Merge pull request #22650 from taosdata/szhou/ip-whitelist
enhance: ip whitelist syntax
2023-09-05 11:00:55 +08:00
Ganlin Zhao 74b9eab63e add test cases 2023-09-05 10:29:20 +08:00
Haojun Liao 21dab8ceab other: merge 3.0 2023-09-04 13:08:19 +08:00
slzhou 3650a6bc2c fix: select tags from child table error 2023-09-01 20:42:27 +08:00
yihaoDeng 832b78c0e8 Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 13:44:23 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
yihaoDeng 8b146f793d Merge branch '3.0' into szhou/ip-whitelist 2023-09-01 10:51:24 +08:00
dapan1121 228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
Haojun Liao 4a9b48ef98
Merge pull request #21725 from taosdata/enh/triggerCheckPoint2
Enh/trigger check point2
2023-08-30 22:54:31 +08:00
yihaoDeng 4372ebdab5 change asan leak 2023-08-30 21:48:16 +08:00
yihaoDeng 4b1e73860f change asan leak 2023-08-30 21:25:17 +08:00
yihaoDeng 2ed576748a fix merge error 2023-08-30 18:18:21 +08:00
slzhou 82dc2de2f4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ip-whitelist 2023-08-30 17:11:42 +08:00
Haojun Liao d87a525131
Merge pull request #22639 from taosdata/fix/TD-26025
fix create tag error
2023-08-30 16:28:16 +08:00
Haojun Liao 24b1a050fc other: merge 3.0 2023-08-30 16:00:14 +08:00
slzhou 402a4c3d60 enhance: add test case 2023-08-30 15:13:43 +08:00
yihaoDeng 9842f3af8c fix test case 2023-08-30 11:14:48 +08:00
dapan1121 f6321d0c4f Merge remote-tracking branch 'origin/main' into fix/m23.1 2023-08-30 11:03:33 +08:00
kailixu 1e4e2549a4 chore: add test cases 2023-08-29 19:53:59 +08:00
shenglian-zhou d8ce7a1467
Update interval.sim to now use now 2023-08-28 16:46:05 +08:00
shenglian zhou 271502d3c7 fix: add test case 2023-08-28 15:08:55 +08:00
yihaoDeng 20b037d9cc Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-28 10:46:00 +08:00
Haojun Liao 88f6596965
Merge pull request #22464 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-28 09:45:57 +08:00
yihaoDeng 8e9c59941a fix mem leak 2023-08-23 11:48:57 +08:00
yihaoDeng 1531e2d7d3 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-22 09:51:38 +08:00
wade zhang 4d954bd2b1
Merge pull request #22499 from taosdata/test/TD-25838
test:kill tmq_sim process when start cases in windows
2023-08-21 18:51:15 +08:00
chenhaoran af9a73d1e3 test:repire test case for windows 2023-08-21 15:39:06 +08:00
yihaoDeng 6fe649c458 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-21 09:12:40 +08:00
dapan1121 b708493389
Merge pull request #22375 from taosdata/feat/TD-24700
feat: optimize stable join performance
2023-08-20 18:41:46 +08:00
Haojun Liao c26d625152
Merge branch '3.0' into enh/triggerCheckPoint2 2023-08-18 15:51:07 +08:00
liuyao 87c65f3b68 Merge remote-tracking branch 'origin/3.0' into enh/triggerCheckPoint2 2023-08-18 15:27:02 +08:00
dapan1121 9b953707b8 Merge remote-tracking branch 'origin/main' into fix/mainto3.0 2023-08-18 14:42:43 +08:00
dapan1121 efc5589aa2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-18 14:11:26 +08:00
slzhou 4e2a26e8be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-18 08:46:17 +08:00
slzhou 85d1dbe00a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-17 16:27:37 +08:00
Benguang Zhao 7735e6f388 Merge branch 3.0 to FEAT/TD-25699-3.0 2023-08-17 16:04:23 +08:00
slzhou 92524ca029 feature: select tags - add test case 2023-08-17 15:46:38 +08:00
kailixu 49efb4ae72 fix: modify column length for super table 2023-08-17 11:43:07 +08:00
Haojun Liao ea6574b3c7 other: merge 3.0 2023-08-17 00:07:55 +08:00
Benguang Zhao bad2bb52b5 enh: update test cases for show vnodes 2023-08-16 20:17:11 +08:00
wangmm0220 b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
dapan1121 143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
dapan1121 91d6734b34 fix: join condition push down issue 2023-08-16 14:28:39 +08:00
Haojun Liao 63bc50a723
Merge pull request #22427 from taosdata/feature/rebuildIndex0
rebuild index at tag0
2023-08-16 09:47:43 +08:00
yihaoDeng 0f0d0953cd rebuild index at tag0 2023-08-15 07:26:53 +00:00
yihaoDeng a576a3b972 rebuild index at tag0 2023-08-15 06:23:27 +00:00
wangmm0220 7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
dapan1121 937dcf00bb
Merge pull request #22430 from taosdata/fix/TD-25622-3.0x
fix: use taos_static for tmq_sim on windows
2023-08-15 09:54:57 +08:00
dapan1121 90cb67d006 fix: table count issue 2023-08-14 17:33:13 +08:00
kailixu 8d0461e98c fix: use taos_static for tmq_sim on windows 2023-08-14 16:31:58 +08:00
Haojun Liao f633c7fe2b other: merge 3.0. 2023-08-10 11:56:30 +08:00
Haojun Liao b658608541
Merge pull request #22388 from taosdata/fix/3_liaohj
other: merge main.
2023-08-10 11:43:02 +08:00
slzhou dff1f4954f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/ts-3706 2023-08-08 13:28:17 +08:00
dapan1121 68e0fb924a
Merge pull request #22165 from taosdata/feat/3.0/TD-25271
feature: optimize interval with limit
2023-08-08 10:34:02 +08:00
chenhaoran a0c5d130ae test:repire test case for windows 2023-08-07 18:32:58 +08:00
slzhou df607c2ac7 Merge branch 'szhou/ts-3706' of github.com:taosdata/TDengine into szhou/ts-3706 2023-08-07 13:59:31 +08:00
slzhou 6cccc155eb enhance: enhance test case 2023-08-07 13:39:30 +08:00
slzhou 3e7187b222 fix: add test case 2023-08-07 11:36:33 +08:00
Haojun Liao 8a11a0418f other: merge 3.0 2023-08-07 09:19:26 +08:00
wangjiaming0909 fba43e1748 feature: optimize interval with limit 2023-08-04 15:04:04 +08:00
slzhou d3a9429c3b fix: add test case 2023-08-04 14:17:18 +08:00
Haojun Liao 8dfef8768a other: merge 3.0 2023-07-29 22:54:16 +08:00
kailixu f70709be3c fix: run sim cases on windows 2023-07-28 14:54:03 +08:00
Haojun Liao 2a78cd2d23
Merge pull request #22215 from taosdata/fix/liaohj
other: merge main.
2023-07-28 13:06:17 +08:00
Haojun Liao b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao 3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
wade zhang 120aa46c22
Merge pull request #22194 from taosdata/FIX/TD-25362-3.0
enh: change default WAL_RETENTION_PERIOD as 3600
2023-07-27 09:16:11 +08:00
Haojun Liao 610f9d19c1
Merge pull request #22188 from taosdata/fix/3_liaohj
fix(stream): set the correct step2 scan time window range.
2023-07-26 16:34:10 +08:00
Haojun Liao cdffabcdad fix(stream): fix memory leak. 2023-07-26 14:37:04 +08:00
Benguang Zhao d776abb634 fix: adjust test cases for default WAL_RETENTION_PERIOD as 3600 2023-07-26 14:20:50 +08:00
Haojun Liao 1e34f84f78 other: merge 3.0 2023-07-24 15:23:03 +08:00
Ganlin Zhao 88c13e17c3 add test cases 2023-07-21 11:10:48 +08:00
Haojun Liao 2ae95217bd fix(stream): open inputQ by default for task deployed on snode. 2023-07-19 10:05:35 +08:00
liuyao 14e591c802 mem leak 2023-07-18 14:51:32 +08:00
liuyao d45adeaa4e add checksum 2023-07-17 18:04:17 +08:00
Haojun Liao b2a905bd91
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-17 11:50:12 +08:00
liuyao 44be57b3cb add ci 2023-07-14 16:29:37 +08:00
wangjiaming0909 b850c1af47 fix: state/session/event window with order by _wstart/_wend has no effect 2023-07-14 16:03:59 +08:00
dapan1121 1a19d29eee
Merge pull request #22060 from taosdata/fix/TD-25209
fix: reset interpolation buffer after last valid row for interval + fill(next)
2023-07-14 09:30:56 +08:00
dapan1121 9bf7180074
Merge pull request #21969 from taosdata/enh/TD-23769-3.0
enh: rsma stream state adaption
2023-07-13 19:19:37 +08:00
Ganlin Zhao 2edee69b16 add test cases 2023-07-13 18:49:24 +08:00
Haojun Liao e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
liuyao d8b8112dbe op ci 2023-07-13 17:29:30 +08:00
liuyao b9d274d893 op ci 2023-07-13 17:16:48 +08:00
liuyao d6bb19485a mem leak 2023-07-13 16:53:07 +08:00
liuyao ec2134f758 op ci 2023-07-13 16:24:38 +08:00
Haojun Liao 9484f3da94
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-12 10:20:18 +08:00
kailixu f282acbc4c chore: rsma refactor 2023-07-12 10:13:50 +08:00
kailixu 8c8bcabdd4 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-12 09:11:34 +08:00
Ganlin Zhao ef242ba8fa fix test cases 2023-07-11 11:11:57 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
kailixu cb8b10f6a2 Merge branch '3.0' into enh/TD-23769-3.0 2023-07-07 10:19:43 +08:00
wade zhang 4fa61b9eae
Merge pull request #21699 from taosdata/fix/TD-24717
enh(tdb/recycle): first round implemenation of page recycling
2023-07-06 16:03:03 +08:00
liuyao 0e914a19c6 stream operartor checkpoint 2023-07-06 14:28:34 +08:00
kailixu 61380b7822 chore: test case adaption 2023-07-06 11:09:44 +08:00
kailixu 25d9405b05 chore: rsma test case adaption 2023-07-06 10:45:43 +08:00
Minglei Jin 4f29e14963 tsim/sma/drop_sma: sleep 1s before creating db to avoid in dropping 2023-07-06 10:26:26 +08:00
kailixu 3f6768d8cf chore: rsma rocksdb adaption 2023-07-05 19:43:29 +08:00
kailixu df7866e9f6 chore: refactor 2023-07-05 19:08:43 +08:00
kailixu d093b0e20f chore: merge 3.0 2023-07-05 16:45:12 +08:00
kailixu a709f7c0bb chore: update test case 2023-07-03 19:18:06 +08:00
Haojun Liao 200575647c
Merge branch '3.0' into refact/fillhistory 2023-07-03 15:16:18 +08:00
dapan1121 a36dac2008
Merge pull request #21893 from taosdata/fix/TS-3551-M
enh: update of user auth version
2023-07-03 14:58:09 +08:00
kailixu e8ce5a1000 chore: code optimization 2023-07-02 23:03:13 +08:00
kailixu 06c0d99008 chore: add test case 2023-07-02 22:57:10 +08:00
kailixu 067a8334fd chore: code optimization 2023-06-30 16:30:04 +08:00
kailixu 387d611179 chore: passVer and authVer refact 2023-06-30 14:52:20 +08:00
dapan1121 3519e9170e Merge remote-tracking branch 'origin/main' into 3.0 2023-06-29 11:13:45 +08:00
Haojun Liao ed900d6ff6
Merge branch '3.0' into refact/fillhistory 2023-06-28 13:48:26 +08:00
Haojun Liao 57fcd553f8 refactor: do some internal refactor. 2023-06-28 13:13:13 +08:00
wangjiaming0909 57ddb3437d feature: optimize order by limit using priority queue 2023-06-27 17:50:50 +08:00
Haojun Liao 32fddeff18 fix(stream): fix error retrieve data from source task.And optimize the test cases. 2023-06-27 16:24:47 +08:00
Haojun Liao 3289ad62be other: merge 3.0 2023-06-27 11:33:40 +08:00
Haojun Liao b73444b291 fix(stream): start stream task in case of scan history completing. 2023-06-27 09:44:51 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
slzhou 6de507d392 fix: modify test case 2023-06-25 11:44:01 +08:00
slzhou 1805d30e10 fix: add test case 2023-06-25 11:36:41 +08:00
Haojun Liao ceb78fdad2
Merge branch '3.0' into refact/fillhistory 2023-06-24 18:53:48 +08:00
liuyao 13d9136ad6 add ci 2023-06-21 11:40:08 +08:00
wangjiaming0909 632fb40a43 postfix: propagate ts order to parents for more logic nodes 2023-06-21 09:31:44 +08:00
dapan1121 1ca24fea6b
Merge pull request #21742 from wangjiaming0909/feature/3.0/TD-24656
feature: add input, output ts order for execution plans
2023-06-18 19:24:29 +08:00
kailixu 4097b860d3 enh: support delete tsma interval 2023-06-16 19:04:12 +08:00
wangjiaming0909 61309862c2 fix comments of TD-24656 2023-06-16 18:12:02 +08:00
chenhaoran bc0dc76e7d test:add test case for windows 2023-06-16 17:35:22 +08:00
Haojun Liao 64365666b7 fix(stream): update the info, and do some internal refactor. 2023-06-16 16:04:43 +08:00
wangjiaming0909 fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
slzhou a36557f009 fix: calculate the rows that can be put in one page 2023-06-14 13:44:11 +08:00
kailixu 1812b9e968 Merge branch '3.0' into fix/TD-24567-3.0 2023-06-09 09:55:47 +08:00
dapan1121 5a3d3713dc
Merge pull request #21601 from wangjiaming0909/fix/m/TS-3482
fix: select desc and asc return different rows after delete
2023-06-08 15:17:28 +08:00
dapan1121 6c20a331aa
Merge pull request #21547 from taosdata/fix/TD-24507
fix: fix multiple diffs output less lines if null values involved
2023-06-08 10:37:51 +08:00
dapan1121 a4f5bac344
Merge pull request #21606 from taosdata/szhou/fix-ts3498
fix: rewrite count(*) to count(1) for temp table
2023-06-07 15:56:50 +08:00
liuyao 1f64629740 opt stream ci test 2023-06-07 10:26:06 +08:00
liuyao 2ab43ca0d0 semi interval op check data ts 2023-06-07 09:24:17 +08:00
slzhou ca2314efdb fix: add test case 2023-06-07 08:16:49 +08:00
liuyao 49ca147c47 fix stream ci issue 2023-06-06 19:18:43 +08:00
kailixu bcac24b6b7 fix: tsma query with order by _wstart/_wend 2023-06-06 17:19:59 +08:00
liuyao 201d0f2d18 fix stream ci issue 2023-06-06 16:37:08 +08:00
dapan1121 dff35ac584
Merge pull request #21550 from wangjiaming0909/feature/3.0/TD-23974
feature: add user priv when create db, remove priv check with create_dbs
2023-06-06 11:06:18 +08:00
wangjiaming0909 73585b3552 fix: select desc and asc return different rows after delete 2023-06-05 17:44:34 +08:00
Haojun Liao d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
Haojun Liao 1036259a7b fix(query): fix error in fill. 2023-06-01 18:25:05 +08:00
Haojun Liao 706e350217 fix(query): fix error in fill and partition. 2023-06-01 14:36:42 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
wangjiaming0909 60100a0fb6 feature: add user priv when create db, remove priv check with create_dbs 2023-05-31 18:43:56 +08:00
Ganlin Zhao 1e201da9b7 fix test cases 2023-05-31 16:26:23 +08:00
wangmm0220 e4866d1803 fix:ci test cases error 2023-05-31 10:38:22 +08:00
dapan1121 23bcfc2fd0 enh: stmt column length validation 2023-05-31 09:16:47 +08:00
wangmm0220 fcdf25793b fix:remove useless code 2023-05-30 16:52:53 +08:00
wangmm0220 d490ca753f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 09:48:49 +08:00
wade zhang 3b6d196ec3
Merge pull request #21498 from taosdata/fix/check-empty-dnode
check empty dnode
2023-05-29 17:45:56 +08:00
dmchen 23983e506f fix test case 2023-05-29 16:12:26 +08:00
wangmm0220 78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
dapan1121 6368b27499 fix: sliding case issue 2023-05-29 08:50:57 +08:00
dapan1121 e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
slzhou b83bf9163e fix: restore scalar mode computation and add filterScalarMode config variable and add test case 2023-05-26 14:46:32 +08:00
slzhou 00810d1ffd fix: remove udfpy.sim pycumsum part 2023-05-26 13:10:49 +08:00
Haojun Liao 74f753606b fix(query): add regression test case. 2023-05-26 10:37:36 +08:00
slzhou ab4111b25e enhance: add python udf sample that uses numpy 2023-05-26 08:24:27 +08:00
dapan1121 2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
shenglian zhou 90f542857d enhance: improve document 2023-05-25 11:13:05 +08:00
Dingle Zhang 984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
wangjiaming0909 9a421a92f9 fix: core dump when select with interval caused by order 2023-05-24 10:32:10 +08:00
kailixu c75aa54a3d fix: tsdb read and append _wstart for tsma 2023-05-22 20:33:29 +08:00
dapan1121 778b7b84fd
Merge pull request #21371 from taosdata/fix/TD-24234
fix: distinct wrong result issue
2023-05-19 18:15:04 +08:00
liuyao e1291bd8b4 opt stream ci test 2023-05-19 13:28:58 +08:00
wade zhang 1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
dapan1121 27b228b79b
Merge pull request #21365 from taosdata/fix/TD-24188
enh: optimize order by for partition by clause
2023-05-19 08:57:11 +08:00
Hui Li f6c7dbc28e
Merge pull request #21373 from taosdata/fix/TD-24281
test: increase timeouts of checking db ready
2023-05-18 18:54:05 +08:00
chenhaoran 52e85cb85a test: increase timeouts of checking db ready 2023-05-18 18:53:16 +08:00
dapan1121 79623860a4 fix: distinct wrong result issue 2023-05-18 17:41:01 +08:00
slzhou 3e02bb8faa fix: remove files 2023-05-18 16:26:52 +08:00
slzhou 99b424b181 fix: add test case 2023-05-18 16:26:20 +08:00
liuyao da3fc5111e fix pause agg task 2023-05-18 15:29:41 +08:00
dapan1121 72e6319592 enh: optimize order by for partition by clause 2023-05-18 14:41:32 +08:00
dapan1121 5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
Haojun Liao ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Haojun Liao 041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
dmchen 523b86f792 fix test case 2023-05-16 16:13:31 +08:00
wangjiaming0909 789b0c7178 fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN 2023-05-16 15:42:30 +08:00
kailixu 9faefb7498 Merge branch 'main' into enh/TD-22404-M 2023-05-16 15:17:42 +08:00
kailixu 24acee6e3f chore: restore the test cases 2023-05-16 14:45:06 +08:00
Haojun Liao 170c603995 other: merge 3.0 2023-05-13 20:16:55 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao 236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao 1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
Haojun Liao b383651d8b fix(tmq): fix the invalid write and set the flag when closing taosx sub. 2023-05-13 16:17:26 +08:00
kailixu c1c1e72e21 Merge branch 'main' into enh/TD-22404-M 2023-05-13 14:19:12 +08:00
Haojun Liao 5b2ef2a675 other: merge main and remove invalid return data for poll. 2023-05-13 02:31:39 +08:00
slzhou 51fa0aeb64 Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3400 2023-05-13 00:02:03 +08:00
slzhou 5b866edae7 fix: disable table count scan optimized when filters and group by both exist 2023-05-12 18:51:18 +08:00
Haojun Liao 181f9063e9 other: merge 3.0 2023-05-12 18:13:28 +08:00
dapan1121 0c744e864b
Merge pull request #21258 from taosdata/szhou/fix-td24084
fix: bypass projection pruning if union set op and subquery
2023-05-12 17:02:54 +08:00
Haojun Liao 99422c87c3 fix(tq): set the offset to be the consume offset, instead of the committed offset. And update the table sim. 2023-05-12 16:14:56 +08:00
Haojun Liao 4b961753a5 test: update the test case. 2023-05-12 15:13:25 +08:00
kailixu 0c9aa5bf3f merge main 2023-05-12 13:55:22 +08:00
kailixu 00f15c19aa merge main 2023-05-12 13:52:47 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
kailixu 2e0d463471 fix: update test case alter_column.sim 2023-05-12 09:57:11 +08:00
slzhou d8a7e14065 enhance: add test case 2023-05-12 07:20:27 +08:00
slzhou 00fb5acad7 enhance: add test case 2023-05-12 07:19:03 +08:00
kailixu f4d90fb9bb fix: column length check when update/add column 2023-05-11 20:59:07 +08:00
chenhaoran 57d67faabe test:add testcases of learner in election 2023-05-11 19:05:21 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Yihao Deng c6e5879f44
Merge branch 'main' into enh/rocksdbSstate 2023-05-10 10:04:28 +08:00
yihaoDeng 55014aa003 Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-05-09 08:58:51 +00:00
shenglian zhou d05650475e enhance: add test case 2023-05-09 14:32:35 +08:00
shenglian zhou 50feb64748 fix: add check nchar/varchar column length for normal table 2023-05-09 14:29:09 +08:00
dapan1121 a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +08:00
Yihao Deng cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
Alex Duan b925342ad0 test: fix tsim/db/error1.sim random failed 2023-05-06 15:08:33 +08:00
Alex Duan fc799bcd19 test: fix tsim/db/error1.sim random failed 2023-05-06 15:06:53 +08:00
kailixu b396cbd33f Merge branch '3.0' into enh/TD-21161-3.0 2023-05-05 20:28:27 +08:00
yihaoDeng 1e09515b98 fix mem leak 2023-05-04 12:10:24 +00:00
Benguang Zhao cfc2b2ecda test: adjust test case split_vgroup_replica1.sim 2023-05-04 19:46:53 +08:00
liuyao d17de8b32b add test case 2023-05-04 14:02:39 +08:00
kailixu 94d945a889 Merge branch 'main' into enh/TD-22404-M 2023-05-02 18:34:41 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
kailixu fa822ff286 Merge branch '3.0' into enh/TD-21161-3.0 2023-04-27 19:11:16 +08:00
Minglei Jin 3822a5858b sim/valgrind: suppress rocks reachables 2023-04-26 16:03:37 +08:00
dapan1121 919d98d393
Merge pull request #21066 from taosdata/szhou/tag-scan-group-slimit
feature: tag scan group and slimit
2023-04-26 11:17:29 +08:00
Xiaoyu Wang 05dc0fd6b1
Merge pull request #21056 from taosdata/feat/TD-23693
feat: subtable level privilege
2023-04-26 09:17:23 +08:00
Xiaoyu Wang e584bb3ea1 feat: subtable level privilege 2023-04-25 17:39:28 +08:00
54liuyao 9ba7726385 add test 2023-04-25 17:21:21 +08:00
54liuyao b79313ecd7 pause&resume 2023-04-25 16:59:09 +08:00
shenglian zhou ae773fee8b feature: add test case 2023-04-25 14:43:22 +08:00
kailixu b059cc4ee1 chore: code optimization 2023-04-25 10:59:02 +08:00
liuyao d429e070da fix fill bug 2023-04-24 18:23:35 +08:00
liuyao eca7b68fa0 ignore update 2023-04-24 15:01:56 +08:00
Haojun Liao fa46165227 Merge branch 'main' into enh/rocksdbSstate 2023-04-24 12:59:24 +08:00
Haojun Liao a4258a5af0
Merge pull request #21019 from taosdata/fix/tagFilterError
fix filter err
2023-04-23 19:58:27 +08:00
kailixu ee1a4b665a chore: more code 2023-04-23 17:48:03 +08:00
kailixu 0256b44be8 chore: code optimization 2023-04-23 17:45:03 +08:00
liuyao 641c707b37 pause&resume 2023-04-23 17:37:10 +08:00
yihaoDeng acee9e1862 fix filter err 2023-04-23 08:32:59 +00:00
Xiaoyu Wang 4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
yihaoDeng 4291cfda21 fix filter err 2023-04-23 07:18:23 +00:00
kailixu df40699a50 Merge branch 'main' into enh/TD-22404-M 2023-04-23 15:01:31 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
dapan1121 9e22bd07a4
Merge pull request #21008 from taosdata/szhou/fix-ts3248
fix: when db_name!=xxx can not be used in systable scan index
2023-04-23 09:50:14 +08:00
dapan1121 f4d1ac4e93
Merge pull request #21007 from taosdata/feat/TS-3249
feat: support table_prefix/table_suffix new mode
2023-04-21 19:18:28 +08:00
kailixu fb99654899 chore: add UT 2023-04-21 18:22:44 +08:00
slzhou d0b370e736 fix: add test case 2023-04-21 16:28:25 +08:00
dapan1121 877b6e7053 fix: add table_prefix/table_suffix cases 2023-04-21 14:58:58 +08:00
Haojun Liao 2b74583b87
Merge pull request #21002 from taosdata/fix/liaohj_main
fix(stream): set the correct number of tasks.
2023-04-21 14:52:07 +08:00
Haojun Liao 6c641cff39 fix(stream): fix error in start stream tasks. 2023-04-21 09:37:16 +08:00
liuyao 182eb7f9ee add loop 2023-04-20 19:30:30 +08:00
shenglian zhou cc78a6356c fix: do not performace table count scan optimized where there are no agg functions 2023-04-20 13:54:22 +08:00
liuyao f2560fd5e9 opt test 2023-04-20 11:50:42 +08:00
liuyao d29dcb4bcf add loop 2023-04-20 10:50:07 +08:00
liuyao 602b1b7476 add test loop 2023-04-20 09:25:33 +08:00