Commit Graph

1601 Commits

Author SHA1 Message Date
Bob Liu 3b0d1480f7 adjust case 2023-12-22 18:14:26 +08:00
Bob Liu 3bfc7b3486 adjust case 2023-12-22 18:14:26 +08:00
Bob Liu e3098accc4 support count empty table 2023-12-22 18:14:26 +08:00
chenhaoran 536c002ae4 test: modify test of last_cache_scan.py 2023-12-22 16:48:57 +08:00
chenhaoran 74d5c4aa4b Merge branch '3.0' of https://github.com/taosdata/TDengine into test/3.0/TD-27992 2023-12-22 16:13:10 +08:00
wangjiaming0909 153221e1d6 fix: cache scan heap overflow and forbid DDD for to_char in windows 2023-12-21 19:46:33 +08:00
chenhaoran f564e3f7bf test: modify test of last_cache_scan.py 2023-12-21 18:43:40 +08:00
Alex Duan 3bdf514082
Merge pull request #24153 from taosdata/test/3.0/TD-27980
test: support for windows in ci cases
2023-12-21 10:03:20 +08:00
haoranchen 3c7170a974
test:modify debugflag 131 in db.py and default dnode 2023-12-20 18:45:33 +08:00
chenhaoran 8160eaec90 test: support for windows in ci cases 2023-12-20 16:19:21 +08:00
dapan1121 cd044137a0
Merge pull request #24130 from taosdata/fix/3.0/TD-27945
fix: session window block row index overflow
2023-12-20 16:13:47 +08:00
chenhaoran cfa1faf79e test: support for windows using 'taos -s' 2023-12-19 15:51:27 +08:00
wangjiaming0909 ad24c03538 fix: session window block row index overflow 2023-12-19 14:31:13 +08:00
wangmm0220 4cc47a2edf fix:test case error 2023-12-07 17:19:10 +08:00
wangmm0220 865906eaae Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-27676 2023-12-07 16:33:10 +08:00
wangmm0220 60500f4a81 fix:error 2023-12-07 15:17:15 +08:00
dapan1121 a4242e829a
Merge pull request #23960 from taosdata/enh/xsren/TD-26882
Enh/xsren/td 26882
2023-12-07 13:23:28 +08:00
dapan1121 30eb035447
Merge pull request #23940 from taosdata/fix/TS-4327
fix: last/last_row crash with dropped column
2023-12-06 17:57:24 +08:00
factosea a0e356bf84 Keep the last data with the same timestamp when inserting 2023-12-06 15:20:05 +08:00
wangjiaming0909 a6c876bbc1 fix: last/last_row crash with dropped column 2023-12-05 14:16:01 +08:00
dapan1121 7589bbab45
Merge pull request #23921 from taosdata/fix/TS-4282-3.0
fix: skip NULL tag
2023-12-05 13:21:00 +08:00
dapan1121 24a2e857c3
Merge pull request #23816 from taosdata/enh/xsren/TD-27474/timezone3.0
fix timezone range
2023-12-05 13:17:55 +08:00
kailixu f3a075ee9e test: check null json tag 2023-12-04 21:00:13 +08:00
facetosea 02ff87b3a3 fix: revert test case 2023-12-04 19:18:20 +08:00
factosea c83b7b80de test case 2023-12-04 14:46:28 +08:00
wangjiaming0909 fd290709ff fix: state window with block rowIndex overflow 2023-12-01 15:27:30 +08:00
root a3737fe54d Fix bug [4258]: add process ignore/no timezone for timetruncate unit is 1w 2023-11-23 18:08:58 +08:00
Haojun Liao 785d91c17b
Merge pull request #23661 from taosdata/feat/TD-26060
fix: errors in snode in conditions like fill history/checkpoint/restart
2023-11-21 19:02:38 +08:00
wangmm0220 e7593b4bcf fix:testcase error 2023-11-17 15:52:42 +08:00
“happyguoxy” 702a7f1d99 test: add insert stable data and to_char\to_timestamp cases 2023-11-16 09:34:06 +08:00
“happyguoxy” 9f797468bc test: add insert stable data and to_char\to_timestamp cases 2023-11-16 09:00:40 +08:00
“happyguoxy” 4b210bd479 test: add insert stable data and to_char\to_timestamp cases 2023-11-15 20:12:12 +08:00
“happyguoxy” 12a819c24f test: add insert stable data and to_char\to_timestamp cases 2023-11-15 19:22:57 +08:00
“happyguoxy” e10f6ebf85 test: add insert stable data and to_char\to_timestamp cases 2023-11-15 18:18:39 +08:00
“happyguoxy” 592395950e test: add insert stable data and to_char\to_timestamp cases 2023-11-15 17:13:55 +08:00
dapan1121 dfb3feb5dc Merge remote-tracking branch 'origin/main' into merge/m23 2023-11-15 11:39:18 +08:00
dapan1121 22a97ee44a
Merge pull request #23672 from taosdata/fix/3.0/TS-4241
fix to_iso8601
2023-11-14 18:17:12 +08:00
dapan1121 a47c7c1b65
Merge pull request #23618 from taosdata/fix/3.0/TS-4233
fix shellRunSingleCommandImp
2023-11-14 13:49:41 +08:00
Bob Liu 1ef0167edd fit to_iso8601 test case 2023-11-14 08:20:29 +08:00
Bob Liu 05eb328b22 add test case for \G, >> in sql, excute in shell 2023-11-13 15:20:35 +08:00
dapan1121 40ab3d7cc6
Merge pull request #23431 from taosdata/szhou/tbname-prune-vgroup
enhance: use tbname equal cond to prune vgroups
2023-11-13 08:34:31 +08:00
slzhou 792e0db350 enhance: add join test case 2023-11-10 17:00:10 +08:00
slzhou 918fadaf00 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-10 16:45:13 +08:00
slzhou 9d448c7c6c fix: review comments 2023-11-10 16:30:16 +08:00
dapan1121 350fac01a0 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-10 11:48:55 +08:00
dapan1121 4cba023447 fix: case issue 2023-11-10 11:47:02 +08:00
slzhou 97804695d2 query: add test case 2023-11-09 15:59:49 +08:00
wangjiaming0909 a6600ab23a correct colid in blockinfo 2023-11-09 15:41:01 +08:00
wangjiaming0909 3e850df3c2 fix: last(ts2), ts2, ts caused data err 2023-11-08 14:43:11 +08:00
slzhou 144856893c enhance: check no exchange operator 2023-11-08 14:19:30 +08:00
wangjiaming0909 fc6c4fba90 feat: cache scan for select last(c), ts/c 2023-11-08 13:39:28 +08:00
slzhou 680afd41b0 enhance: add test case 2023-11-08 10:40:07 +08:00
slzhou 41fa664916 enhance: add test case 2023-11-06 14:52:34 +08:00
dapan1121 92240d7f95
Merge pull request #23505 from taosdata/fix/3.0/TS-4052
fix: nano seconds database error
2023-11-03 10:27:40 +08:00
wangjiaming0909 b71a013b8d fix: nano seconds database error 2023-11-02 09:36:46 +08:00
chenhaoran 89a9a5f193 test:add testcase of the same ts data 2023-11-01 18:17:32 +08:00
dapan1121 0a97f18d72
Merge pull request #23344 from taosdata/feat/3.0/TS-4052
feat: support to_timestamp/to_char
2023-10-30 14:04:33 +08:00
dapan1121 8650c5d4b0
Merge pull request #23392 from taosdata/feat/3.0/TS-4044
feat: support all utf8 characters as alias
2023-10-30 10:04:37 +08:00
wangjiaming0909 cf158ab428 feat: support all utf8 characters as alias 2023-10-27 15:23:26 +08:00
wangjiaming0909 70850697a4 feat: support to_timestamp/to_char fix comments 2023-10-27 09:54:16 +08:00
dapan1121 9bf8be1ab4
Merge pull request #23354 from taosdata/fix/3.0/TD-26779
fix: union all cast func resType check error
2023-10-24 16:11:50 +08:00
wangjiaming0909 f299a28109 feat: support to_timestamp/to_char 2023-10-23 19:36:03 +08:00
wangjiaming0909 720982374c fix: union all cast func resType check error 2023-10-20 10:36:52 +08:00
wangjiaming0909 04c60486e9 feat: support interval syntax of quoted duration and default unit 2023-10-19 15:46:19 +08:00
Alex Duan 5204c99cc7 case: add tbname limit 1 offset 100 2023-10-19 11:33:41 +08:00
wangmm0220 a16c9be49f feat:[TD-19291]Schemaless table name can be composed based on rule 2023-10-17 15:34:16 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
wangjiaming0909 eea90507d4 feat: remove partition node for agg 2023-10-10 14:29:36 +08:00
wangjiaming0909 2340a952aa fix: group by operator may cause client assert fail 2023-09-28 10:23:33 +08:00
Haojun Liao d214a2f6bd fix(stream): do some internal refactor. 2023-09-26 09:32:57 +08:00
dapan1121 f0c1585508
Merge pull request #22957 from taosdata/feat/xsren/TS-4000/fillVarchar3.0
fill data of varchar type
2023-09-22 16:16:13 +08:00
wangjiaming0909 2ccbc8441d fix: interval_limit_opt.py timeout, privilege_create_db.sim fail sometimes 2023-09-22 13:18:49 +08:00
wangjiaming0909 f2832b5aa7 feat: pipelined agg when partition by col slimit 2023-09-21 17:45:49 +08:00
xsren 3026c80073 add fill test case 2023-09-19 16:52:03 +08:00
Alex Duan dfff811ca9 fix: add db database on sql 2023-09-19 14:47:08 +08:00
xsren 9d49c0cd4a test case update 2023-09-18 18:10:13 +08:00
Alex Duan 46a9a906e0 case: add use db sql 2023-09-15 17:57:54 +08:00
Alex Duan bc1371a4b7 case: add use db 2023-09-15 15:49:35 +08:00
Alex Duan 0e6486e3ec test: sql.py remove successful print and add diff case 2023-09-15 14:28:45 +08:00
dapan1121 8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
Ping Xiao 70e70205aa add test case for join 2023-09-14 16:29:48 +08:00
wangjiaming0909 cb78c54d72 optimize sort perf 2023-09-13 18:37:42 +08:00
Haojun Liao 60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
dapan1121 dd1457e49c fix: join condition with single param operator 2023-09-12 19:18:43 +08:00
chenhaoran 954f8321d0 test: modify expect data type from str to datetime 2023-09-11 19:10:57 +08:00
chenhaoran 5d1eac3c2e Merge branch 'main' of https://github.com/taosdata/TDengine into test/main/TD-26192 2023-09-11 15:29:48 +08:00
chenhaoran 53051a2bea test: modify expect data type from str to datetime 2023-09-07 22:51:30 +08:00
dapan1121 615c619bba
Merge pull request #22782 from taosdata/fix/TS-3897
fix: fix diff not support unsigned type
2023-09-07 16:17:42 +08:00
dapan1121 fdeb924d0d
Merge pull request #22715 from taosdata/fix/m/TD-26114
fix: desc fill missed one window
2023-09-07 11:36:30 +08:00
wangjiaming0909 4a131000e4 fix: data error of partition by col + interval 2023-09-07 10:49:09 +08:00
Ganlin Zhao a1632cac5d add test cases 2023-09-06 18:53:25 +08:00
chenhaoran 24140902cf test:replace clock_gettime in cases for win 2023-09-06 17:36:55 +08:00
Alex Duan 841a36ef9f
Merge pull request #22749 from taosdata/test/main/TD-26162
test:replace clock_gettime in cases for win
2023-09-06 11:22:04 +08:00
wangjiaming0909 5dedaebb01 fix: desc fill missed one window 2023-09-06 10:53:19 +08:00
chenhaoran 600f89aa89 test:replace clock_gettime in cases for win 2023-09-05 18:17:25 +08:00
wangjiaming0909 2c4e0fee07 feat: optimize partition node, replace with sort node 2023-09-05 10:53:30 +08:00
wangjiaming0909 22b53c3ece fix: 1. select tag from meters partition by tag limit returned wrong num of rows
2. select tag from meters partition by tag returned wrong num of rows
2023-09-04 18:16:12 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121 eda96e4301 Merge remote-tracking branch 'origin/main' into fix/m23.2 2023-09-01 11:02:54 +08:00
dapan1121 228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
dapan1121 071e595344 fix: case issue 2023-09-01 08:41:36 +08:00
dapan1121 cff17434a2 fix: aggragate function omited issue 2023-08-31 16:23:00 +08:00
dapan1121 a1c55d0584
Merge pull request #22564 from taosdata/fix/TD-25540-new
fix: fix where ts < now used in nested query report invalid timestamp
2023-08-30 16:48:20 +08:00
dapan1121 15f57cadfb fix: other join conditions issue 2023-08-30 13:45:59 +08:00
Haojun Liao b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
wangmm0220 34c7832850 feat:support stmt/tmq json in varbinary type 2023-08-29 15:24:12 +08:00
dapan1121 667fe69fd1 fix: join on condition split issue 2023-08-29 10:40:32 +08:00
dapan1121 0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +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
dapan1121 1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
wangmm0220 26e025d78d feat:[TD-18789]support varbinary type 2023-08-25 15:43:45 +08:00
Ganlin Zhao b5172e8589 add cases 2023-08-25 09:42:42 +08:00
Haojun Liao 6f514b2bee
Merge pull request #22561 from taosdata/fix/TD-25651
fix:[TD-25651] reset epoch if consumer changed to avoid consumeing no…
2023-08-25 09:09:41 +08:00
wangmm0220 8045f30be8 fix:sml test case error for tbname 2023-08-24 23:15:35 +08:00
Ganlin Zhao 2a5f4a3bc4 add cases 2023-08-24 17:11:58 +08:00
wangjiaming0909 3c8bd57140 fix: fill operator with desc ts order returned 1 more rows 2023-08-24 13:31:28 +08:00
dapan1121 599e496ceb
Merge pull request #22518 from taosdata/test/union_timeline
test: add test cases for timeline function used for select * union query
2023-08-24 09:23:18 +08:00
Ganlin Zhao bae7bee389 fix error 2023-08-23 23:59:24 +08:00
dapan1121 3eb0803730
Merge pull request #22517 from taosdata/fix/addHintCase
fix: add hint test cases
2023-08-22 17:34:16 +08:00
Ganlin Zhao 502788215b fix error 2023-08-22 17:32:36 +08:00
Ganlin Zhao dba7c68de1 test: add test cases for timeline function used for select * union query 2023-08-22 15:41:04 +08:00
dapan1121 8181c91219 fix: fix case issue 2023-08-22 15:16:36 +08:00
dapan1121 fb51be4a78 fix: add hint test cases 2023-08-22 14:58:42 +08:00
dapan1121 5faf7d967d fix: table version release issue 2023-08-22 13:55:45 +08:00
wangjiaming0909 aec02a55be fix: fill last group data between groups 2023-08-21 13:05:13 +08:00
dapan1121 3f4e82613b fix: no targets in join issue 2023-08-18 14:41:02 +08:00
dapan1121 a1d6ddf9ed fix: tbname not found issue 2023-08-18 09:06:34 +08:00
Haojun Liao ad9f3cbc43 other: merge main. 2023-08-16 09:14:10 +08:00
Haojun Liao 9e3733a02c
Merge pull request #22358 from taosdata/feat/TD-24559
feat:[TD-24559]support geomety type in schemaless
2023-08-14 22:06:41 +08:00
dapan1121 20b3f8c1aa
Merge pull request #22402 from taosdata/fix/TS-3799
fix: add time window boundary check before interpolation
2023-08-11 17:59:55 +08:00
Ganlin Zhao b6e0e07667 add test case 2023-08-11 10:19:45 +08:00
dapan1121 1f3eacba17
Merge pull request #22365 from taosdata/enh/TD-25366
enh: remove timeline dependence of certain functions
2023-08-10 17:08:05 +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
Ganlin Zhao b17f4a9c58 add test cases 2023-08-10 11:05:18 +08:00
Ganlin Zhao 11823580c7 fix test cases 2023-08-09 17:13:31 +08:00
Ganlin Zhao 70e4b4f44e remove unique need of primary ts 2023-08-09 14:30:34 +08:00
Ganlin Zhao 6ab16e89d4 add tail, unique cases 2023-08-09 14:27:41 +08:00
Ganlin Zhao 8b84e0544c add test cases for leastsquares 2023-08-09 11:40:23 +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
wangmm0220 607132c18a feat:[TD-24559]support geomety type in schemaless 2023-08-08 10:33:55 +08:00
chenhaoran a0c5d130ae test:repire test case for windows 2023-08-07 18:32:58 +08:00
wangjiaming0909 fba43e1748 feature: optimize interval with limit 2023-08-04 15:04:04 +08:00
wangmm0220 1f8e5eae6a fix:conflicts 2023-07-28 15:04:12 +08:00
wangmm0220 f2553b8718 fix:add configuration to control if change dot to underline in schemaless 2023-07-26 09:52:04 +08:00
wangmm0220 2714db10bd fix:modify dot to underline in schemaless supertable name 2023-07-24 19:15:33 +08:00
dapan1121 6fbf251978
Merge pull request #22138 from taosdata/enh/TS-3625
fix: fix(value, null) output behavior
2023-07-24 13:17:19 +08:00
wade zhang 7b1e809d98
Merge pull request #21794 from taosdata/enh/tsdb_optimize
for test purpose
2023-07-21 14:18:32 +08:00
Ganlin Zhao 3da83700dd add test cases 2023-07-21 10:35:41 +08:00
wangjiaming0909 7d850c1a5e feat: optimize partition by tbname slimit 2023-07-20 15:07:55 +08:00
Hongze Cheng 1fad69df3b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-14 10:13:15 +08:00
Ganlin Zhao 33940d711a add test cases 2023-07-10 11:29:14 +08:00
Ganlin Zhao bf3a199166 add test case 2023-07-04 11:31:49 +08:00
Hongze Cheng 214c92264c Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize 2023-07-03 11:27:26 +08:00
Haojun Liao 9e98c64b1e fix(tsdb): set correct stt load info. update the test case. 2023-06-30 22:57:49 +08:00
Alex Duan e65c691e73 fix: add order by _wstart case with orderBy.py 2023-06-30 15:45:43 +08:00
wangjiaming0909 57ddb3437d feature: optimize order by limit using priority queue 2023-06-27 17:50:50 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Ganlin Zhao eb6bc0a64f add test case 2023-06-26 09:42:13 +08:00
Hui Li d95a456290 Merge pull request #21771 from flyingangel2013/ts_3405_fix
update test case to combine three cases into one, reduce the time cos…
2023-06-21 15:43:17 +08:00
dapan1121 205e79ad28
Merge pull request #21736 from taosdata/fix/TD-24790
fix: fix fill double type column with scalar expression error
2023-06-15 18:45:40 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Ganlin Zhao 99ae96daf6 add test cases 2023-06-15 11:01:07 +08:00
Hui Li bca86d6936
Merge pull request #21678 from taosdata/test/TD-24713-MAIN
test: make diff function testing case to pass
2023-06-14 08:34:26 +08:00
dapan1121 f84eef0ac4
Merge branch '3.0' into feat/TD-24499 2023-06-13 15:27:18 +08:00
Haojun Liao 933d08b489
Merge pull request #21690 from taosdata/feature/TS-3495
feat:add parameters for consumer & add offset rows for subscription
2023-06-13 14:59:15 +08:00
dapan1121 b8b3036905 fix: fix case issue 2023-06-13 13:53:40 +08:00
wangmm0220 1cbe7c8f29 fix:column length for ins_columns 2023-06-12 19:16:23 +08:00
Hui Li 2311a670ab
Merge pull request #21475 from flyingangel2013/ts_3423
add test case for task 3423 by charles
2023-06-09 16:28:16 +08:00
Hui Li 5fab73aca5
Merge pull request #21471 from flyingangel2013/ts_3405
add test case for task 3405 by charles
2023-06-09 16:27:35 +08:00
Alex Duan 2bafca4b2b test: make diff function testing case to pass 2023-06-09 12:55:07 +08:00
dapan1121 958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +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
Ganlin Zhao 46baeefea7 fix test cases 2023-06-07 18:39:33 +08:00
dapan1121 01683f6d92
Merge pull request #21527 from taosdata/feat/TS-3048
feat(query): support single point interp
2023-06-06 18:17:20 +08:00
Ganlin Zhao e8eadeb9f5 Merge branch '3.0' into feat/TS-3048 2023-06-06 14:55:12 +08:00
dapan1121 65d323d9c7
Merge pull request #21222 from taosdata/fix/TD-24001
enh: optimize timeline function validation
2023-06-06 14:22:53 +08:00
Ganlin Zhao 384aa4d70b add test cases 2023-06-05 16:41:09 +08:00
dapan1121 8aa2e96d4e fix: test case issue 2023-06-05 11:26:45 +08:00
Haojun Liao 2e5a56a037
Merge pull request #21570 from taosdata/fix/liaohj_main
other: merge  3.0 into main.
2023-06-02 13:12:27 +08:00
Hui Li b9cdbe964f
Merge pull request #21438 from flyingangel2013/ts_3398
add test case for ci from test task ts_3398 by charles
2023-06-02 11:51:51 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Ganlin Zhao bd4021c599 fix test case 2023-05-31 16:10:38 +08:00
Ganlin Zhao 35af4a9585 add test cases 2023-05-31 13:45:16 +08:00
Ganlin Zhao 34d43647f6 add test cases 2023-05-31 13:42:02 +08:00
Alex Duan 772ef3bd19 test: modfiy insert rows to small 2023-05-30 15:39:15 +08:00
Alex Duan ed9eaf541d test: add smaBasic.py test case 2023-05-30 14:37:46 +08:00
Alex Duan 6a7d8858dc test: add smaBasic.py test case 2023-05-30 14:36:51 +08:00
Ganlin Zhao 0dc8baede4 add test cases 2023-05-30 14:21:47 +08:00
chao.feng 5d3e405032 update the test case by charles 2023-05-26 14:19:35 +08:00
chao.feng 8e735dc608 update test case ts_3405.py to reduce the testing time 2023-05-26 10:47:05 +08:00
chao.feng 4a4e3d9275 update replica number in case and only left the scenario of 3 replica 2023-05-25 11:53:10 +08:00
Ganlin Zhao bd45785dfd add test cases 2023-05-24 01:30:48 -07: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
Haojun Liao 99f669434a
Merge pull request #21282 from taosdata/feature/TD-23117
feat:[TD-23117] add schema for ins_topics
2023-05-24 14:54:42 +08:00
wangmm0220 fc618d7978 fix:modify ci 2023-05-23 17:52:24 +08:00
wangmm0220 b9c613da75 fix:ci error 2023-05-22 18:36:47 +08:00
dapan1121 70444e2d82
Merge pull request #21329 from taosdata/feat/TD-21187
feat(query): interp support ignore null value opition
2023-05-20 14:14:21 +08:00
Ganlin Zhao 91414ed8e3 fix test case 2023-05-19 16:54:40 +08:00
Ganlin Zhao 836efcac95 add test cases 2023-05-19 16:44:08 +08:00
Ganlin Zhao 0de1c61cea add test cases 2023-05-19 15:09:30 +08:00
Ganlin Zhao 807ec0b967 fix test case 2023-05-19 10:39:33 +08:00
Ganlin Zhao 0a41ba1573 add test cases 2023-05-18 18:48:00 +08:00
Ganlin Zhao 312e77f7c2 add test cases 2023-05-17 17:53:36 +08:00
Ganlin Zhao 30b152c434 add test cases 2023-05-17 17:17:36 +08:00
Ganlin Zhao 18530e8b33 add test cases 2023-05-17 15:57:44 +08:00
Ganlin Zhao 1a59ac6c0a add test cases 2023-05-17 14:56:19 +08:00
Haojun Liao 43e06b9132 Merge branch '3.0' into feature/3_liaohj 2023-05-12 13:36:02 +08:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
dapan1121 9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
kailixu efd6b578ff chore: more code 2023-05-11 14:57:50 +08:00
kailixu 9f43e5a59f chore: update check of information_schema.ins_columns 2023-05-11 10:53:27 +08:00
Ganlin Zhao 6afc40110d add dup ts check case 2023-05-09 15:06:06 +08:00
Ganlin Zhao b5026a8775 add duplicate timestamp case 2023-05-06 10:34:20 +08:00
Ganlin Zhao a3b84b0581 add more cases 2023-05-05 15:43:04 +08:00
wangmm0220 3fb2d7656d fix:[TS-3303]use stable name + child table name as key to save uid to avoid multi items for one table in submit block 2023-05-05 13:39:37 +08:00
wangmm0220 1d8c517844 fix:[TS-3303]use stable name + child table name as key to save uid to avoid multi items for one table in submit block 2023-05-05 10:46:54 +08:00
Ganlin Zhao 7b01cad063 add test cases 2023-05-04 18:58:07 +08:00
“happyguoxy” 60a6f733fd test: refine query cases 2023-04-24 10:30:10 +08:00
“happyguoxy” 7960528993 test: refine query cases 2023-04-24 10:29:47 +08:00
Ganlin Zhao 01c3df9a55 fix test cases 2023-04-18 17:12:49 +08:00
Ganlin Zhao 56ab728a42 add test cases 2023-04-18 14:18:06 +08:00
Xiaoyu Wang d3642c84a2 Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-13 16:36:30 +08:00
Ganlin Zhao be3082c85e add test cases 2023-04-13 14:36:16 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +08:00
dapan1121 3493fffa2f
Merge pull request #20863 from taosdata/fix/TD-23556
fix: fix max/min(tag) random result
2023-04-13 09:57:18 +08:00
Xiaoyu Wang 8b8ac0cd77 merge main 2023-04-12 10:43:28 +08:00
Xiaoyu Wang f7946ace33 merge main 2023-04-11 19:52:40 +08:00
Xiaoyu Wang 9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
wangmm0220 54a414a934 fix:rm useless fileContent function 2023-04-11 18:35:05 +08:00
Xiaoyu Wang 5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
feature: udf replace function
2023-04-11 17:25:21 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Ganlin Zhao bbae7259cf add test cases 2023-04-11 15:47:27 +08:00
Ganlin Zhao 89e4b15d8e add test cases 2023-04-10 18:36:15 +08:00
Xiaoyu Wang 655be1e55d feat: table level privilege 2023-04-10 16:37:10 +08:00
shenglian zhou 455719befa fix: use us time unit for last fetch time 2023-04-06 18:09:29 +08:00
slzhou 7d9befbe3a fix: add testcase 2023-04-04 15:24:14 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Hui Li 0d3ac6c304
Merge pull request #20702 from taosdata/test/TD-22592
Test/td 22592
2023-03-30 14:48:59 +08:00
Haojun Liao d947619b4f
Merge pull request #20691 from taosdata/feature/3_liaohj
fix(stream):fix the race condition when creating new tables.
2023-03-30 14:39:20 +08:00
dapan1121 8f3c41fc70 fix: add more column update cases 2023-03-30 11:03:40 +08:00
“happyguoxy” 2aeda10174 test: refine query cases 2023-03-30 10:22:17 +08:00
“happyguoxy” cf99c2e69d test: refine query cases 2023-03-30 10:18:53 +08:00
“happyguoxy” 8825b89314 test: refine query cases 2023-03-30 10:18:36 +08:00
“happyguoxy” 01ae6da8a4 test: refine query cases 2023-03-30 10:18:22 +08:00
“happyguoxy” 2e8e5a98e9 test: refine query cases 2023-03-30 10:18:05 +08:00
Haojun Liao 56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
“happyguoxy” f61732dca3 test: refine query cases 2023-03-29 16:56:53 +08:00
slzhou accebcedc4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf-improvement 2023-03-29 14:52:04 +08:00
slzhou eb1612483c fix: pass odbc.py test. add two columns 2023-03-29 08:56:49 +08:00
Xuefeng Tan cebe53a483
fix: fix test `cast.py` for windows (#20676) 2023-03-28 19:08:43 +08:00