Commit Graph

22046 Commits

Author SHA1 Message Date
Haojun Liao 0ae2034ebb fix: fix syntax error. 2023-03-28 16:05:05 +08:00
Haojun Liao 7342aeb750 fix(tmq): fix the syntax error. 2023-03-28 15:42:53 +08:00
dapan1121 22ad3129b9 fix: query schema is old issue 2023-03-28 15:21:47 +08:00
Haojun Liao a883e57cf2 Merge branch 'main' into fix/liaohj 2023-03-28 15:07:32 +08:00
Haojun Liao 68f310dd48 refactor: do some internal refactor. 2023-03-28 15:05:10 +08:00
Haojun Liao 4fd3064fd9 refactor: do some internal refactor. 2023-03-28 14:43:37 +08:00
Haojun Liao ac9773b5df
Merge pull request #20670 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-03-28 14:32:10 +08:00
Haojun Liao c36c5253c5 refactor: do some internal refactor. 2023-03-28 13:31:40 +08:00
Haojun Liao 6c1515624a refactor: do some internal refactor. 2023-03-28 11:24:12 +08:00
Haojun Liao fca79dbc53 Merge branch 'fix/liaohj' into main 2023-03-28 11:20:01 +08:00
slzhou 169d0ee13c fix: scalar return and log error of udf execution 2023-03-28 11:18:14 +08:00
Ganlin Zhao 2198ae2060 fix(query): spread/elapsed using sma result for computation 2023-03-28 10:49:49 +08:00
Haojun Liao c158087d66 fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. 2023-03-28 09:53:49 +08:00
Haojun Liao 9b5e53c821
Merge pull request #20642 from taosdata/fix/TD023101
fix:add test case for raw_block interface
2023-03-28 09:46:09 +08:00
Haojun Liao 5c128e2292 refactor: do some internal refactor. 2023-03-28 09:27:48 +08:00
dapan1121 80798dd934 fix: job retry issue 2023-03-28 09:20:53 +08:00
shenglian zhou b6542fb286 fix: add language and definition body to ins_functions 2023-03-28 08:43:34 +08:00
dapan1121 61571d9296 enh: optimize count performance 2023-03-27 19:40:29 +08:00
Xiaoyu Wang 6726bda9de
Merge pull request #20652 from taosdata/fix/wrong-field-logging
wrong field logging
2023-03-27 19:05:15 +08:00
dapan1121 ad0505b2ef
Merge pull request #20653 from taosdata/fix/TS-2987
fix: fix cfg load enviroment variables crash when environ is NULL
2023-03-27 18:50:13 +08:00
Xiaoyu Wang 97855c6233
Merge pull request #20607 from taosdata/FEAT/TD-23257-3.0
feat: WAL cleanup not affected by topic consumption anymore
2023-03-27 17:58:31 +08:00
Xiaoyu Wang 77f27bb9df
Merge pull request #20613 from taosdata/FIX/TD-23308-main
enh: disable timely vnodeCommit
2023-03-27 17:58:20 +08:00
54liuyao cf2d169f75 feat:coverity scan 2023-03-27 16:17:49 +08:00
Xiaoyu Wang c4791d58a6 fix: create stream does not support event_window 2023-03-27 16:09:38 +08:00
Ganlin Zhao 3c70008b4b fix: fix cfg load enviroment variables crash when environ is NULL 2023-03-27 15:41:50 +08:00
cadem 2495d0781d wrong field logging 2023-03-27 15:11:20 +08:00
54liuyao 3a12e36b4b fix:add combine function for last row 2023-03-27 14:13:17 +08:00
Xiaoyu Wang af53a3a226
Merge pull request #20643 from taosdata/fix/main_bugfix_wxy
fix: enterprise version displays the associated community version gitinfo
2023-03-27 13:05:25 +08:00
Xiaoyu Wang ed48713a4b
Merge pull request #20615 from taosdata/fix/trigger-election-by-sync-msg
Fix/trigger election by sync msg
2023-03-27 11:54:53 +08:00
Xiaoyu Wang 5f9f5be6f4 fix: enterprise version displays the associated community version gitinfo 2023-03-27 11:06:10 +08:00
wangmm0220 5a2e3c1603 fix:add test case for raw_block interface 2023-03-27 10:32:30 +08:00
wangmm0220 f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
dapan1121 ef7b9b848a
Merge pull request #20627 from taosdata/fix/TD023101
fix:send data batch if consume wal where subscribe db
2023-03-25 16:40:06 +08:00
wangmm0220 750cd8c5a4 fix:ci error 2023-03-25 16:33:47 +08:00
wangmm0220 8823997941 fix:case error & add NONE for rows to col mode 2023-03-25 15:56:22 +08:00
Haojun Liao 7d1aa634fb
Merge pull request #20527 from taosdata/fix/TD-23200
fix:scan of fill history ended prematurely
2023-03-25 15:01:42 +08:00
Haojun Liao 61974b9f70
Merge pull request #20605 from taosdata/fix/TD-23272
fix:add combine function for groupKey
2023-03-25 15:01:33 +08:00
Haojun Liao 27c848453e
Merge pull request #20625 from taosdata/fix/TD-23220
fix: modify stream fill linear
2023-03-25 15:01:06 +08:00
Haojun Liao 26ebd4e60d
Merge pull request #20620 from taosdata/fix/TD-23233
fix:reset parameter ignoreExpried for fill history
2023-03-25 15:00:43 +08:00
dapan1121 8a89550f16 fix: skiplist level 2023-03-25 13:10:14 +08:00
wangmm0220 9f5e435140 fix:conflict from main 2023-03-25 11:49:37 +08:00
Benguang Zhao ffc3b7b27a enh: add the errorcode TSDB_CODE_MND_DB_RETENTION_PERIOD_ZERO 2023-03-25 11:06:05 +08:00
dapan1121 f6776e1cc4
Merge pull request #20623 from taosdata/fix/TD-23217
fix: fix windows handling localtime_s error
2023-03-25 09:40:20 +08:00
Xiaoyu Wang d2b8c5e433
Merge pull request #20524 from taosdata/fix/clusterid-isolation
fix: clusterid isolation
2023-03-25 09:19:49 +08:00
dapan1121 dd12e41227
Merge pull request #20618 from taosdata/fix/TS-2974
fix: change float display mode
2023-03-25 09:19:04 +08:00
dapan1121 95dd3e078a
Merge pull request #20596 from taosdata/szhou/python-udf
fix: aggregate function can return null value
2023-03-25 08:57:33 +08:00
dapan1121 7c7e121632
Merge pull request #20606 from taosdata/szhou/fix-td23288
fix: query ins_table with table_name = '' results in db error
2023-03-25 08:56:24 +08:00
dapan1121 481091bae6 fix: sma load issue 2023-03-24 19:01:19 +08:00
dapan1121 8bf49fdbd2 fix: skiplist level 2023-03-24 17:16:06 +08:00
Ganlin Zhao 9788532a0a fix 2023-03-24 16:59:36 +08:00
Haojun Liao b22cc82270 others: merge main. 2023-03-24 15:43:13 +08:00
Haojun Liao 8f6ac6d771 fix(tmq): wait for 2mins when subscribe topics. 2023-03-24 15:36:42 +08:00
dapan1121 4167e4c00c fix: some columns sma are not set issue 2023-03-24 15:20:27 +08:00
Ganlin Zhao b06e9e1031 fix 2023-03-24 14:53:40 +08:00
wangmm0220 57331cd71d Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-24 14:51:11 +08:00
Ganlin Zhao 223ae4cc7e fix 2023-03-24 14:50:56 +08:00
wangmm0220 5d06474f2e fix:send data batch if consume wal where subscribe db 2023-03-24 14:43:29 +08:00
wangmm0220 dcaab41a27 fix:error in optimize consume logic 2023-03-24 13:20:03 +08:00
Benguang Zhao 22b904b711 feat: not allowed to create a topic when WAL_RETENTION_PERIOD is zero 2023-03-24 11:55:02 +08:00
Benguang Zhao 235ef431d2 feat: not allowed to set WAL_RETENTION_PERIOD as zero when there are topics defined 2023-03-24 11:47:23 +08:00
54liuyao f18cfc25d6 fix:reset parameter ignoreExpried for fill history 2023-03-24 11:06:05 +08:00
Ganlin Zhao 3bdef853b2 fix: fix windows handling localtime_s error 2023-03-24 10:29:36 +08:00
wangmm0220 1a2513d212 Merge branch 'fix/TD023101' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-24 10:12:12 +08:00
wangmm0220 bf78f63e22 fix:send data batch if consume wal where subscribe db 2023-03-24 10:10:52 +08:00
cadem 86ca5ce210 fix/trigger election by sync msg 2023-03-24 09:13:20 +08:00
Benguang Zhao 9be09492f0 enh: disable timely vnodeCommit 2023-03-24 09:05:06 +08:00
Shengliang Guan 8d1224ce22 refactor: format code 2023-03-23 22:31:20 +08:00
Xiaoyu Wang bddba107be
Merge pull request #20608 from taosdata/fix/TS-2960
fix(tdb/restore): rollback journal files backward
2023-03-23 19:47:31 +08:00
Benguang Zhao 22d92cd3dc feat: WAL cleanup not affected by topic consumption anymore 2023-03-23 18:59:14 +08:00
Xiaoyu Wang 18b039fecd
Merge pull request #20603 from taosdata/enh/3.0_planner_optimize
fix: udf error check
2023-03-23 18:44:23 +08:00
Minglei Jin a07366ed02 fix(tdb/pager): destroy txn id list 2023-03-23 18:23:14 +08:00
Xiaoyu Wang ca2e566319 enh: improve error reporting information 2023-03-23 17:56:56 +08:00
Minglei Jin 5d641a8934 fix(tdb/restore): restore tdb journal backward 2023-03-23 17:55:53 +08:00
dapan1121 7f50b463bb
Merge pull request #20599 from taosdata/fix/mainT3.0
fix: merge main to 3.0
2023-03-23 16:17:01 +08:00
54liuyao ffa59f69aa fix:add combine function for groupKey 2023-03-23 15:20:45 +08:00
Xiaoyu Wang e15e40abdf enh: improve error reporting information 2023-03-23 14:15:49 +08:00
slzhou c9f91a364a Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-td23288 2023-03-23 13:53:24 +08:00
slzhou 40a78bde50 fix: unknow db error when query ins_tables with table_name="" 2023-03-23 13:52:53 +08:00
cyang 58501301a4 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-23 13:38:48 +08:00
wangmm0220 20e2010f70 fix:memory leak 2023-03-23 13:35:17 +08:00
Xiaoyu Wang a5d8549cb1
Merge pull request #20593 from taosdata/FEAT/TD-23258-3.0
feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database
2023-03-23 11:43:01 +08:00
Xiaoyu Wang 323d8ee0b4
Merge pull request #20598 from taosdata/FIX/TD-23187-main
fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose
2023-03-23 11:42:48 +08:00
Haojun Liao cfcb6fe635
Merge pull request #20604 from taosdata/fix/TD023101
fix:[TS-2961] consume error change from snapshot to wal for taosx
2023-03-23 09:06:30 +08:00
dapan1121 dbca1c0e8c
Merge pull request #20595 from taosdata/fix/TD-23283
fix: slimit not work issue
2023-03-23 08:47:15 +08:00
wangmm0220 6b8fd25894 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-22 20:17:39 +08:00
wangmm0220 5f9c7e9a7d fix:[TS-2961] consume error change from snapshot to wal for taosx 2023-03-22 20:14:19 +08:00
wangmm0220 6fae38619d fix:error in TD-23218 & remove useless logic 2023-03-22 19:36:12 +08:00
Xiaoyu Wang fddf3f16cf fix: udf error check 2023-03-22 19:09:26 +08:00
dapan1121 a14631dc80
Merge pull request #20601 from taosdata/fix/TS-2904.2
fix: restore removed code
2023-03-22 18:24:29 +08:00
dapan1121 e58afd12e1 fix: merge main to 3.0 2023-03-22 17:42:09 +08:00
dapan1121 ddbc0e2e61 fix: restore removed code 2023-03-22 17:37:57 +08:00
dapan1121 965dc731f1
Merge pull request #20591 from taosdata/fix/TD-23271
fix: union all translate issue
2023-03-22 17:16:00 +08:00
dapan1121 6506805784 fix: fix no group slimit issue and test cases 2023-03-22 17:14:45 +08:00
wangmm0220 dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Benguang Zhao 24af249f55 fix: set pWriter->info.state.committed as ever in vnodeSnapWriterClose 2023-03-22 16:05:57 +08:00
shenglian zhou 7db1c08d9d fix: merge during pull 2023-03-22 15:28:37 +08:00
shenglian zhou 0c0edd6a39 fix: udf agg can not return null values 2023-03-22 15:27:11 +08:00
dapan1121 97c7d363f2 fix: slimit not work issue 2023-03-22 15:18:54 +08:00
Benguang Zhao 75b922c2be feat: retentionSize as 0 means unlimitted in size 2023-03-22 15:01:01 +08:00
dapan1121 e62e125dd3
Merge pull request #20569 from taosdata/feat/mode_opt
enh(query): improve mode function page buffer allocation
2023-03-22 13:54:23 +08:00
dapan1121 7258ea9244
Merge pull request #20576 from taosdata/fix/TS-2933
enh: optimize table merge scan performance
2023-03-22 13:45:00 +08:00
dapan1121 7b1835d181
Merge pull request #20582 from taosdata/fix/TS-2947
fix: stable with order by query limit issue
2023-03-22 13:40:13 +08:00
dapan1121 225db18fdb fix: union all translate issue 2023-03-22 13:37:35 +08:00
Xiaoyu Wang f97b66e8da merge 3.0 2023-03-22 11:55:59 +08:00
Xiaoyu Wang eb79046a70 merge 3.0 2023-03-22 11:42:02 +08:00
Benguang Zhao 0b101e4952 feat: support WAL_RETENTION_PERIOD and WAL_RETENTION_SIZE for alter database 2023-03-22 11:40:24 +08:00
Minglei Jin 0bf98096c9 fix(tsdb/cache): init isLast once for each fileset 2023-03-22 10:57:27 +08:00
Minglei Jin cb93ac2613 enh(tsdb/cache): make merge tree next one less 2023-03-22 10:50:34 +08:00
wangmm0220 c07e563ecd fix:error in optimize consume logic 2023-03-22 10:43:11 +08:00
Minglei Jin 0b31aac2c5 enh(tsdb/cache): skip data block with merge tree 2023-03-22 10:19:58 +08:00
Xiaoyu Wang fbc9b2404e feat: add sql command 'balance vgroup leader' 2023-03-22 09:53:56 +08:00
dapan1121 a4eef9ea1f
Merge pull request #20570 from taosdata/szhou/fix-td23266
fix: create function error for json/decimal/blob/varbinary type
2023-03-22 09:47:17 +08:00
cadem ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
dapan1121 cb3b4a6d8a Merge remote-tracking branch 'origin/main' into fix/TS-2947 2023-03-22 08:56:21 +08:00
dapan1121 56d5034b7f fix: table merge scan limit issue 2023-03-22 08:55:43 +08:00
Haojun Liao 69ca2b2f7b fix(tmq): do some internal refactor. 2023-03-21 19:40:36 +08:00
Haojun Liao c3acab2070 fix(tmq): do some internal refactor. 2023-03-21 19:38:34 +08:00
wangmm0220 ba6226c079 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD023101 2023-03-21 19:28:58 +08:00
Xiaoyu Wang 51565c9b29
Merge pull request #20571 from taosdata/feat/3.0_wxy
feat: alter database wal_retention_period/wal_retention_size
2023-03-21 19:26:07 +08:00
wangmm0220 74c201bc09 fix:create same table use writemetadata interface 2023-03-21 18:58:41 +08:00
dapan1121 ddfcba76f3 fix: optimize table merge scan perf 2023-03-21 18:51:16 +08:00
54liuyao a614ef777f fix: modify pull linear 2023-03-21 18:19:45 +08:00
Xiaoyu Wang 58ebd3539d feat: alter database wal_retention_period/wal_retention_size 2023-03-21 16:45:19 +08:00
slzhou b9edd24d3f fix: create function error for json/decimal/blob/varbinary type 2023-03-21 00:38:13 -08:00
dapan1121 f97c4e7e35
Merge pull request #20557 from taosdata/fix/TS-2932-CM
fix: set grant cluster info
2023-03-21 16:25:21 +08:00
dapan1121 3ab55496c1
Merge pull request #20561 from taosdata/fix/TS-2891-M
fix: select ins_columns from stb/tb
2023-03-21 16:24:46 +08:00
Ganlin Zhao 9e0faad5eb remove unused MACROS 2023-03-21 16:24:20 +08:00
Ganlin Zhao e9fa00185a enh(query): improve mode function page buffer allocation 2023-03-21 16:15:26 +08:00
wangmm0220 220d4bf86a fix:add log 2023-03-21 14:38:13 +08:00
Haojun Liao ca29dd344f other: merge main. 2023-03-21 14:04:52 +08:00
Haojun Liao d5a386a563 fix(client): fix coverity issues. 2023-03-21 14:03:36 +08:00
Haojun Liao 18b121c69c fix(tmq): fix the invalid write and do some internal refactor. 2023-03-21 13:45:43 +08:00
huolibo 93e50588ce
feat(driver): add schemaless raw insert for jdbc (#20552)
* feat(driver): add schemaless raw insert for jdbc

* feat: add jni reqId

* fix: change API

* fix: change method name

* fix: error code to hex format
2023-03-21 13:33:13 +08:00
dapan1121 ddab83a2ba enh: optimize table merge scan performance 2023-03-21 11:42:46 +08:00
Haojun Liao ea0cc2c584
Merge pull request #20554 from taosdata/fix/TS-2828
fix: add retry if insert error with meta change
2023-03-21 09:01:22 +08:00
dapan1121 a070da04ec
Merge pull request #20538 from taosdata/szhou/python-udf
enhance: add udf context from plugin traceability
2023-03-21 08:44:27 +08:00
Haojun Liao 147e66a50d Merge branch 'main' into fix/liaohj 2023-03-20 23:41:11 +08:00
kailixu 6fd4bc7e27 fix: set grant cluster info 2023-03-20 20:06:10 +08:00
cadem 39f6ce1694 remove memory leak and syncNodeInRaftGroup 2023-03-20 18:34:20 +08:00
Haojun Liao e31796893d fix(tmq): diable commit when close conumer if auto commit is disabled. 2023-03-20 18:34:01 +08:00
wangmm0220 7849459bef fix:add log 2023-03-20 18:20:01 +08:00
kailixu aa4c1cb5eb chore: more code 2023-03-20 17:44:34 +08:00
kailixu 179579f204 chore: more code 2023-03-20 17:41:22 +08:00
kailixu 24dbcaa844 chore: merge main 2023-03-20 17:32:54 +08:00
wangmm0220 b0fbb0601f fix:add retry times if schemaless insert with meta error 2023-03-20 17:04:30 +08:00
wangmm0220 f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220 506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +08:00
Haojun Liao ca1dffff45
Merge pull request #20508 from taosdata/fix/liaohj
fix(client): fix potential memory leak.
2023-03-20 16:11:22 +08:00
wangmm0220 f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +08:00
Haojun Liao 625b2dc901
Merge pull request #20513 from taosdata/fix/TD-23136
fix:converity scan defects
2023-03-20 15:37:59 +08:00
Haojun Liao 2517f9bb83 fix(tmq): add some logs. 2023-03-20 15:27:16 +08:00
wangmm0220 f94b1df529 fix:error in TD-23218 & remove useless logic 2023-03-20 14:55:11 +08:00
wangmm0220 c0b41ea0b3 fix:error in TD-23218 & remove useless logic 2023-03-20 14:09:13 +08:00
Haojun Liao a24d537d9e Merge remote-tracking branch 'origin/fix/liaohj' into fix/liaohj 2023-03-20 13:28:13 +08:00
Haojun Liao 4cb1c51d4e fix(tmq): update some logs. 2023-03-20 13:27:58 +08:00
yihaoDeng 192570ce77 fix tag filter 2023-03-20 04:14:57 +00:00
wangmm0220 a5144f0ba2 fix:set offset if read wal none 2023-03-20 10:10:07 +08:00
Haojun Liao a5e9fad0f9 fix(query): set correct lastkeyInstt. 2023-03-19 23:58:17 +08:00
dapan1121 189ff567e0
Merge pull request #20537 from taosdata/revert-20485-fix/TS-2891-M
Revert "fix(query): invalid write when query of ins_columns"
2023-03-19 19:58:13 +08:00
Haojun Liao c678740968 refactor: do some internal refactor. 2023-03-19 19:22:43 +08:00
Haojun Liao 7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Xiaoyu Wang f86c8d0d6e enh: optimize last pruning logic 2023-03-19 14:40:16 +08:00
Haojun Liao fad23f8cb0 fix(tmq): adjust log. 2023-03-19 14:03:01 +08:00
Xiaoyu Wang 6277b2564b enh: optimize last pruning logic 2023-03-19 13:41:32 +08:00
Xiaoyu Wang 9affd11eb7
Merge pull request #20542 from taosdata/fix/main_bugfix_wxy
enh: optimize last pruning logic
2023-03-19 12:00:18 +08:00
Haojun Liao 49df168a76 fix(tmq): adjust logs. 2023-03-19 11:51:16 +08:00
Haojun Liao a9e54166be fix(tmq): adjust log. 2023-03-19 11:45:53 +08:00
Haojun Liao e5e4f507c2 fix(tmq): adjust the total rows counting. 2023-03-19 11:39:31 +08:00
Xiaoyu Wang 5a4fe943dc enh: optimize last pruning logic 2023-03-19 11:01:39 +08:00
Haojun Liao ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
Minglei Jin 3a5542bbbc fix(tsdb/cache): update nCols of merge tree to avoid assert failed 2023-03-19 10:19:49 +08:00
slzhou 698b057aa0 enhance: add udf context from plugin traceability 2023-03-19 08:49:45 +08:00
Cary Xu 7a3c897a80
Revert "fix(query): invalid write when query of ins_columns" 2023-03-18 20:49:48 +08:00
Haojun Liao 4265fcb60c Merge remote-tracking branch 'origin/fix/liaohj' into fix/liaohj 2023-03-18 18:43:32 +08:00
Haojun Liao 8a8f1daabd refactor: update the logs. 2023-03-18 18:43:13 +08:00
wangmm0220 ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220 7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
yihaoDeng afaa77cc3e fix tag filter 2023-03-18 10:01:45 +00:00
dapan1121 77d8013808
Merge pull request #20526 from taosdata/fix/TD-23173
fix(query): do not update ts window at exchange operator.
2023-03-18 18:00:09 +08:00
yihaoDeng f24e06f36b fix tag filter 2023-03-18 08:58:26 +00:00
54liuyao 2185464836 fix:scan of fill history ended prematurely 2023-03-18 13:38:33 +08:00
kailixu 01074ed6cf chore: var def optimization 2023-03-18 13:08:34 +08:00
kailixu d90c8e834a chore: var def optimization 2023-03-18 13:07:15 +08:00
cadem 39283d22fb fix/change print format 2023-03-18 12:59:58 +08:00
kailixu 828af14b52 Merge branch 'main' into fix/TS-2891-M 2023-03-18 12:51:07 +08:00
kailixu 45a625f2dc fix: add mem check 2023-03-18 12:50:37 +08:00
cadem 042d94215b feat/add topic total and stream total in monitor 2023-03-18 12:50:07 +08:00
Ganlin Zhao 8fa4aa1435 fix(query): do not update ts window at exchange operator. 2023-03-18 12:06:59 +08:00
cadem 7c970d1847 fix/clusterid isolation 2023-03-18 11:16:52 +08:00
dapan1121 a6cc171d94
Merge pull request #20498 from taosdata/szhou/python-udf
enhance: add taospyudf test and run it in CI
2023-03-18 09:21:40 +08:00
dapan1121 cd498627bd
Merge pull request #20512 from taosdata/fix/TD-23161
fix: client invalid write issue
2023-03-18 08:57:44 +08:00
slzhou ba82f05d68 fix: keep original udf file name when rename file error 2023-03-17 20:19:46 +08:00
wangmm0220 8fe084cc5c fix:add log for schmaless 2023-03-17 19:44:52 +08:00
wangmm0220 d5328b7a2b fix:add log for schmaless 2023-03-17 19:11:40 +08:00
dapan1121 a431db0798
Merge pull request #20516 from taosdata/fix/smaLoadTime
fix: add sma load time
2023-03-17 19:10:06 +08:00
dapan1121 f5aabde528
Merge branch 'main' into fix/TD-23161 2023-03-17 19:00:04 +08:00
dapan1121 b56360c55b
Merge pull request #20509 from taosdata/enh/TS-2904
enh: optimize count(1) performance
2023-03-17 18:16:58 +08:00
dapan1121 4685fb4870 fix: no error passed issue 2023-03-17 17:52:15 +08:00
dapan1121 28905af158 fix: column alisa issue and ut case 2023-03-17 17:01:46 +08:00
kailixu 5d82380993 chore: code optimization 2023-03-17 16:55:53 +08:00
kailixu 0c4e9f6646 chore: more code 2023-03-17 16:53:28 +08:00
kailixu 5f2ced466b Merge branch 'main' into fix/TS-2891-M 2023-03-17 16:49:06 +08:00
kailixu b61a5ece5a chore: more code 2023-03-17 16:48:55 +08:00
kailixu f297f67698 fix: show obj 2023-03-17 16:40:29 +08:00
dapan1121 af5c214e16 fix: count(1) from nested query issue 2023-03-17 16:36:13 +08:00
dapan1121 746174ea45 fix: remove count optimize 2023-03-17 16:16:15 +08:00
dapan1121 859f2594ed fix: add sma load time 2023-03-17 15:21:43 +08:00
dapan1121 c2f346407d fix: order by error info 2023-03-17 15:17:09 +08:00
Haojun Liao 6177c81091
Merge pull request #20497 from taosdata/feat/TD-23188
Feat/td 23188
2023-03-17 15:02:00 +08:00
wangmm0220 0a54d00cd2 fix:converity scan defects 2023-03-17 14:54:27 +08:00
kailixu ed3fc6bdf1 fix: select ins_columns from stb/ctb 2023-03-17 14:48:23 +08:00
dapan1121 2bb7d6c799 fix: invalid write issue 2023-03-17 14:38:03 +08:00
dapan1121 f45f3b460f enh: optimize count(1) performance 2023-03-17 14:30:58 +08:00
Haojun Liao 4f15a32839 fix(client): fix potential memory leak. 2023-03-17 14:29:12 +08:00
Haojun Liao 8d1c6956d6 fix(query): set the tag filter flag. 2023-03-17 14:28:30 +08:00
dapan1121 2744dec816
Merge pull request #20488 from taosdata/fix/addUt
fix: modify minrows/maxrows range and add cases
2023-03-17 14:27:31 +08:00
kailixu a85e30efe6 fix: select ins_columns from stb/ctb 2023-03-17 14:19:00 +08:00
Shengliang Guan aa656c9c29
Merge pull request #20505 from taosdata/fix/TD-23196
ehn(tsdb/cache): skip invalid row or data block directly with merge tree
2023-03-17 13:19:06 +08:00
Haojun Liao d5a8a4aefe
Merge pull request #20502 from taosdata/fix/liaohj
fix(client): set the initial value for num_of_rows.
2023-03-17 12:50:04 +08:00
kailixu 7ed966e3f1 fix: select ins_columns from stb/tb 2023-03-17 12:33:34 +08:00
Minglei Jin ca115b1c87 fix(tsdb/cache): break loop to return current row 2023-03-17 11:41:17 +08:00
wangmm0220 4fdef7421c fix:add log for taosCreateLog error 2023-03-17 10:50:54 +08:00
yihaoDeng 497ba9992d fix coverity scan problem 2023-03-17 02:26:18 +00:00
Minglei Jin a8d146c512 ehn(tsdb/cache): skip invalid row or data block directly with merge tree 2023-03-17 10:22:36 +08:00
Haojun Liao 1b219f7a66 fix(client): set the initial value for num_of_rows. 2023-03-16 22:36:02 +08:00
Haojun Liao 970155a845 fix(query): fix coverity issues. 2023-03-16 21:53:34 +08:00
Haojun Liao a5e6bac876
Merge pull request #20496 from taosdata/fix/liaohj
fix(tmq): release the tmq properly, and add some logs for subscription.
2023-03-16 21:43:36 +08:00
wangmm0220 6323a6e801 fix:conflicts 2023-03-16 19:18:07 +08:00
wangmm0220 14970478dc fix:conflicts 2023-03-16 19:15:08 +08:00
wangmm0220 fa2e7b234c fix:add log for schemaless & sleep longer if modify schema error 2023-03-16 19:13:15 +08:00
yihaoDeng 07ca8eb8e0 enh: add trace to transaction 2023-03-16 10:25:46 +00:00
Haojun Liao 5142ccf6c9 fix(tmq): release the tmq properly, and add some logs for subscription. 2023-03-16 18:18:59 +08:00
Haojun Liao 86e3d838b7
Merge pull request #20495 from taosdata/fix/liaohj
fix(tmq): adjust the time out value check.
2023-03-16 16:43:38 +08:00
Shengliang Guan 7af1d00d74
Merge pull request #20485 from taosdata/fix/TS-2891-M
fix(query): invalid write when query of ins_columns
2023-03-16 15:50:03 +08:00
Shengliang Guan 925693c8a9
Merge pull request #20493 from taosdata/fix/TD-23172
ehn(tsdb/cache): load necessary columns only
2023-03-16 15:49:04 +08:00
Haojun Liao 08ac102114 refactor: do some internal refactor. 2023-03-16 15:45:48 +08:00
Haojun Liao 989ae86a05 fix(tmq): adjust the time out value check. 2023-03-16 14:32:40 +08:00
yihaoDeng 3ac11ce87a enh: change log 2023-03-16 06:17:45 +00:00
Minglei Jin b1949b5584 fix(tsdb/cache): skip remaining rows in current data block 2023-03-16 14:11:34 +08:00
Haojun Liao 345b46769c
Merge pull request #20490 from taosdata/fix/liaohj
fix(tmq): disable non-leader vnode responsing the poll request.
2023-03-16 14:00:42 +08:00
Minglei Jin 6e0343fc08 enh(tsdb/cache): load necessary columns only 2023-03-16 11:18:36 +08:00
Xuefeng Tan 449f7115e4
fix: windows test (#20256)
* fix: windows sim test

* fix: windows sim test

* fix: random on windows

* fix: taosd online check

* fix: windows path in python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: windows python test

* fix: make_install.bat

* fix: python test

* fix: jdbc test

* fix: develop test

* fix: develop test

* fix:add log

* test:add win case file

* test:add win case file

* test:add win case file

* fix: python test get taosBenchmark path

* test:add win case file

* test:comment some failed cases in win

* test:add win case file

* test:add win case file

* test:comment some win case file

* test:add some win case file

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: chenhaoran <haoran920c@163.com>
2023-03-16 10:18:06 +08:00
Haojun Liao a1682664f2 fix(tmq): disable non-leader vnode responsing the poll request. 2023-03-16 10:12:34 +08:00
dapan1121 59b532a890 fix: modify minrows/maxrows range and add cases 2023-03-16 09:46:14 +08:00
kailixu ba5c3fb2ab fix: select ins_columns for stb with 4096 columns 2023-03-16 00:01:54 +08:00
kailixu acd57f03e6 fix(query): invalid write when query of ins_columns 2023-03-15 20:31:54 +08:00
yihaoDeng e2646734ad enh: add queue limit 2023-03-15 12:01:16 +00:00
yihaoDeng ef092c1cce enh: add queue limit 2023-03-15 11:54:36 +00:00
Shengliang Guan af4532dc63
Merge pull request #20476 from taosdata/fix/TD-23163
enh(tsdb/cache): skip invalid datablock directly when traversing fs with last
2023-03-15 19:03:48 +08:00
Shengliang Guan a397c2dae4
Merge pull request #20471 from taosdata/fix/alter_minrows
fix: alter minrows doesn't take effect
2023-03-15 17:45:54 +08:00
Minglei Jin 04d501d64a fix: destroy aColArray anyway 2023-03-15 17:41:29 +08:00
Minglei Jin f1414355e3 tsdb/cache: skip invalid datablock directly when traversing fs with last 2023-03-15 16:24:36 +08:00
Haojun Liao 36cec7894b
Merge pull request #20472 from taosdata/fix/liaohj
fix(query): set the correct cached tags list key length, and update s…
2023-03-15 15:56:50 +08:00
Haojun Liao 52576071ae refactor: do some internal refactor. 2023-03-15 14:37:48 +08:00
Haojun Liao 253a760810 fix(query): set the correct cached tags list key length, and update some logs. 2023-03-15 14:30:12 +08:00
Shengliang Guan 7ee24c318e fix: alter minrows doesn't take effect 2023-03-15 14:25:18 +08:00
Shengliang Guan 4efcb4ddce
Merge pull request #20280 from taosdata/fix/TD-22871
fix: return err msg while db is creating
2023-03-15 14:10:41 +08:00
Shengliang Guan 08601f4b83
Merge pull request #20451 from taosdata/fix/TD-23134
fix: fix coverity scan
2023-03-15 14:10:18 +08:00
Shengliang Guan c08d25bb24
Merge pull request #20460 from taosdata/fix/TS-2828
fix:use table suid in taosx to avoid suid is not same for using suid
2023-03-15 14:09:48 +08:00
Shengliang Guan 51e503dd2c
Merge pull request #20464 from taosdata/fix/TD-23156
fix:source task needs to wait && stream state window does not handle null
2023-03-15 14:09:26 +08:00
Shengliang Guan dd2940b8b3
Merge pull request #20463 from taosdata/fix/TS-2883
fix: fix table count operator groupId issue
2023-03-15 14:08:54 +08:00
Shengliang Guan 09ca41b3f7
Merge pull request #20467 from taosdata/fix/TS-2893
fix:create same sub table
2023-03-15 14:07:47 +08:00
54liuyao 25732f7c3c fix:source task needs to wait & stream state window does not handle null 2023-03-15 13:15:17 +08:00
54liuyao d5defa3def fix:create same sub table 2023-03-15 11:10:55 +08:00
Hongze Cheng e43b606917 current from binary to json 2023-03-15 10:48:51 +08:00
54liuyao 96db1192ae fix: fix coverity scan 2023-03-15 09:03:05 +08:00
dapan1121 1db4619fdc Merge branch 'main' of github.com:taosdata/TDengine into main 2023-03-15 08:42:44 +08:00
dapan1121 b2bf1871e1
Merge pull request #20415 from taosdata/feat/TD-22746
feat: add client meta stat info
2023-03-15 08:37:20 +08:00
dapan1121 20c8a9031d fix: fix table count operator groupId issue 2023-03-15 08:35:40 +08:00
Haojun Liao 15cbbd3a14 fix(query): fix error in show cluster alive. 2023-03-14 21:25:52 +08:00
Benguang Zhao 9f97162ef7 enh: separate election timer events 2023-03-14 21:02:06 +08:00
Benguang Zhao cc76d78673 enh: separate sync read and write events 2023-03-14 20:35:39 +08:00
Benguang Zhao e350f71396 enh: reset elect timer at the end of callbacks 2023-03-14 19:45:31 +08:00
wangmm0220 72c2631c0d fix:use table suid in taosx to avoid suid is not same for using suid 2023-03-14 17:52:16 +08:00
Yihao Deng 0d4cc1c577
Merge branch 'main' into fix/TD-22871 2023-03-14 15:56:51 +08:00
wangmm0220 c7a10ae5a8 fix:use table suid in taosx to avoid suid is not same for using suid 2023-03-14 15:52:39 +08:00
yihaoDeng d3c9e08003 fix: fix log invalid err msg 2023-03-14 06:15:47 +00:00
Haojun Liao 32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Haojun Liao 9cdd52de84 fix(tmq): fix dead lock. 2023-03-14 11:50:02 +08:00
Shengliang Guan e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Shengliang Guan 214c595491
Merge pull request #20412 from taosdata/fix/TD-23095
fix:auto fill null column
2023-03-14 09:36:57 +08:00
Shengliang Guan 6d09532f10
Merge pull request #20396 from taosdata/fix/TD-23087
fix(query): remove assert
2023-03-14 09:36:31 +08:00
Shengliang Guan bf03965931
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
2023-03-14 09:36:04 +08:00
Shengliang Guan 6989f1be61
Merge pull request #20418 from taosdata/fix/TD-22671
fix:deal with ASSERT in tmq
2023-03-14 09:34:52 +08:00
Shengliang Guan a5fcd4fa7b
Merge pull request #20442 from taosdata/FIX/TD-23138-main
enh: adjust the error msgs of sync not leader and sync is restoring
2023-03-14 09:33:44 +08:00
Shengliang Guan 65de91b0af
Merge pull request #20443 from taosdata/szhou/udfd-conn-version
fix: add version to udfd conn req
2023-03-14 09:33:16 +08:00
Haojun Liao 21ef5e5577 Merge branch 'main' into fix/liaohj 2023-03-14 09:19:49 +08:00
Haojun Liao 8f1f423c90 fix(tmq): fix the error in tmq. 2023-03-14 00:37:09 +08:00
Ganlin Zhao c3b0245ff5 Merge branch 'main' into fix/TD-23087 2023-03-13 18:43:43 +08:00
Haojun Liao 8a9746d2bf fix(tmq): fix the invalid read. 2023-03-13 18:29:04 +08:00
slzhou 66f7b90110 fix: add version to udfd conn req 2023-03-13 18:16:44 +08:00
Benguang Zhao b91b7a7211 enh: refactor error msgs, i.e. Sync not leader and Sync is restoring 2023-03-13 18:15:52 +08:00
Xiaoyu Wang ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao 731a2138df fix(tmq): fix error in tmq. 2023-03-13 17:08:17 +08:00
wangmm0220 49b3649c55 fix:add log if sml value is too long 2023-03-13 16:54:23 +08:00
Xiaoyu Wang 62377619ba enh: optimizing stt file reading in last query 2023-03-13 15:05:24 +08:00
wangmm0220 8102beff13 fix:add log for taosx 2023-03-13 14:10:49 +08:00
wangmm0220 06079c90a3 fix:add log for taosx 2023-03-13 14:01:18 +08:00
Haojun Liao 7f2aae69d4 fix(tmq): fix error in taosx 2023-03-13 01:54:29 +08:00
Xiaoyu Wang 25778754e2 fix: last redundant read stt file 2023-03-12 22:36:26 +08:00
Shengliang Guan 041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
Xiaoyu Wang 45e38d258c fix: last redundant read stt file 2023-03-12 20:40:17 +08:00
dapan1121 91df1b3298 fix: group merge issue 2023-03-12 15:04:53 +08:00
Haojun Liao 564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
dapan1121 f74c488c42 fix: keep group for interval query 2023-03-12 11:03:41 +08:00
slzhou 9df6609448 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-12 09:41:09 +08:00
slzhou c8e05226ce fix: unknown error prompt 2023-03-12 09:40:49 +08:00
wangmm0220 5b75ee4396 opti:modify tmq logic 2023-03-11 19:13:50 +08:00
Haojun Liao 26925a1c13 refactor: add some logs for tmq. 2023-03-11 18:01:56 +08:00
Haojun Liao 85ee1318d2 refactor: add some logs. 2023-03-11 17:44:35 +08:00
Haojun Liao af423685ca fix(tmq): handle the commit failure. 2023-03-11 17:42:01 +08:00
dapan1121 16209644c4 fix: regenerate groupId and case issue 2023-03-11 17:24:54 +08:00
wangmm0220 0e2cf0ed73 fix:deal with ASSERT in tmq 2023-03-11 16:51:34 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
wangmm0220 9cc7a9f504 fix:deal with ASSERT in tmq 2023-03-11 16:12:11 +08:00
Shengliang Guan 584f213739
Merge pull request #20401 from taosdata/fix/main_bugfix_wxy
fix: error in last cache handle deleted data
2023-03-11 15:43:55 +08:00
Shengliang Guan 300801a68e
Merge pull request #20403 from taosdata/fix/main_wxy
fix: invalid topic query
2023-03-11 15:43:38 +08:00
dapan1121 bad898cd0c Merge remote-tracking branch 'origin/3.0' into feat/TD-22746 2023-03-11 15:06:03 +08:00
dapan1121 5df32cbc78 feat: correct slimit&limit clause 2023-03-11 13:08:20 +08:00
54liuyao 84ef1c78d4 fix:auto fill null column 2023-03-11 11:33:50 +08:00
Haojun Liao 9e860f02ac refactor: do some internal refactor. 2023-03-11 11:25:37 +08:00
Xiaoyu Wang 38a6d02ca9 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-03-11 10:58:47 +08:00
Haojun Liao 1e01f90283 refactor(tmq): do some internal refactor. 2023-03-11 09:13:26 +08:00
Haojun Liao 9d680a0995 fix(tmq): fix race condition. 2023-03-11 09:09:03 +08:00
slzhou 26b3773740 fix: core dump when copy resut buf 2023-03-10 18:58:25 +08:00
Xiaoyu Wang 822bb11a26 fix: invalid topic query 2023-03-10 18:23:30 +08:00
Benguang Zhao d679eaf648 enh: update pMnode->applied only when pMsg->code as zero 2023-03-10 18:10:34 +08:00
Xiaoyu Wang 11e55f028b fix: error in last cache handle deleted data 2023-03-10 17:49:27 +08:00
Ganlin Zhao f82dcf0316 fix(query): remove assert 2023-03-10 16:45:13 +08:00
Hongze Cheng 7e071ff458 enh: optimize snapshot transfer 2023-03-10 16:01:40 +08:00
Shengliang Guan 6e7d490ec8
Merge pull request #20390 from taosdata/enh/addErrCode
add user err code
2023-03-10 15:40:31 +08:00
slzhou 89d05296d8 fix: add varchar/nchar udf support 2023-03-10 14:56:35 +08:00
Shengliang Guan cf1bf07bbb
Merge pull request #20387 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 14:51:45 +08:00
Haojun Liao 05ddf68247 fix(tmq): fix invalid free. 2023-03-10 14:27:34 +08:00
Haojun Liao d8807d3d5a fix(tmq): fix memory leak. 2023-03-10 14:23:16 +08:00
yihaoDeng 3865404674 add user err code 2023-03-10 14:19:03 +08:00
Haojun Liao 1f71cf3a8b fix(tmq): fix invalid read. 2023-03-10 14:18:55 +08:00
Haojun Liao 3513de5ab4 fix(tmq): fix race condition. 2023-03-10 14:11:58 +08:00
Haojun Liao 9ca77572d9 fix(tmq): fix race condition. 2023-03-10 14:09:42 +08:00
Shengliang Guan 109a170e46
Merge pull request #20383 from taosdata/fix/TS-2828
fix:add log
2023-03-10 13:00:54 +08:00
slzhou f611a6d467 fix: udf can return varchar 2023-03-10 12:36:58 +08:00
wangmm0220 80e0aad1f0 fix:heap overflow 2023-03-10 12:11:46 +08:00
Xiaoyu Wang 4e4f7de0ab enh: optimize last/last_row cost when the cache was first loaded 2023-03-10 12:00:17 +08:00
Benguang Zhao 8139b725d2 fix: refuse to write when applying progress lagging behind on restored only 2023-03-10 10:57:39 +08:00
wangmm0220 f7ed0b184f fix:add log 2023-03-10 10:49:51 +08:00
yihaoDeng 3a586a525d add user err code 2023-03-10 10:34:26 +08:00
Haojun Liao 0d1b2e4b5a fix(tmq): use before remove hash item. 2023-03-10 10:31:53 +08:00
Haojun Liao b31b7c3f64 fix(tmq): fix the invalid read. 2023-03-10 10:27:21 +08:00
Shengliang Guan c70c9546f2
Merge pull request #20372 from taosdata/fix/main_bugfix_wxy
enh: optimize last/last_row cost when the cache was first loaded
2023-03-10 10:07:22 +08:00