Commit Graph

14531 Commits

Author SHA1 Message Date
dapan1121 23d88b7e5a fix: partition data order requirement issue 2023-06-15 11:22:32 +08:00
Haojun Liao 3b2f2f0a94 fix(test): fix link error in unit test. 2023-06-15 11:06:03 +08:00
Ganlin Zhao 61d089496d fix: fix fill double type column with scalar expression error 2023-06-15 10:58:39 +08:00
Haojun Liao 1742874790 fix(test): fix unit test error. 2023-06-15 10:49:34 +08:00
Haojun Liao 55724157c4 refactor: remove one function. 2023-06-15 10:40:25 +08:00
Haojun Liao 13028744df refactor: do some internal refactor. 2023-06-15 10:24:21 +08:00
Ganlin Zhao c520a1044b fix crash 2023-06-15 10:21:16 +08:00
dapan1121 e52c6aae8c
Merge pull request #21620 from taosdata/fix/TD-24567-3.0
fix: tsma query with order by _wstart/_wend
2023-06-15 09:06:57 +08:00
dapan1121 672cff090b
Merge pull request #21707 from taosdata/szhou/fix-tsort-sanitizer-error
fix: fix memory sanitizer error
2023-06-15 09:05:10 +08:00
Haojun Liao 53377c2c1f fix(stream): wait for stream task completed. 2023-06-15 01:14:41 +08:00
Ganlin Zhao d48e3b3545 add null pointer check 2023-06-14 17:00:45 +08:00
liuyao 9a3708e17b pause&resume fill history 2023-06-14 15:54:07 +08:00
Haojun Liao 7c6fbd7772 enh(stream): do some internal refactor and support secondary scan for history data. 2023-06-14 14:10:09 +08:00
Ganlin Zhao e79d63d766 add error code 2023-06-14 13:34:25 +08:00
yihaoDeng ee3017ed3a add static lib 2023-06-14 12:14:49 +08:00
Ganlin Zhao 728e42f723 fix: add forbid system table functions 2023-06-14 11:10:51 +08:00
Haojun Liao 11f0c3b336 refactor: do some internal refactor. 2023-06-14 10:46:46 +08:00
Haojun Liao 5282492663 refactor: do some internal refactor. 2023-06-14 10:35:03 +08:00
Haojun Liao b44447e6f3 enh(stream): support restore from disk. 2023-06-14 10:19:03 +08:00
Haojun Liao 4fac83ecf2
Merge pull request #21709 from taosdata/feature/TD-24749
feat:control memory size if consumer group is too much
2023-06-14 10:15:20 +08:00
Haojun Liao e392fb1a54 Merge remote-tracking branch 'origin/refact/fillhistory' into refact/fillhistory 2023-06-13 16:11:14 +08:00
Haojun Liao 97da2a8fac fix(stream): set the fill history status. 2023-06-13 16:10:55 +08:00
wangmm0220 d8d6b6dd21 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-24749 2023-06-13 15:15:05 +08:00
wangmm0220 8a81278024 fix:load pHandle if necessary wher tq restore 2023-06-13 15:14:11 +08:00
yihaoDeng ed33e6ea43 change log level when filter tag 2023-06-13 07:06:08 +00:00
slzhou 13ddd37529 fix: fix memory sanitizer error 2023-06-13 14:51:41 +08:00
Minglei Jin 8fee813de6 tdb/alloc-page: new param pTxn to fix memory leaking 2023-06-13 14:35:49 +08:00
dapan1121 73d3c21e21 Merge remote-tracking branch 'origin/3.0' into feat/TD-24499 2023-06-13 11:44:41 +08:00
dapan1121 48b9cac75c fix: fix no data in db issue 2023-06-13 11:44:13 +08:00
liuyao c58bde9715 stream operator fill history 2023-06-13 10:57:36 +08:00
wade zhang 5673d34153
Merge pull request #21476 from taosdata/FIX/TD-24182-3.0
enh: change conflict scope of transaction of split vgroup
2023-06-13 10:13:48 +08:00
yihaoDeng 8dc6d1cc6a change log level when filter tag 2023-06-13 01:51:22 +00:00
Haojun Liao fb24ed161d enh(stream): set correct task status. 2023-06-12 22:48:23 +08:00
dapan1121 7adea35706 fix: remove debug info 2023-06-12 17:18:38 +08:00
dapan1121 59b8cfbc7d enh: add sub_query in systable and kill subquery 2023-06-12 17:14:41 +08:00
kailixu 4cd039c38e chore: compare funcNode without aliasName 2023-06-12 16:47:03 +08:00
Minglei Jin 621d4b20c0 tdb/pager: remove debug log 2023-06-12 16:43:49 +08:00
Minglei Jin 9e7f860d7c enh(tdb/recycle): first round implemenation of page recycling 2023-06-12 16:40:24 +08:00
dapan1121 170182fecd feat: support fill history with sub request 2023-06-12 16:10:54 +08:00
Haojun Liao 78a240be8f enh(stream): add dispatch msg. 2023-06-12 13:12:45 +08:00
kailixu f5d28cdcd1 chore: more check 2023-06-12 10:49:17 +08:00
kailixu b200fdba51 chore: node type 2023-06-12 10:44:01 +08:00
Benguang Zhao 3689b41f3a Merge branch '3.0' into FIX/TD-24182-3.0 2023-06-12 09:39:49 +08:00
kailixu 58c43901ed chore: another logic 2023-06-12 09:14:38 +08:00
dapan1121 423fdeef72
Merge pull request #21684 from taosdata/fix/TD-24741
fix: systable vgroup empty issue
2023-06-11 18:30:38 +08:00
dapan1121 5cd57cece5 fix: null pointer issue 2023-06-09 18:54:20 +08:00
dapan1121 14f3270a76 fix: subtask dead loop issue 2023-06-09 17:21:28 +08:00
dapan1121 0627ceada0 fix: systable vgroup empty issue 2023-06-09 16:58:07 +08:00
yihaoDeng d38e3835c0 opt batch write 2023-06-09 08:12:39 +00:00
dapan1121 422a60430e
Merge pull request #21679 from taosdata/fix/TD-24716
fix: row size too big issue
2023-06-09 16:09:44 +08:00
yihaoDeng 06b65ce5c1 opt batch write 2023-06-09 07:49:43 +00:00
dapan1121 7956a8c420 fix: row size too big issue 2023-06-09 13:49:25 +08:00
Haojun Liao 69c9eda7af fix(stream): fix race condition. 2023-06-09 11:37:38 +08:00
dapan1121 988ee2b57a fix: consumer group issue 2023-06-09 11:13:22 +08:00
kailixu 1812b9e968 Merge branch '3.0' into fix/TD-24567-3.0 2023-06-09 09:55:47 +08:00
Haojun Liao 53246ed6bb other: merge other branch. 2023-06-09 09:41:10 +08:00
yihaoDeng a67ef8ce91 opt batch write 2023-06-09 01:27:08 +00:00
yihaoDeng d5c0ca3163 opt batch write 2023-06-08 13:36:52 +00:00
Ganlin Zhao bef6214904 remove test code 2023-06-08 19:30:05 +08:00
Ganlin Zhao 145bb93967 fix block only have one row 2023-06-08 19:21:04 +08:00
Haojun Liao 0fd11aaefe other: add some logs. 2023-06-08 19:14:36 +08:00
Haojun Liao c9aa59cbb9 refactor: do some internal refactor. 2023-06-08 18:59:25 +08:00
kailixu 79625df5e4 chore: code optimization 2023-06-08 18:39:51 +08:00
Ganlin Zhao 21fccc2d48 fix switchin group issue 2023-06-08 18:25:32 +08:00
Haojun Liao 6726edae0c fix(stream): add more logs. 2023-06-08 17:54:22 +08:00
Ganlin Zhao 7ee05df7c6 fix lastBlock remain ts not saved 2023-06-08 17:46:25 +08:00
Haojun Liao 6c13491428 refactor: do some internal refactor. 2023-06-08 16:55:41 +08:00
Ganlin Zhao b4c2085ddc feat: add pipeline processing for timeslice operator 2023-06-08 16:32:35 +08:00
Haojun Liao 2b6ace653a refactor: do some internal refactor. 2023-06-08 16:14:27 +08:00
kailixu e5e724a8ba chore: code optimization 2023-06-08 16:13:31 +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 a9ed1f6d46
Merge pull request #21567 from wangjiaming0909/fix/3.0/TD-24525
fix: prevent projectoperator scanning all rows when limit with no group
2023-06-08 15:14:48 +08:00
kailixu c3726b8264 chore: more check 2023-06-08 14:42:10 +08:00
kailixu e56c5950aa chore: more check 2023-06-08 14:29:44 +08:00
Haojun Liao f582705feb refactor: do some internal refactor. 2023-06-08 14:18:06 +08:00
kailixu 90b4580ba9 chore: only filter window pseudo column 2023-06-08 14:16:05 +08:00
Haojun Liao 30eba472c3
Merge pull request #21602 from taosdata/fix/TD-24600-dv3
fix/td-24600-dv3
2023-06-08 13:42:02 +08:00
kailixu 576e3d1156 chore: erase duplicated func node for window logic node 2023-06-08 11:49:49 +08:00
Haojun Liao d7f9857a30
Merge pull request #21632 from taosdata/fix/TD-24008
opt stream block dispatch
2023-06-08 11:33:16 +08:00
yihaoDeng 9b749b8faa change link op t 2023-06-08 02:43:44 +00: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
Haojun Liao cb26dd9fa2 refactor(stream): do some internal refactor. 2023-06-08 10:17:21 +08:00
dapan1121 6c74282946
Merge pull request #21597 from taosdata/enh/TD-24586
enh: optimize filter performance
2023-06-08 09:05:56 +08:00
Haojun Liao 9abe47ff93
Merge pull request #21638 from taosdata/enh/changeLinkOpt
change link opt
2023-06-07 19:07:06 +08:00
Ganlin Zhao c612d945ec fix fill value bug 2023-06-07 18:27:29 +08:00
Ganlin Zhao 150e9ae296 make interp fill multiple col logic same as window fill 2023-06-07 16:55:03 +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
Haojun Liao 06cf3588da refactor: do some internal refactor. 2023-06-07 15:03:04 +08:00
yihaoDeng 4fa1cc6dd3 change link opt 2023-06-07 05:26:07 +00:00
Haojun Liao 7bf07b78b2 fix(client): remove dependency 2023-06-07 11:36:01 +08:00
liuyao 1e9c4d5fac opt stream block dispatch 2023-06-07 10:45:27 +08:00
dapan1121 47c891fbc5 Merge remote-tracking branch 'origin/main' into enh/TD-24586 2023-06-07 09:27:56 +08:00
liuyao 2ab43ca0d0 semi interval op check data ts 2023-06-07 09:24:17 +08:00
Haojun Liao 39b589a5a8
Merge pull request #21616 from taosdata/fix/TD-24643
fix stream ci issue
2023-06-07 09:22:37 +08:00
Haojun Liao 6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
wangjiaming0909 3cb64f3775 fix: prevent projectoperator scanning all rows when limit with no group 2023-06-06 19:28:55 +08:00
liuyao bff2aae354 fix stream ci issue 2023-06-06 19:18:43 +08:00
liuyao 49ca147c47 fix stream ci issue 2023-06-06 19:18:43 +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
kailixu bcac24b6b7 fix: tsma query with order by _wstart/_wend 2023-06-06 17:19:59 +08:00
dapan1121 a0428387a9 enh: corrent column data reassign issue 2023-06-06 16:44:15 +08:00
liuyao 201d0f2d18 fix stream ci issue 2023-06-06 16:37:08 +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
wade zhang e12af9327e
Merge pull request #21612 from luckeverda/geo
fix: compress core by tDataTypes
2023-06-06 14:20:45 +08:00
Shungang Li 472665e4b1 fix: compress core by tDataTypes 2023-06-06 13:06:53 +08:00
wade zhang 9a0f6ae832
Merge pull request #21595 from taosdata/fix/TS-3247
fix(query/sys): pause/resume with sys scan operator
2023-06-06 11:55:10 +08:00
dapan1121 02b1257b01 enh: reassign data column in blocks 2023-06-06 11:17:02 +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
yihaoDeng 66f483e51a fix invalid free 2023-06-06 02:32:06 +00:00
slzhou e2ac3d00ad fix: fix mem leak 2023-06-06 10:20:52 +08:00
slzhou beb2b7b467 fix: rewrite count(*) to count(1) for temp table 2023-06-06 07:39:14 +08:00
yihaoDeng c6242fee01 fix invalid free 2023-06-05 10:54:02 +00:00
yihaoDeng cb024ca069 fix invalid free 2023-06-05 10:52:07 +00:00
Haojun Liao 0dd933013c enh(stream): make history task for stream running. 2023-06-05 17:58:00 +08:00
yihaoDeng 565af62ece Merge branch 'devmain' into fix/TD-24600 2023-06-05 09:45:06 +00:00
wangjiaming0909 73585b3552 fix: select desc and asc return different rows after delete 2023-06-05 17:44:34 +08:00
yihaoDeng 63c4929089 fix invalid free 2023-06-05 08:42:00 +00:00
Ganlin Zhao 005182c3c9 fix multiple interp issue 2023-06-05 16:40:48 +08:00
Haojun Liao e8549ce511 refactor: do some internal refactor. 2023-06-05 16:19:37 +08:00
dapan1121 7381209618 enh: optimize filter performance 2023-06-05 16:08:11 +08:00
Haojun Liao fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +08:00
Ganlin Zhao 6b670b7f08 fix desc 2023-06-05 15:48:15 +08:00
yihaoDeng c77f7f65d2 fix invalid free 2023-06-05 07:32:28 +00:00
Minglei Jin d02746d86f fix(query/sys): pause/resume with sys scan operator 2023-06-05 15:24:39 +08:00
Ganlin Zhao be34546edd enh: enable interp fill value support scarlar expression 2023-06-05 15:19:06 +08:00
yihaoDeng 3108ecf84b fix invalid free 2023-06-05 06:38:17 +00:00
yihaoDeng 74d5f02969 fix invalid free 2023-06-05 04:56:07 +00:00
Haojun Liao 077e1a1ed4 Merge branch '3.0' into refact/fillhistory 2023-06-05 11:41:13 +08:00
dapan1121 532e02fb2a enh: improve filter performance 2023-06-05 10:47:15 +08:00
wade zhang b437024eca
Merge pull request #21588 from taosdata/fix/TD-24346-M
chore: unbind the dependency
2023-06-04 09:53:20 +08:00
kailixu 87a086996e chore: code optimization 2023-06-04 09:07:04 +08:00
kailixu 907feb23b0 chore: unbind the dependency 2023-06-04 07:56:46 +08:00
Haojun Liao 044e56fc97
Merge branch '3.0' into fix/resume_mem 2023-06-03 12:19:17 +08:00
Haojun Liao cb7bb954b5
Merge pull request #21577 from taosdata/fix/TD-24515
reset unclosed window info
2023-06-03 11:21:06 +08:00
yihaoDeng 9e0392ff59 fix mem leak 2023-06-03 09:17:05 +08:00
yihaoDeng 7244ab1f6b fix mem leak 2023-06-03 08:28:21 +08:00
yihaoDeng 81fe174aa2 fix mem leak 2023-06-03 08:19:59 +08:00
yihaoDeng 5063c175f4 fix mem problem 2023-06-02 23:47:14 +08:00
Haojun Liao b5b4cd2a05 fix(query): load del info with upper version limitation. 2023-06-02 23:15:27 +08:00
yihaoDeng 3ec700e0f7 fix mem problem 2023-06-02 22:25:38 +08:00
yihaoDeng e48e485b6c update default buffer 2023-06-02 11:56:24 +00:00
yihaoDeng 6ee68331b3 update DEFAULT_BUFF 2023-06-02 11:54:36 +00:00
Haojun Liao cca69f3038 Merge branch '3.0' into fix/resume_mem 2023-06-02 18:40:48 +08:00
liuyao 17f2c3f882 reset wind info 2023-06-02 18:27:22 +08:00
yihaoDeng 449051cda6 avoid mem leak 2023-06-02 10:05:32 +00:00
wangmm0220 56f7a137ee fix:conflict 2023-06-02 15:47:53 +08:00
Haojun Liao 3d7defa881 refactor: do some internal refactor. 2023-06-02 15:43:38 +08:00
wangmm0220 b2f0d88639 fix:conflict 2023-06-02 15:43:35 +08:00
Haojun Liao 2edba85efe refactor: do some internal refactor. 2023-06-02 15:27:44 +08:00
Haojun Liao bcd8867fb2 refactor: do some internal refactor. 2023-06-02 15:27:14 +08:00
Haojun Liao 76106165da other: add some logs. 2023-06-02 15:13:25 +08:00
yihaoDeng f59161464d avoid mem leak 2023-06-02 06:48:26 +00:00
Haojun Liao 6a9c03309e
Merge pull request #21553 from taosdata/enh/changeRocksParam
change log level
2023-06-02 14:23:50 +08:00
yihaoDeng f4bde33dc3 avoid mem leak 2023-06-02 06:06:05 +00:00
yihaoDeng 04996a6463 Merge branch 'enh/dv3' into feature/TD-19042 2023-06-02 06:01:49 +00:00
dapan1121 ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
Haojun Liao cce87a036f other: merge 3.0. 2023-06-02 13:34:20 +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 f1bd829977 refactor: do some internal refactor. 2023-06-02 13:10:54 +08:00
yihaoDeng 63d9a5dcf3 avoid mem leak 2023-06-02 04:08:08 +00:00
dapan1121 7df4f8a89e
Merge pull request #21556 from taosdata/fix/TD-24489
fix: fix interval operator ensure capacity logic
2023-06-02 11:52:25 +08:00
dapan1121 6dda2e94f4 fix: distinct primary timestamp issue 2023-06-02 11:42:25 +08:00
Haojun Liao b5d87b1d5c
Merge pull request #21564 from taosdata/fix/TD-24565
set recover scan version
2023-06-02 11:20:53 +08:00
Haojun Liao 27b7d1ec88 refactor: do some internal refactor. 2023-06-02 11:17:44 +08:00
yihaoDeng becc5c51a4 fix compatibility 2023-06-02 02:35:15 +00:00
liuyao 274771d7b4 TD-24565 2023-06-02 10:08:07 +08:00
Haojun Liao fca91b3c0b
Merge pull request #21558 from taosdata/fix/TD-24520
reset sream fill block index
2023-06-02 09:04:38 +08:00
yihaoDeng 420ae73728 Avoid creating the same ID task multiple times 2023-06-02 00:35:45 +00:00
Haojun Liao bbf3f1ccd9 fix(query): add more check. 2023-06-02 00:22:35 +08:00
Haojun Liao 403617976c fix(query): fix error in fill. 2023-06-01 22:45:03 +08:00
yihaoDeng 1571ea844a Avoid creating the same ID task multiple times 2023-06-01 11:25:55 +00:00
yihaoDeng 0315e89591 Avoid creating the same ID task multiple times 2023-06-01 11:13:01 +00:00
Haojun Liao 1036259a7b fix(query): fix error in fill. 2023-06-01 18:25:05 +08:00
jiajingbin 2935ebcfc4 set session update info 2023-06-01 17:26:03 +08:00
liuyao 64656a59d9 reset sream fill block index 2023-06-01 16:28:32 +08:00
yihaoDeng 64edab6302 refactor code 2023-06-01 07:51:52 +00:00
Haojun Liao 706e350217 fix(query): fix error in fill and partition. 2023-06-01 14:36:42 +08:00
Ganlin Zhao 6517ede044 fix: fix interval operator ensure capacity logic 2023-06-01 11:23:31 +08:00
Haojun Liao 5d98a319c7
Merge pull request #21515 from taosdata/feature/TD-19042
feat: support create topic as stable with conditions
2023-06-01 09:56:55 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Haojun Liao 91de00597d refactor: do some internal refactor. 2023-05-31 22:12:14 +08:00
Haojun Liao 46f731e4d9
Merge pull request #21551 from taosdata/fix/resume_mem
fix(query): check the version range when dump partial rows. #TD-24504
2023-05-31 21:51:07 +08:00
Haojun Liao ccc86f9916 refactor: do some internal refactor. 2023-05-31 19:36:34 +08:00
Haojun Liao 87deb36f8a refactor: do some internal refactor. 2023-05-31 19:36:02 +08:00
yihaoDeng 04f3784696 change log level 2023-05-31 11:05:03 +00:00
Haojun Liao a3abe25539 refactor: do some internal refactor. 2023-05-31 19:03:37 +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
Haojun Liao 65b81a803f refactor: do some internal refactor and add some logs. 2023-05-31 18:05:53 +08:00
Haojun Liao 8c240cede9
Merge pull request #21545 from taosdata/enh/changeRocksParam
Enh/change rocks param
2023-05-31 13:51:32 +08:00
Haojun Liao dd9f810f81
Merge pull request #21530 from taosdata/fix/TD-24365
fix sliding window issue
2023-05-31 13:51:14 +08:00
yihaoDeng 3b0a6d7f0b change db param 2023-05-31 03:15:25 +00:00
Ganlin Zhao 26cafdea13 fix: fix multiple diffs ouput less lines if null values present 2023-05-31 11:08:41 +08:00
dapan1121 23bcfc2fd0 enh: stmt column length validation 2023-05-31 09:16:47 +08:00
yihaoDeng 67becbd4d1 change db param 2023-05-31 01:10:36 +00:00
wangmm0220 96b8431f19 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 23:17:35 +08:00
Haojun Liao fc20ca8423 fix(stream): set the correct rps flag as the dispatch rsp. 2023-05-30 18:42:23 +08:00
Haojun Liao d9cc9f2157 fix(stream): remove invalid free. 2023-05-30 18:03:21 +08:00
Haojun Liao 937f67f07b fix(stream): fix invalid free. 2023-05-30 18:02:42 +08:00
Haojun Liao e96ed81ec0 fix(stream): add input queue capacity check. 2023-05-30 17:29:01 +08:00
Haojun Liao eda06081ff enh(stream): refactor and serialize the attributes of history tasks. 2023-05-30 16:55:37 +08:00
wangmm0220 b8a4df4146 fix:avoid put tag to select if where condition is always true or false 2023-05-30 16:50:20 +08:00
dapan1121 bc4c32ee2c
Merge pull request #21514 from taosdata/fix/TD-24426-M
fix(query): invalid buf page
2023-05-30 15:58:30 +08:00
Haojun Liao d9c364d663 Merge branch '3.0' into refact/fillhistory 2023-05-30 15:51:12 +08:00
wangmm0220 689ee05527 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 15:45:46 +08:00
Haojun Liao de7231e59e fix(stream): fix memory leak in handling dispatch msg when output buffer is full. 2023-05-30 15:35:59 +08:00
liuyao 7d699ae579 fix sliding window issue 2023-05-30 15:16:11 +08:00
Ganlin Zhao 1009c80967 fix bug 2023-05-30 14:21:32 +08:00
dapan1121 94d4de614a
Merge pull request #21525 from taosdata/fix/TD-24093
fix: disable debug info
2023-05-30 11:10:59 +08:00
wangmm0220 5d2c78ba6b fix:memory leak 2023-05-30 10:39:00 +08:00
wangmm0220 8835028002 fix:deal with node is null 2023-05-30 10:21:18 +08:00
dapan1121 c1ffc64e2d fix: disable debug info 2023-05-30 09:54:30 +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
Haojun Liao 2977a4d07f refactor: do some internal refactor. 2023-05-30 09:41:19 +08:00
Haojun Liao 65b1574fbe
Merge pull request #21499 from taosdata/mark/tmq
fix:put poll to push manager if wal not exist when offset is latest
2023-05-30 09:36:53 +08:00
Haojun Liao 20a0054c4a
Merge pull request #21472 from taosdata/enh/addCompileError
change parameter
2023-05-30 09:36:36 +08:00
Haojun Liao bcba18d90e
Merge pull request #21521 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-30 00:38:38 +08:00
Benguang Zhao 267cbfbc1c enh: update syncNodePropose 2023-05-29 19:49:28 +08:00
yihaoDeng e00f79367d merge 3.0 2023-05-29 18:57:21 +08:00
Haojun Liao 3628888ecc refactor: do some internal refactor. 2023-05-29 18:02:45 +08:00
Haojun Liao cd2d225c93 refactor: do some internal refactor. 2023-05-29 17:50:39 +08:00
Ganlin Zhao b83a4b14e7 allow omit every clause for single point interp 2023-05-29 17:34:35 +08:00
wangmm0220 16e14b1c82 fix:compile error 2023-05-29 17:27:35 +08:00
wangmm0220 41ed0138b4 fix:compile error 2023-05-29 17:25:11 +08:00
wangmm0220 07bdb95b1a fix:compile error 2023-05-29 17:10:11 +08:00
Ganlin Zhao 57c301553b feat(query): support single point interp syntax 2023-05-29 16:40:30 +08:00
dapan1121 ccf57129bb fix: show create table privilege issue 2023-05-29 16:33:31 +08:00
yihaoDeng 87b2d76731 Merge branch 'enh/TD-24469/m1-build' into enh/addCompileError 2023-05-29 08:23:24 +00:00
yihaoDeng 1782ecd57e Merge branch 'fix/shared_link_rocksdb' into enh/addCompileError 2023-05-29 08:20:11 +00:00
kailixu f984e67eaa fix(query): invalid buffer page 2023-05-29 16:04:35 +08:00
Haojun Liao f2887278e2 refactor: do some internal refactor. 2023-05-29 15:44:45 +08:00
Haojun Liao 2ac83ec9c7
Merge pull request #21511 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-29 15:43:40 +08:00
yihaoDeng 26cbcf996c Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 07:31:14 +00:00
wangmm0220 78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
kailixu 3bbf5405c6 fix(query): invalid buf page 2023-05-29 14:36:29 +08:00
dapan1121 60588af694 fix: add topic query 2023-05-29 13:33:51 +08:00
wangmm0220 a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
wade zhang 8d679d7686
Merge pull request #21299 from taosdata/FIX/TD-22970-3.0
enh: refactor some func names for syncLogReplProcessReply
2023-05-29 10:59:56 +08:00
Haojun Liao 8f61e2d6ef refactor: do some internal refactor. 2023-05-29 10:50:50 +08:00
yihaoDeng 342ce14c7d Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:37:47 +00:00
yihaoDeng 58cc631c22 Merge branch 'enh/3.0' into fix/shared_link_rocksdb 2023-05-29 02:29:56 +00:00
Haojun Liao 953a69a829 refactor: do some internal refactor. 2023-05-29 10:12:27 +08:00
yihaoDeng 0be1858b4b Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-29 01:50:43 +00:00
yihaoDeng de739ce086 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-29 01:11:13 +00:00
dapan1121 e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
Haojun Liao 1e786624b2
Merge pull request #21501 from taosdata/refact/fillhistory
fix(stream): set the skip offset when resume stream task.
2023-05-27 22:45:54 +08:00
Haojun Liao d9de1813da Merge branch '3.0' into refact/fillhistory 2023-05-27 16:31:11 +08:00
Haojun Liao b38e253019 fix(stream): set the skip offset when resume stream task. 2023-05-26 22:51:58 +08:00
yihaoDeng 2f5fe2dec6 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-26 14:01:05 +00:00
yihaoDeng 4b931d3007 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-26 13:59:16 +00:00
yihaoDeng a71bffd719 Merge branch 'enh/dev3.0' into enh/addCompileError 2023-05-26 13:03:35 +00:00
yihaoDeng 57a4e56a61 change parameter 2023-05-26 20:30:03 +08:00
yihaoDeng 34d21bc03f change parameter 2023-05-26 20:11:33 +08:00
wangmm0220 a3e214b9e8 fix:put poll to push manager if wal not exist when offset is latest 2023-05-26 19:17:04 +08:00
wangmm0220 50487255b3 fix:put poll to push manager if wal not exist when offset is latest 2023-05-26 19:02:40 +08:00
Haojun Liao e31d9299cc
Merge pull request #21480 from taosdata/mark/sml
fix:memory leak
2023-05-26 19:00:21 +08:00
liuyao 5ebe75599e fix pause issue 2023-05-26 14:58:39 +08:00
slzhou b89f1652fc fix: remove tbl count scan modification from the PR 2023-05-26 14:52:14 +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 70bcbafbb8 fix: json value length is not same as binary/nchar length 2023-05-26 13:36:56 +08:00
Haojun Liao 1e845acabe fix(tmq): allow seek before get assignment 2023-05-26 11:34:12 +08:00
slzhou 81c796953e fix: address sanitizer error 2023-05-26 10:55:52 +08:00
wangmm0220 208ba2ef4d fix:memory leak 2023-05-26 10:45:37 +08:00
yihaoDeng 52c384c7c9 change parameter 2023-05-26 09:06:19 +08:00
Haojun Liao cea8334427
Merge pull request #21449 from taosdata/refact/fillhistory
refactor: remove the module dependency.  TD-24279
2023-05-26 09:01:45 +08:00
dapan1121 e70c433a59 enh: support time line query from union/union all subquery 2023-05-26 08:44:23 +08:00
Haojun Liao e24ce2111f fix: set function ptr. 2023-05-26 00:00:07 +08:00
slzhou cbbd09b85c fix: for logical and condition, each element shall be collectable operator 2023-05-25 22:37:49 +08:00
slzhou 469b2b573c fix: fix error during emptyTsRange.sim 2023-05-25 21:49:28 +08:00
dapan1121 2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
Haojun Liao 30de31e374 fix(test): fix unit test link error. 2023-05-25 18:17:09 +08:00
yihaoDeng cd44bd9f3f change parameter 2023-05-25 18:16:33 +08:00
Haojun Liao c3be7b14be fix: set correct function ptr. 2023-05-25 17:51:03 +08:00
slzhou 61b0635293 fix: get time range using new scalar mode range 2023-05-25 16:27:48 +08:00
yihaoDeng 9cb4a114e2 change parameter 2023-05-25 16:20:00 +08:00
yihaoDeng 2f90fda13d change parameter 2023-05-25 16:15:10 +08:00
slzhou de1848cb08 enhance: use scalar mode to run ci test 2023-05-25 14:51:53 +08:00
Haojun Liao 0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Haojun Liao da9f33a483 fix: fix error in set function ptr. 2023-05-25 09:56:34 +08:00
liuyao 1f81642303 fix sma sliding window 2023-05-25 09:12:10 +08:00
Haojun Liao 4a42f6b983 fix: fix error in api call. 2023-05-25 00:50:03 +08:00
Haojun Liao a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao 01f6f74fb9 fix: update the cmake file. 2023-05-24 22:27:45 +08:00
Haojun Liao ab907e3344 fix(query): fix syntax error. 2023-05-24 21:53:40 +08:00
wangmm0220 357e86b994 feat:add tag filter for stable subscribe 2023-05-24 18:59:47 +08:00
Hongze Cheng 4d526ed0cd change more 2023-05-24 18:59:09 +08:00
dapan1121 137a9eb602
Merge pull request #21455 from taosdata/enh/add_varchar_sma
fix: fix count var type error
2023-05-24 18:41:01 +08:00
wangmm0220 8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Haojun Liao fe09705855 fix: set the init function pointer. 2023-05-24 17:13:20 +08:00
slzhou 768372fc7b fix: fix compilation warning 2023-05-24 16:45:06 +08:00
slzhou d7b1613d85 Revert "fix: rocksdb so"
This reverts commit e5f9d78b6d.
2023-05-24 16:42:50 +08:00
slzhou e5f9d78b6d fix: rocksdb so 2023-05-24 16:40:34 +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
Ganlin Zhao 89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07:00
Haojun Liao a566180770 fix: fix syntax error. 2023-05-24 15:16:50 +08:00
dapan1121 3b6c469713
Merge pull request #21440 from taosdata/enh/TD-24357
enh: support config batch rows number when import data from csv file
2023-05-24 15:15:45 +08:00
Haojun Liao f203c7806d fix(tools): fix build failure on enterprise edition. 2023-05-24 14:52:50 +08:00
slzhou 5b1e0be756 enhance: add log 2023-05-24 13:41:21 +08:00
Haojun Liao 1f7f326bed refactor: do some internal refactor and set the api function ptr. 2023-05-24 13:22:05 +08:00