Commit Graph

10320 Commits

Author SHA1 Message Date
yihaoDeng 526f46dbfb add pre check 2022-10-19 13:54:12 +08:00
Haojun Liao 74305814f0 fix(query): fix coverity issues. 2022-10-19 13:38:01 +08:00
Hongze Cheng eb7de2e571
Merge pull request #17443 from taosdata/fix/commit_txn
fix: commit txn
2022-10-19 13:15:15 +08:00
Shengliang Guan 87586431f9
Merge pull request #17465 from taosdata/feature/stream
fix(stream): stream state and session support partition tbname
2022-10-19 12:48:03 +08:00
Shengliang Guan 0ad70729aa
Merge pull request #17460 from taosdata/feature/stream_ly
feat(stream): stream task and meta
2022-10-19 12:14:53 +08:00
Hongze Cheng 20b3e2168b Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 11:56:15 +08:00
Shengliang Guan 67e23350b2
Merge pull request #17461 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-19 11:54:35 +08:00
Liu Jicong 8357c7342b fix(stream): stream state and session support partition tbname 2022-10-19 11:43:01 +08:00
Haojun Liao 12fd11c481 fix(query): fix syntax error. 2022-10-19 11:41:30 +08:00
Haojun Liao f7fdeecc44
Merge branch '3.0' into feature/3_liaohj 2022-10-19 11:23:55 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
54liuyao 7f16081e29 feat(stream): stream task and meta 2022-10-19 10:49:42 +08:00
Hongze Cheng 1d6c5e63ed Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 10:13:59 +08:00
Shengliang Guan 7cdfade1ae
Merge pull request #17442 from taosdata/fix/TD-19443-V30
fix(query): improve performance for first function x10 quickly
2022-10-19 10:06:55 +08:00
Shengliang Guan fc5af24975
Merge pull request #17444 from taosdata/enh/TD-19622
refact: remove bnode codes
2022-10-19 10:06:35 +08:00
Benguang Zhao 00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +08:00
Haojun Liao c7c99ae346 fix(query): update last_row callback function. 2022-10-19 09:33:54 +08:00
Benguang Zhao 3b0968d7f9 enh: enable the -Wformat=2 compiler option 2022-10-19 09:24:15 +08:00
dapan1121 53e73511b5 Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-19 09:16:13 +08:00
dapan1121 20085e5b72 fix:fix coverity issues 2022-10-19 09:15:04 +08:00
Hongze Cheng efa9f19d18 make it compile 2022-10-19 09:12:37 +08:00
Hongze Cheng 71a2db6cf2 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-19 09:10:36 +08:00
Shengliang Guan a941b0b919
Merge pull request #17441 from taosdata/enh/TD-19463_2
enh: sync propose return at once if replica is 1
2022-10-19 09:07:57 +08:00
Shengliang Guan 5cd1c12c4b
Merge pull request #17448 from taosdata/fix/TD-19619
fix(query): mode function output behavior if there're multiple highest frequency of occurrence.
2022-10-19 09:06:43 +08:00
Shengliang Guan 5849f99710
Merge pull request #17446 from taosdata/feature/stream_ly
feat(stream):replace disk buff
2022-10-19 09:05:51 +08:00
Hongze Cheng 74d025c783 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/commit_txn 2022-10-18 22:47:12 +08:00
dapan1121 99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
Minghao Li 4c9f10b6f3 refactor(sync): add sync ctrl queue in vnode 2022-10-18 19:12:34 +08:00
Ganlin Zhao 2d1f7354a9 fix null value handling 2022-10-18 19:11:49 +08:00
Minglei Jin 82132cdfdd meta: new metaFinishCommit api & rollback parameter with metaOpen 2022-10-18 18:34:39 +08:00
dapan1121 cbfc9872c6 fix: add cachesize in show create database result 2022-10-18 18:28:49 +08:00
Shengliang Guan b44a795179
Merge pull request #17432 from taosdata/fix/TD-19250-3
fix: coverity issues
2022-10-18 18:14:03 +08:00
54liuyao 8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
Shengliang Guan 2ece142aba Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 18:13:16 +08:00
Haojun Liao e4940e82c5 fix(query): update last_row callback function. 2022-10-18 17:54:29 +08:00
Ganlin Zhao 0f5e02b0b4 fix(query): mode function output one random result instead of NULL
if there're multiple highest frequency of occurrence.

TD-19619
2022-10-18 17:52:40 +08:00
Shengliang Guan 3cbfd2d160
Merge pull request #17392 from taosdata/FIX/TD-19183-3.0
enh: not allowed to start on disk space unavailable
2022-10-18 17:46:14 +08:00
Haojun Liao 60e7f2800b fix(query): fix bug in cached last query. 2022-10-18 17:39:28 +08:00
dapan1121 fe5b898ee5
Merge pull request #17430 from taosdata/fix/TD-19609
fix: fix case when crash issue
2022-10-18 17:37:37 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Alex Duan 85ec70d099 fix(query): improve performance for first function x10 quickly1 2022-10-18 17:26:51 +08:00
yihaoDeng f0d2f145e2 add pre check 2022-10-18 17:25:13 +08:00
Alex Duan e2637ab6a7 fix(query): improve performance for first function x10 quickly 2022-10-18 17:22:41 +08:00
Minghao Li 1df2703c41 refactor(sync): modify strategy for syncBeginSnapshot 2022-10-18 17:15:57 +08:00
Shengliang Guan 5b7872b119 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 17:06:28 +08:00
Shengliang Guan 9e0feee081 enh: sync propose return at once if replica is 1 2022-10-18 17:06:03 +08:00
Shengliang Guan 194587558b
Merge pull request #17434 from taosdata/fix/3.0_bugfix_wxy
fix: plan problem with 'partition by tag group by tag' statement
2022-10-18 16:33:36 +08:00
dapan1121 0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
Shengliang Guan af070148b9
Merge pull request #17394 from taosdata/enh/TD-19463_2
fix: crash while reconfig mnode will cause taosd reboot failure
2022-10-18 16:24:08 +08:00
Minghao Li e85954276f refactor(sync): rename functions 2022-10-18 16:16:53 +08:00
yihaoDeng e74881c17c add systable filter 2022-10-18 15:26:29 +08:00
Minghao Li 1b36ad119c refactor(sync): rename functions 2022-10-18 15:24:00 +08:00
Shengliang Guan b92f1efd40 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 15:16:38 +08:00
Xiaoyu Wang eaa2a344e1 fix: plan problem with 'partition by tag group by tag' statement 2022-10-18 15:01:52 +08:00
Shengliang Guan c5e9b6abd6
Merge pull request #17402 from taosdata/fix/TD-19259
fix: fix coverity scan problem
2022-10-18 14:50:45 +08:00
Minglei Jin 029abe7396 fix: coverity issues 2022-10-18 14:32:18 +08:00
Minghao Li 49c19e13f2 refactor(sync): rename function 2022-10-18 14:16:39 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Haojun Liao 5a7b360d6c
Merge pull request #17428 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-18 13:29:00 +08:00
dapan1121 c51629e5d3
Merge pull request #17423 from taosdata/fix/TS-1901
fix: fix varchar and bigint compare issue
2022-10-18 13:16:27 +08:00
Shengliang Guan f76261dcb5 fix: become leader if replica num is 1 2022-10-18 12:31:15 +08:00
dapan1121 ab7a00abbe fix: fix case when crash issue 2022-10-18 11:54:30 +08:00
Haojun Liao 2e4dca1171 fix: remove a typo 2022-10-18 11:53:22 +08:00
Haojun Liao 91c376ab63 other: merge 3.0 2022-10-18 11:52:44 +08:00
Shengliang Guan 3ff1ae2bd5
Merge pull request #17421 from taosdata/feature/stream_ly
fix(stream): coverity scan, memory leak
2022-10-18 11:49:14 +08:00
Haojun Liao 95dd30be57 fix(query): fix coverity issues. 2022-10-18 11:43:58 +08:00
yihaoDeng 0c6ada5eea Merge branch 'n2' into new 2022-10-18 11:42:00 +08:00
Xiaoyu Wang 0228caaa0d enh: last cache optimize 2022-10-18 11:38:59 +08:00
Benguang Zhao cf2b6ccbfb enh: write idx ahead of writing its log entry in WAL 2022-10-18 11:23:24 +08:00
Benguang Zhao af9aa9d783 enh: assert on alignment of idx entries in walWriteIndex 2022-10-18 11:23:13 +08:00
Benguang Zhao f0427c9322 fix: ftrunc on appending WAL log failure for recovery in walWriteImpl 2022-10-18 11:22:21 +08:00
Benguang Zhao 3190ef65a3 fix: deal with misaligned idx entries in walCheckAndRepairIdxFile 2022-10-18 11:21:48 +08:00
yihaoDeng b5f7623219 fix invalid packet 2022-10-18 10:53:29 +08:00
dapan1121 bdb81e2b89 fix: fix varchar and bigint compare issue 2022-10-18 10:44:24 +08:00
Xiaoyu Wang 78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy 2022-10-18 09:53:08 +08:00
54liuyao 5fc475b960 fix(stream): coverity scan, memory leak 2022-10-18 09:40:19 +08:00
Shengliang Guan a609f0efb5 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-18 09:37:33 +08:00
Shengliang Guan 98f1c3d89a
Merge pull request #17411 from taosdata/fix/coverity_glzhao
fix: coverity issues
2022-10-17 22:58:37 +08:00
Shengliang Guan b660f03f24
Merge pull request #17418 from taosdata/fix/invalidPack
fix: fix invalid packet
2022-10-17 22:58:04 +08:00
Haojun Liao 7e1521ba0a
Merge pull request #17401 from taosdata/fix/liao_cov
fix(query): fix coverity  issues.
2022-10-17 22:45:02 +08:00
yihaoDeng 78df93e0ca fix invalid packet 2022-10-17 22:17:47 +08:00
Minghao Li 94ba0f47f0 refactor(sync): stop elect when not candidate 2022-10-17 20:20:55 +08:00
yihaoDeng 5ff8bb5bc0 fix invalid packet 2022-10-17 19:56:59 +08:00
dapan1121 1992925d8d Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-17 19:50:37 +08:00
dapan1121 cf9abe7258 fix: fix coverity check issues 2022-10-17 19:48:36 +08:00
Haojun Liao c8b180b129 fix(query): update the cached last query. 2022-10-17 19:14:06 +08:00
Hongze Cheng 50dfc57cda
Merge pull request #17398 from taosdata/fix/TD-19250-2
fix: coverity issues
2022-10-17 18:59:40 +08:00
Minghao Li 45bce6ad49 refactor(sync): add syncBeginSnapshot, syncEndSnapshot 2022-10-17 18:08:35 +08:00
Haojun Liao da9df99461 fix(query): opt last query. 2022-10-17 17:59:43 +08:00
Minghao Li 8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +08:00
Ganlin Zhao 1a3b2fa4f2 fix: coverity issues
CID: 399527
2022-10-17 16:55:27 +08:00
Xiaoyu Wang 93aee94a3f fix: do coverity scan 2022-10-17 16:54:12 +08:00
Minghao Li 092a07475d refactor(sync): process hb and appendentries 2022-10-17 16:38:44 +08:00
yihaoDeng c9aadfadee fix coverity scan problem 2022-10-17 16:29:50 +08:00
Haojun Liao 6d965b8b81 fix(query): fix coverity issues. 2022-10-17 16:27:44 +08:00
Shengliang Guan ced97588d1
Merge pull request #17395 from taosdata/szhou/fixbugs
fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator
2022-10-17 16:26:24 +08:00
Xiaoyu Wang b286b0cf26 fix: do coverity scan 2022-10-17 16:18:35 +08:00
Haojun Liao 89f80436c6 fix(query): fix coverity issues. 2022-10-17 16:17:16 +08:00
Ganlin Zhao 51dd72ec82 fix: coverity issues
CID: 372918
2022-10-17 15:53:24 +08:00
Xiaoyu Wang 9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
Minglei Jin 5c66712b91 fix: coverity issues 2022-10-17 15:28:10 +08:00
Haojun Liao 08397dc698
Merge pull request #17389 from taosdata/fix/liao_cov
fix(query): fix bug in group by tag.
2022-10-17 15:06:26 +08:00
Shengliang Guan 77e40abea2
Merge pull request #17359 from taosdata/enh/3.0_planner_optimize
fix: problem when last is used for system table query
2022-10-17 14:37:04 +08:00
Shengliang Guan 8fe672feab fix: crash whle reconfig mnode will cause taosd reboot failure 2022-10-17 14:34:51 +08:00
slzhou 4c2896236f fix: reserve enough capacity for inter/final result block when performing scalar calculation of fill operator 2022-10-17 14:34:34 +08:00
Benguang Zhao a4fd2def98 fix: resolve a typo in errormsg printing in walScanLogGetLastVer 2022-10-17 14:22:20 +08:00
Haojun Liao ed9ec795eb fix(query): fix coverity issues. 2022-10-17 14:05:40 +08:00
Haojun Liao 87516ea332 fix(query): fix bug in group by tag. 2022-10-17 13:00:31 +08:00
Ganlin Zhao bcf2cfeed7 fix: coverity issues
CID: 354713
2022-10-17 11:06:02 +08:00
Minghao Li a3f8c03a65 refacotr(sync): add case sync2-test.sim 2022-10-17 10:58:55 +08:00
Minghao Li 5745223bca refactor(sync): add double queues in mnode 2022-10-17 10:33:27 +08:00
Liu Jicong 9a3ac0ca57 Merge branch '3.0' into feature/stream 2022-10-17 10:17:45 +08:00
Liu Jicong 6f9153c6e3 fix: error handling 2022-10-17 10:13:10 +08:00
Shengliang Guan 4223b43a3a
Merge pull request #17322 from taosdata/FIX/TD-19239-3.0
fix: enhance subroutines to resolve WAL inconsistency after crashing or disk full
2022-10-17 09:06:16 +08:00
yihaoDeng 1132f72440 Merge branch 'n2' into new 2022-10-16 21:33:12 +08:00
yihaoDeng 4ff0b21bb4 opt systable query 2022-10-16 21:30:53 +08:00
Haojun Liao bcb3d41d08 fix(query): fix coverity issues. 2022-10-16 13:46:21 +08:00
Benguang Zhao e3f50c0d48 fix: align vers.firstVer with vers.snapshotVer+1 in WAL meta info 2022-10-16 13:10:57 +08:00
Haojun Liao aa9c99fa53 Merge branch '3.0' into feature/3_liaohj 2022-10-16 12:50:05 +08:00
Minghao Li fa30b94c67 refactor(sync): append entries 2022-10-16 12:07:02 +08:00
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 6f39a36344 fix: replace asserts on failure of tdbPagerWrite with tdbError msg 2022-10-15 23:57:37 +08:00
Benguang Zhao a4cc3f76d4 fix: ignore file not exist error of tdbOsRemove 2022-10-15 23:57:37 +08:00
Benguang Zhao c70d10334c enh: print vgId in error msg within syncNodeCommit 2022-10-15 23:57:37 +08:00
Benguang Zhao b6c31ee67d fix: fsync the current wal log and idx files at first to ensure validity of meta in walSaveMeta 2022-10-15 23:57:37 +08:00
Benguang Zhao 7fb827debd fix: refactor walScanLogGetLastVer, walCheckAndRepairMeta, and walCheckAndRepairIdx.
* search for the last entry in the contiguous range of valid WAL from the last pos fsynced as firstTrial
    * find the last entry before the last pos fsynced backwards as second trial
    * reserve sufficient space for computing CRC32 checksum, esp. of WAL record body
    * rebuild meta info to resolve potential misalignment between lists of meta and actual log files
    * retract commitIndex and appliedIndex to lastLogIndex if needed
    * put an upper size limit on possibly corrupted WAL range to be recovered
2022-10-15 23:56:31 +08:00
Shengliang Guan 513db327e8
Merge pull request #17366 from taosdata/fix/TD-19250
fix: dismiss some coverity scan issues
2022-10-15 21:54:58 +08:00
Hongze Cheng 0a0f67c872
Merge pull request #17373 from taosdata/revert-17368-refact/tag_agg_opt
Revert "enh(query): opt group by tag perf."
2022-10-15 20:43:59 +08:00
Shengliang Guan edf9253a16 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-15 17:19:08 +08:00
Hongze Cheng 329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +08:00
Minghao Li 797d1324c5 refactor(sync): request vote 2022-10-15 09:28:55 +08:00
Haojun Liao 77cafebd63
Merge pull request #17368 from taosdata/refact/tag_agg_opt
enh(query): opt group by tag perf.
2022-10-14 23:26:34 +08:00
Benguang Zhao c693384ec4 enh: replace asserts with error logs in walReadVer 2022-10-14 22:57:28 +08:00
Benguang Zhao 948fa60ef0 fix: check the length of remaining content for computing CRC32 chksum of WAL record body 2022-10-14 22:57:28 +08:00
Benguang Zhao 63b13db10f fix: eliminate asserts on getting and committing log entries 2022-10-14 22:57:27 +08:00
Benguang Zhao df18ddbbb5 enh: remove WAL log file corrupted completely 2022-10-14 22:57:27 +08:00
Benguang Zhao 715f53a856 fix: eliminate asserts on errors of appending or getting log entry 2022-10-14 22:46:35 +08:00
Benguang Zhao 9055f63742 fix: ftruncate WAL log after the last valid WAL record properly in walScanLogGetLastVer 2022-10-14 22:43:41 +08:00
Benguang Zhao 76865258cf enh: protect WAL meta by flushing to a tmpfile at first and then renaming 2022-10-14 22:32:15 +08:00
Shengliang Guan fc090a1a4a enh: refactor the code to create and delete mnodes 2022-10-14 22:19:10 +08:00
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
yihaoDeng 044f025bc6 opt systable query 2022-10-14 19:54:05 +08:00
dapan1121 0df311a78f
Merge pull request #17264 from taosdata/refact/query_opt
refactor:do some internal refactor to optimize the query performance.
2022-10-14 19:51:46 +08:00
Shengliang Guan ea4ae8a960 Merge remote-tracking branch 'origin/3.0' into enh/TD-19463_2 2022-10-14 19:23:02 +08:00
Haojun Liao aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Minglei Jin 3f46bd64b9 fix: dismiss some coverity scan issues 2022-10-14 17:47:21 +08:00
Liu Jicong bf2d8540d3
Merge pull request #17355 from taosdata/feature/stream
fix(stream): memory leak
2022-10-14 17:24:24 +08:00
dapan1121 fdffc2883f fix: fix code merge issue 2022-10-14 17:05:18 +08:00
Xiaoyu Wang bb3bb18c01 fix: problem when last is used for system table query 2022-10-14 16:24:00 +08:00
Shengliang Guan 2f69d657e0
Merge pull request #17353 from taosdata/feature/stream_ly
fix(stream):Defects Tracking, delete log
2022-10-14 16:03:46 +08:00
Shengliang Guan 075c2e9126
Merge pull request #17343 from taosdata/enh/3.0_planner_optimize
enh: do coverity scan
2022-10-14 16:03:03 +08:00
Liu Jicong 50896c3a01 Merge branch '3.0' into feature/stream 2022-10-14 15:38:58 +08:00
Liu Jicong a57a305035 fix(stream): memory leak 2022-10-14 14:43:22 +08:00
Hongze Cheng e20dbd566a
Merge pull request #17352 from taosdata/fix/hzcheng_coverity_scan
fix: converity scan problem
2022-10-14 14:42:43 +08:00
54liuyao d5a410b90e fix(stream):Defects Tracking, delete log 2022-10-14 14:29:25 +08:00
Liu Jicong cface2840e
Merge pull request #17349 from taosdata/feature/stream
fix(tmq): push msg
2022-10-14 14:18:17 +08:00
Xiaoyu Wang ab98754c56 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-14 13:45:15 +08:00
Hongze Cheng 2268a1e94e fix some converity scan problem 2022-10-14 13:34:25 +08:00
Liu Jicong 6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
dapan1121 40591003d1 Merge branch 'refact/query_opt' of github.com:taosdata/TDengine into refact/query_opt 2022-10-14 13:09:30 +08:00
Minghao Li 4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
yihaoDeng bd5b94cb94 Merge branch 'd3' into new 2022-10-14 10:06:21 +08:00
dapan1121 9a024590f5
Merge pull request #17321 from taosdata/feat/caseWhen
feat: support case when operator
2022-10-14 09:57:29 +08:00
dapan1121 74be3572db enh: add query response policy 2022-10-14 09:31:18 +08:00
dapan1121 52e0681769 fix: fix merge issue 2022-10-14 09:16:02 +08:00
dapan1121 f3919c4450 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-14 09:14:01 +08:00
yihaoDeng b5c2ee1dc7 add index to ins_tables 2022-10-13 22:21:20 +08:00
yihaoDeng 974bc4b7c6 add systable filterr 2022-10-13 21:49:53 +08:00
Minghao Li 2ae4081a3f refactor(sync): add double queues in vnode 2022-10-13 20:57:36 +08:00
afwerar f80dbfb6f5 fix: memory param over 2022-10-13 18:48:06 +08:00
Xiaoyu Wang 9a946541a2 enh: do coverity scan 2022-10-13 18:14:44 +08:00
Xiaoyu Wang 242a53c285 enh: do coverity scan 2022-10-13 17:03:40 +08:00
Hongze Cheng 5f010843a6 more code format 2022-10-13 16:58:43 +08:00
Xiaoyu Wang 7a19119dc7 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-13 16:44:41 +08:00
Xiaoyu Wang 3cce178721 enh: do coverity scan 2022-10-13 16:43:56 +08:00
Haojun Liao d234681b74 other:merge 3.0 2022-10-13 15:39:06 +08:00
Haojun Liao 18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +08:00
Minghao Li 733440b352 refactor(sync): add double queues in vnode 2022-10-13 14:37:18 +08:00
Hongze Cheng 5b6e928d65 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/code_format 2022-10-13 14:25:51 +08:00
Hongze Cheng 8a033aca5c more code format 2022-10-13 14:25:37 +08:00
Liu Jicong 7f8d2ff56d
Merge pull request #17328 from taosdata/feature/stream
refactor(stream): set state buffer size
2022-10-13 14:24:31 +08:00
Haojun Liao f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Hongze Cheng c4b3da5032 more code format 2022-10-13 14:15:42 +08:00
Hongze Cheng c79cc7e454 more code format 2022-10-13 14:06:27 +08:00
Hongze Cheng bb65999566 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/code_format 2022-10-13 14:03:34 +08:00
Hongze Cheng d8e32fb439 more code format 2022-10-13 14:03:23 +08:00
Hongze Cheng 63d9b85631 more code format 2022-10-13 13:59:18 +08:00
Shengliang Guan bf5c14b64c
Merge pull request #17305 from taosdata/feature/rpc_compress
support compress
2022-10-13 13:58:36 +08:00
Shengliang Guan ebf330fad2
Merge pull request #17309 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-10-13 13:58:13 +08:00
Hongze Cheng d5255f1eb7 more format 2022-10-13 13:41:36 +08:00
Hongze Cheng bd2546a765
Merge pull request #17303 from taosdata/fix/TD-19482
fix(meta): META_READER_NOLOCK with inner meta readers
2022-10-13 13:19:57 +08:00
yihaoDeng 3addb95496 Merge branch 'new' into dd 2022-10-13 12:40:26 +08:00
Minglei Jin 060eb307a9 fix(mac): new metaReaderReleaseLock api to keep reader's buffer 2022-10-13 12:02:18 +08:00
Liu Jicong d507678b35 refactor(stream): set state buffer size 2022-10-13 11:18:02 +08:00
Shengliang Guan 245d9f462b
Merge pull request #17311 from taosdata/fix/TD-19484
fix(query): interp with every(0s) casuing client crash
2022-10-13 09:16:40 +08:00
Liu Jicong 92bc2561bf
Merge pull request #17317 from taosdata/feature/stream
refactor(stream): change state table name
2022-10-12 17:05:52 +08:00
Xiaoyu Wang d6374a726a fix: some problems of parser 2022-10-12 16:32:29 +08:00
yihaoDeng 2bd62bc586 fix: [TD-19500] del duplicate msg 2022-10-12 16:05:59 +08:00
dapan1121 5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +08:00
Hongze Cheng 69b7348efc
Merge pull request #17316 from taosdata/feat/tdlite
refact: adjust some code for further dev
2022-10-12 15:05:53 +08:00
Liu Jicong db6b0503a1 refactor(stream): change state table name 2022-10-12 14:34:04 +08:00
Liu Jicong a596b5486c
Merge pull request #17295 from taosdata/feature/stream
chore: add demo for stream user defined table name
2022-10-12 14:32:44 +08:00
Xiaoyu Wang 6954d4902b fix: some problems of parser 2022-10-12 14:18:03 +08:00
Hongze Cheng 746da9fd27 make it compile 2022-10-12 13:49:40 +08:00
dapan1121 a13f553868 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-12 13:33:41 +08:00
dapan1121 c485718d32 feat: add more case when cases 2022-10-12 11:46:49 +08:00
yihaoDeng 5badb8f056 fix(tsc): fix invalid free 2022-10-12 11:38:07 +08:00
Hongze Cheng 52bf961622 more code 2022-10-12 11:09:42 +08:00
Liu Jicong 69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Ganlin Zhao 928fd0b13f fix(query): interp with every(0s) casuing client crash
TD-19484
2022-10-12 10:39:49 +08:00
yihaoDeng 53b6058b0d support compress 2022-10-12 10:22:40 +08:00
yihaoDeng 841207666a support compress 2022-10-12 10:20:01 +08:00
Xiaoyu Wang 947e9d6458 fix: some problems of parser 2022-10-12 10:16:29 +08:00
Liu Jicong 41474e40bf enh(wal): auto fix 2022-10-12 02:08:58 +08:00
Haojun Liao d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
yihaoDeng 37a0b9c759 support compress 2022-10-11 22:18:44 +08:00
yihaoDeng 4507776c8e support compress 2022-10-11 22:09:35 +08:00
Shengliang Guan b9374718d6
Merge pull request #17290 from taosdata/fix/3.0_bugfix_wxy
feat: support batch loading of csv files
2022-10-11 20:53:49 +08:00
Minglei Jin 0d52e92210 fix(meta): META_READER_NOLOCK with inner meta readers 2022-10-11 20:18:08 +08:00
Haojun Liao c71810c887 fix(query): fix memory leak. 2022-10-11 19:37:06 +08:00
Shengliang Guan 5a8172d6c2
Merge pull request #17298 from taosdata/fix/glzhao_coverity
fix: fix coverity issues
2022-10-11 18:51:52 +08:00
Xiaoyu Wang 0563eb2475 feat: support batch loading of csv files 2022-10-11 17:28:58 +08:00
Ganlin Zhao e5c3ff7158 fix: coverity issues
CID: 399950
2022-10-11 17:08:30 +08:00
Liu Jicong 14c4ff1d94 add demo for stream user defined table name 2022-10-11 16:48:13 +08:00
Shengliang Guan 593d3e7ba0
Merge pull request #17289 from taosdata/fix/TD-19457
fix: unit test case for tdb ovfl pages
2022-10-11 16:21:12 +08:00
Liu Jicong 11ca4ddf8c
Merge pull request #17288 from taosdata/feature/stream
refactor(stream): state/session map id to tbname
2022-10-11 16:07:22 +08:00
Ganlin Zhao 936c7b6276 fix: coverity issues
CID: 400042
2022-10-11 16:00:19 +08:00
Xiaoyu Wang 18fa48ae57 feat: support batch loading of csv files 2022-10-11 15:54:01 +08:00
Minglei Jin ccdd3ff8c2 fix: unit test case for tdb ovfl pages 2022-10-11 15:32:07 +08:00
Liu Jicong 26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Shengliang Guan 21e02c1752
Merge pull request #17284 from taosdata/fix/TD-19457
fix(tdb): add cell header size while decoding left bytes
2022-10-11 15:21:47 +08:00
Haojun Liao b7e897abc8 refactor: update some logs. 2022-10-11 15:16:28 +08:00
Ganlin Zhao 37a9143fcb fix: coverity issues
CID: 400170
2022-10-11 14:33:10 +08:00
Minglei Jin 47f286869c fix(tdb): add cell header size while decoding left bytes 2022-10-11 14:25:30 +08:00
Haojun Liao b4593e9046
Merge pull request #17276 from taosdata/feature/3_liaohj
fix(query): fix invalid type convert in cast function.
2022-10-11 13:37:32 +08:00
Haojun Liao 187735dede fix(query): fix the invalid write. 2022-10-11 10:49:19 +08:00
Liu Jicong 596ea98c2f
Merge pull request #17281 from taosdata/feature/stream
refactor(stream)
2022-10-11 09:27:49 +08:00
Liu Jicong fbfae317b3 refactor 2022-10-11 02:09:15 +08:00
Haojun Liao 2dcb5a9c29 fix(query): fix an typo. 2022-10-10 22:00:36 +08:00
Haojun Liao 73b5a001d6 fix(query): fix invalid type convert in cast function. 2022-10-10 19:15:52 +08:00
Shengliang Guan b98c9672aa
Merge pull request #17265 from taosdata/szhou/fixbugs
fix: fix no stop error when interval fill order by desc
2022-10-10 18:50:13 +08:00
Haojun Liao ad16acda14 fix(query): fix syntax error. 2022-10-10 18:23:26 +08:00
shenglian zhou 9324ad288e fix: fix _wend computation error 2022-10-10 16:53:17 +08:00
shenglian zhou 5ccc7aa98e fix: fix no stop error when interval fill order by desc 2022-10-10 16:16:54 +08:00
Shengliang Guan f0a7430238
Merge pull request #17263 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-10-10 16:13:27 +08:00
Shengliang Guan f9df999a05
Merge pull request #17262 from taosdata/fix/TD-19416
fix(query): new META_READER_NOLOCK flag for metaReaderInit
2022-10-10 15:55:20 +08:00
Haojun Liao 7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Minglei Jin 9a410b96ef fix(query): new META_READER_NOLOCK flag for metaReaderInit 2022-10-10 15:04:33 +08:00
Haojun Liao 68842b9c64 refactor: do some internal refactor. 2022-10-10 14:55:58 +08:00
Shengliang Guan 66a5f6cc8d
Merge pull request #17255 from taosdata/feature/stream
fix: coverity scan
2022-10-10 13:44:07 +08:00
Liu Jicong b1594a6857 fix coverity scan 2022-10-10 11:44:17 +08:00
Haojun Liao 9eab350e90
Merge pull request #17248 from taosdata/feature/3_liaohj
enh(query): support scalar expressions in the state window aggregate.
2022-10-10 11:31:12 +08:00
Shengliang Guan 4084140fa0
Merge pull request #17252 from taosdata/fix/TD-19254-D
fix: coverity scan for sma and tfs
2022-10-10 11:24:37 +08:00
Cary Xu 6b984ab448 fix: coverity scan for sma and tfs 2022-10-10 10:23:57 +08:00
Cary Xu 37c2fd5b08 fix: coverity scan for sma and tfs 2022-10-10 10:16:00 +08:00
Liu Jicong 86d80ad478
Merge pull request #17244 from taosdata/feature/stream
feat(stream): support define table name (DO NOT MERGE)
2022-10-10 10:05:33 +08:00
Shengliang Guan 60be9f5771
Merge pull request #17241 from taosdata/enh/optLogTime
enh: opt log time
2022-10-10 09:59:37 +08:00
Liu Jicong 57d1406096 add tbname column into stream special block 2022-10-09 22:49:37 +08:00
Haojun Liao 4bc94300a5 enh(query): support scalar expressions in the state window aggregate. 2022-10-09 21:49:40 +08:00
yihaoDeng 9a5db03293 opt log time 2022-10-09 21:13:50 +08:00
Shengliang Guan e99b8a5f57
Merge pull request #17240 from taosdata/fix/TD-19261
fix(tdb): subtract payload size with cell header size
2022-10-09 19:30:57 +08:00
Minglei Jin 4a64803278 fix(tdb): subtract payload size with cell header size 2022-10-09 18:40:24 +08:00
Liu Jicong 2b3ff12521 fix bad merge 2022-10-09 18:39:23 +08:00
Liu Jicong eafe8666f7 merge 3.0 2022-10-09 17:00:18 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
yihaoDeng 03f4412916 opt log time 2022-10-09 16:53:44 +08:00
Minglei Jin de3e886188 fix(test): ovfl page case with border condition checking 2022-10-09 16:38:58 +08:00
Hongze Cheng cd0593cfcf fix more 2022-10-09 16:10:16 +08:00
Hongze Cheng 18e31f8e26 more fix 2022-10-09 15:50:22 +08:00
Hongze Cheng 7941f3a36e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/alter_pages_buffer 2022-10-09 15:47:21 +08:00
Shengliang Guan ba912cdfc0
Merge pull request #17214 from taosdata/feature/stream_ly
fix(stream): filter error occurred when data was modified
2022-10-09 15:45:37 +08:00
Shengliang Guan c1ed4da67d
Merge pull request #17231 from taosdata/szhou/fixbugs
fix: fix coverity scan issues
2022-10-09 15:44:44 +08:00
Hongze Cheng a27677d285 more fix 2022-10-09 15:44:01 +08:00
Hongze Cheng 2015db5756 alter pages 2022-10-09 15:01:20 +08:00
54liuyao 9c170ecfa8 fix(stream): filter error occurred when data was modified 2022-10-09 14:52:39 +08:00
Hongze Cheng ff8e38d3c8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/alter_pages_buffer 2022-10-09 13:55:25 +08:00
Shengliang Guan f298119e31
Merge pull request #17224 from taosdata/fix/TD-19314
fix(query): fix infinite interpolation results generated when sliding window is smaller than interval window in descending time order
2022-10-09 13:36:42 +08:00
Shengliang Guan 49a32709a4
Merge pull request #17229 from taosdata/fix/TD-19385
fix(query): fix inconsistent max value caused by data conversion when reading from sma.
2022-10-09 13:34:28 +08:00
Haojun Liao fba30d0a9e
Merge pull request #17233 from taosdata/feature/3_liaohj
fix(query): clean result block before loading new results.
2022-10-09 13:27:54 +08:00
Haojun Liao a8d2e22ac2 fix(query): clean result block before loading new results. 2022-10-09 11:45:10 +08:00
shenglian zhou 9a82f3521b fix: fix coverity scan issues 2022-10-09 10:55:38 +08:00
Ganlin Zhao 654f41c4cf Merge branch '3.0' into fix/TD-19385 2022-10-09 10:06:55 +08:00
Hongze Cheng 823b1c3fea Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/alter_pages_buffer 2022-10-09 09:56:18 +08:00
wade zhang 5be42222dc
Merge pull request #17199 from taosdata/fix/tbNameInvalidTag
fix(query): fix invalid tag value
2022-10-09 09:50:16 +08:00
Ganlin Zhao e9f30db0ab fix(query): fix infinite interpolation results generated when sliding
window is smaller than interval window in descending time order
2022-10-08 19:22:31 +08:00
dapan1121 55a26990da feat: support case when cases 2022-10-08 19:07:43 +08:00
Ganlin Zhao 16804ed711 fix(query): fix inconsistent max value caused by data conversion
when reading from sma.
2022-10-08 18:48:49 +08:00
Ganlin Zhao 2f3536bacd fix(query): fix infinite interpolation results generated when sliding
window is smaller than interval window in descending time order
2022-10-08 18:28:09 +08:00
yihaoDeng 27003dfaa5 fix invalid tag value 2022-10-08 15:48:52 +08:00
Xiaoyu Wang b00c4257e4 feat: 'alter database pages' and 'alter database buffer' 2022-10-08 15:24:18 +08:00
54liuyao f569355d06 fix(stream):memory leak 2022-10-08 11:04:36 +08:00
Zhiqiang Wang d05b134a48
os: Mac package (#17201)
* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package

* os: Mac package
2022-10-08 10:12:17 +08:00
dapan1121 05a3997731 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-08 09:21:39 +08:00
yihaoDeng c62b1985d7 fix invalid tag value 2022-10-05 18:32:30 +08:00
Shengliang Guan 0575cc26b1
Merge pull request #17186 from taosdata/feat/3.0_parser_planner
fix: query information_schema.ins_tags error
2022-10-03 12:20:35 +08:00
yihaoDeng 16c1473823 enh(query): opt get table meta 2022-10-01 13:49:30 +08:00
yihaoDeng ca041b6dd0 fix(tsc): fix invalid free 2022-09-30 20:02:51 +08:00
yihaoDeng 4a3436b15c Merge branch 'nnn' into dv3 2022-09-30 19:25:21 +08:00
dapan1121 50b396c818 fix: fix case when issues 2022-09-30 18:13:55 +08:00
Xiaoyu Wang 3d1bf6f50d fix: query information_schema.ins_tags error 2022-09-30 17:57:04 +08:00
Haojun Liao fac464792d other:merge 3.0 2022-09-30 17:54:03 +08:00
yihaoDeng 738fddb814 fix coverity scan problem 2022-09-30 17:49:08 +08:00
Shengliang Guan 94e07d238c
Merge pull request #17178 from taosdata/feature/TD-18820
fix(stream): sliding error
2022-09-30 16:23:47 +08:00
Shengliang Guan f7ab5f1d9a
Merge pull request #17181 from taosdata/szhou/fixbugs
fix: ins_tags table name optimization error
2022-09-30 16:23:26 +08:00
54liuyao f3b2067675 fix(stream): sliding error 2022-09-30 15:37:43 +08:00
Shengliang Guan 26d4a71f77
Merge pull request #17179 from taosdata/feat/3.0_parser_planner
fix: query information_schema.ins_tags error
2022-09-30 15:26:29 +08:00
dapan1121 8ab016fd9f Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-09-30 15:21:03 +08:00
shenglian zhou 99befe4a89 fix: ins_tags table name optimization error 2022-09-30 15:08:21 +08:00
dapan1121 b03b139b76 feat: support case when clause 2022-09-30 14:59:43 +08:00
Xiaoyu Wang 3ed27805c3 fix: query information_schema.ins_tags error 2022-09-30 14:43:51 +08:00
Haojun Liao 0d3a6c6261 refactor: update the transport module. 2022-09-30 13:48:09 +08:00
Haojun Liao f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
Haojun Liao 1f57a5a1cc
Merge pull request #17172 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-09-30 13:45:01 +08:00
Shengliang Guan d17884f7c7
Merge pull request #17163 from taosdata/enh/optTbnameIN
opt(query): opt tbname_in query
2022-09-30 13:36:52 +08:00
Haojun Liao c9286fed25 fix(query): fix memory leak. 2022-09-30 13:03:25 +08:00
yihaoDeng 3a9dee68cb opt tbname in 2022-09-30 11:30:07 +08:00
yihaoDeng f41b494ac6 opt tbname in 2022-09-30 10:19:56 +08:00
54liuyao 46c99915bc feat(stream): distribute interval disc buff 2022-09-30 10:01:51 +08:00
Shengliang Guan e6ac8ed3a9
Merge pull request #17121 from taosdata/szhou/fixbugs
enhance: optimize when select from ins_tags when table_name='xxxx'
2022-09-30 09:39:27 +08:00
yihaoDeng 0d3da10954 fix invalid read 2022-09-30 09:31:19 +08:00
yihaoDeng d74779805a opt tbname in 2022-09-29 23:13:54 +08:00
yihaoDeng 1148ae8f6e opt tbname in 2022-09-29 21:53:39 +08:00
yihaoDeng 02310d5952 fix invalid read 2022-09-29 21:35:14 +08:00
yihaoDeng 47234dfeec opt tbname in 2022-09-29 20:37:23 +08:00
Shengliang Guan 3bea98d2ac
Merge pull request #17156 from taosdata/fix/TD-19273
fix(query): fix tbname mismatch with multiple rows output functions
2022-09-29 20:34:50 +08:00
yihaoDeng 50478a31cc opt tbname in 2022-09-29 20:30:32 +08:00
Shengliang Guan 3be4a2ed9c Merge remote-tracking branch 'origin/3.0' into fix/TD-19245 2022-09-29 19:42:09 +08:00
Shengliang Guan e94646ca70 fix: coverity issues 2022-09-29 19:41:54 +08:00
dapan1121 2d3992b72b feat: support case when clause 2022-09-29 19:19:49 +08:00
yihaoDeng 4977e2e676 opt tbname in 2022-09-29 18:35:12 +08:00
Shengliang Guan 74c5bf9bd0
Merge pull request #17152 from taosdata/feat/3.0_parser_planner
feat: sql command 'show table tags from table_name'
2022-09-29 17:57:23 +08:00
Haojun Liao ac58d5397b
Merge pull request #17149 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-29 17:21:27 +08:00
Ganlin Zhao 3af613ac73 Merge branch 'fix/TD-19273' of github.com:taosdata/TDengine into fix/TD-19273 2022-09-29 17:07:09 +08:00
Ganlin Zhao 49ce849aa2 Merge branch '3.0' into fix/TD-19273 2022-09-29 17:03:28 +08:00
Ganlin Zhao 3abf6abad6 fix(query): fix group_key output mismatch with multiple rows output functions
TD-19273
2022-09-29 17:02:16 +08:00
Xiaoyu Wang 73642ac3a2 feat: sql command 'show table tags from table_name' 2022-09-29 16:16:49 +08:00
Liu Jicong 7d1a2abe0d
Merge pull request #17109 from taosdata/feature/tq
feat(tmq): push optimization
2022-09-29 15:35:51 +08:00
Shengliang Guan 6e79f48f94
Merge pull request #17146 from taosdata/fix/TD-19325
fix: do not process query and fetch msg until vnode restore finished
2022-09-29 15:29:18 +08:00
Haojun Liao 6abc13e843 refactor(query): do some internal refactor. 2022-09-29 14:57:15 +08:00
Shengliang Guan 752e13f94c Merge branch 'fix/TD-19325' into feature/tq 2022-09-29 14:52:08 +08:00
Shengliang Guan c56dd86399 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:29:30 +08:00
Shengliang Guan 4df3303514 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:24:45 +08:00
Liu Jicong d41ce958f3 Merge branch 'fix/TD-19325' into feature/tq 2022-09-29 14:21:08 +08:00
Shengliang Guan 7e4c32784e
Merge pull request #17138 from taosdata/fix/3.0_bugfix_wxy
fix: very long string serialization problem
2022-09-29 14:14:20 +08:00
Liu Jicong bb1165f1e9 optimize projection return 2022-09-29 12:14:41 +08:00
yihaoDeng fdba81e7c2 add debug log 2022-09-29 11:34:15 +08:00
shenglian zhou 4c00225e9f fix: fix coverity scan issue in tudf.c and udfd.c 2022-09-29 11:26:58 +08:00
Xiaoyu Wang 5d0357fc47 fix: very long string serialization problem 2022-09-29 11:14:35 +08:00
yihaoDeng 88ac809f87 Merge branch '3.0' of https://github.com/taosdata/TDengine into dv3 2022-09-29 11:09:02 +08:00
yihaoDeng 5b4d0eaabe enh: opt tbname in 2022-09-29 11:07:32 +08:00
Shengliang Guan 44b8d659ba
Merge pull request #17130 from taosdata/FIX/TD-19260-3.0
enh: improve error handling in syncNodeOpen instead of using assert, with allocated resources cleaned up properly
2022-09-29 09:23:28 +08:00
yihaoDeng 1286f7473c QRY: opt tbname in 2022-09-28 22:07:16 +08:00
Liu Jicong 057edd92c3
Merge branch '3.0' into feature/tq 2022-09-28 20:27:09 +08:00
Liu Jicong cde4085a6d optimize msg batch 2022-09-28 20:24:02 +08:00
Shengliang Guan 5d7bafad17
Merge pull request #17125 from taosdata/feat/3.0_parser_planner
enh: query information_schema.ins_tags optimize
2022-09-28 20:23:58 +08:00
Shengliang Guan 4ca305fd7a
Merge pull request #17131 from taosdata/fix/TD-19254-D
fix: coverity scan for sma
2022-09-28 20:22:58 +08:00
Xiaoyu Wang 06bb551b70 enh: query information_schema.ins_tags optimize 2022-09-28 18:55:33 +08:00
Cary Xu 9e49eb03e4 fix: coverity scan for sma 2022-09-28 18:54:39 +08:00
Haojun Liao 193e5ed3d2 fix(query): fix syntax error. 2022-09-28 18:46:02 +08:00
Haojun Liao 5a2c583c32 other:merge 3.0 2022-09-28 18:00:04 +08:00
Haojun Liao 71e3993185
Merge pull request #17114 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-28 17:36:01 +08:00
Xiaoyu Wang 48c9373680 enh: query information_schema.ins_tags optimize 2022-09-28 17:00:02 +08:00
slzhou 00fc74acc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-28 16:39:33 +08:00
slzhou ed0d08192d fix: fix bugs of condition is null 2022-09-28 16:39:06 +08:00
slzhou 99bc329384 enhance: optimize select from ins_tags where table_name='tablename' without iterating through meta tdb 2022-09-28 16:30:40 +08:00
dapan1121 d7d2dabfe8
Merge pull request #17115 from taosdata/feat/TD-18842
feat(query): interp support return timestamp with pseudo column _irowts
2022-09-28 16:00:47 +08:00
Liu Jicong 01c94a775b feat(tmq): push optimization 2022-09-28 14:55:19 +08:00
Ganlin Zhao 41c1f0e43b fix code format 2022-09-28 14:54:08 +08:00
Haojun Liao 50ecf9eb43 fix(query): add null ptr check. 2022-09-28 14:53:06 +08:00
Haojun Liao e36eed852f refactor:do some internal refactor. 2022-09-28 14:39:24 +08:00
Ganlin Zhao 5738ba08dc feat(query): interp support return timestamp with pseudo column _irowts
TD-18842
2022-09-28 14:07:12 +08:00
Benguang Zhao b71a9e3483 enh: improve error handling in syncNodeOpen 2022-09-28 13:34:13 +08:00
Haojun Liao 76fe2e8b29 fix(query): check if free is required. 2022-09-28 12:57:25 +08:00
Liu Jicong 1ad4d16373 Merge branch '3.0' into feature/tq 2022-09-28 10:57:59 +08:00
Haojun Liao 04f087793e refactor(query): do some internal refactor. 2022-09-28 10:54:54 +08:00
Liu Jicong 0e8aaf4c9e feat(tmq): push optimization 2022-09-28 10:38:49 +08:00
Shengliang Guan c2a627b20e
Merge pull request #17099 from taosdata/feature/TD-18815
feat(stream): stream fill
2022-09-28 08:58:20 +08:00
Shengliang Guan 17f0aabf5d
Merge pull request #17105 from taosdata/fix/idxReadCrash
fix(idx): fix index read crash
2022-09-28 08:57:57 +08:00
yihaoDeng e92704c807 Merge branch 'newDev' into 3x 2022-09-27 22:28:37 +08:00
yihaoDeng 636004199b fix(idx): fix index read crash 2022-09-27 21:32:18 +08:00
Haojun Liao 4058ae1f9b Merge branch '3.0' into feature/3_liaohj 2022-09-27 18:16:26 +08:00
Haojun Liao bd6cf3137f other:merge 3.0 2022-09-27 18:12:54 +08:00
54liuyao 747297bd28 feat(stream): stream fill 2022-09-27 18:11:44 +08:00
Xiaoyu Wang 8caa36299c feat: add the _irowts pseudo column to output the timestamp of the interp 2022-09-27 15:23:24 +08:00
Haojun Liao aa055abd7c refactor:do some internal refactor. 2022-09-27 10:52:55 +08:00
Shengliang Guan f16029ad78
Merge pull request #17042 from taosdata/FIX/TD-19226-3.0
fix: avoid assertion on changing num of spaces in JSON files raft_config.json and raft_store.json
2022-09-27 09:33:41 +08:00
Shengliang Guan 4e51886063
Merge pull request #17071 from taosdata/feat/3.0_parser_planner
feat(stream): tag and child table name improvement
2022-09-26 19:54:36 +08:00
dapan1121 0022a766b3 enh: support case when 2022-09-26 19:21:57 +08:00
Shengliang Guan f4cbf6dd75
Merge pull request #17040 from taosdata/fix/ZhiqiangWang/TD-13064-fix-mac-test-error
os: fix Mac test error
2022-09-26 18:53:48 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
Shengliang Guan 1cd5543fed
Merge pull request #17063 from taosdata/szhou/fixbugs
fix: correct rowindex is used to retrieve selectivity values from source block block when first/last function merge
2022-09-26 17:21:58 +08:00
dapan1121 76799b2ecb fix: remove hb tmp 2022-09-26 16:55:45 +08:00
Haojun Liao dd8277cfd4 refactor(query): add some logs. 2022-09-26 16:08:53 +08:00
Haojun Liao 927478bff6 refactor(query): do some internal refactor. 2022-09-26 15:55:26 +08:00
Haojun Liao 54712ae302 other:merge 3.0 2022-09-26 14:50:51 +08:00
slzhou b880d460ec fix: correct rowindex is used to retrieve selectivity values from source block when first/last function merge 2022-09-26 11:46:19 +08:00
Haojun Liao 5c1f55f6ca other:merge 3.0 2022-09-26 11:35:19 +08:00
afwerar 91b35a0b62 os: fix Mac test error 2022-09-26 11:30:40 +08:00
Haojun Liao 4ebee6b232 refactor(query): do some internal refactor. 2022-09-26 11:22:26 +08:00
Benguang Zhao b10bc2ed5b fix: avoid assertion on changing num of spaces in JSON files raft_config.json and raft_store.json 2022-09-23 19:17:39 +08:00
Hongze Cheng 53c750446f Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/cv_optimize 2022-09-23 18:55:34 +08:00
Hongze Cheng f0fea204f2 enh: col value optimize 2022-09-23 18:55:27 +08:00
wade zhang 093b3e80c6
Merge pull request #17036 from taosdata/fix/TD-18385
fix(query): fix incorrect result for max(float)
2022-09-23 18:23:15 +08:00
Ganlin Zhao 8f2e385989 Merge branch '3.0' into fix/TD-18385 2022-09-23 17:43:12 +08:00
Ganlin Zhao a020c1b78f Merge branch '3.0' into fix/TD-19093 2022-09-23 17:36:51 +08:00
Ganlin Zhao 74c40f01fa fix(query): fix invalid read for interp query 2022-09-23 17:35:22 +08:00
Shengliang Guan 983f4797f2
Merge pull request #16862 from taosdata/enh/clientPolicy
enh: support client merge policy
2022-09-23 17:26:30 +08:00
Shengliang Guan 5236e9436a
Merge pull request #17035 from taosdata/fix/ZhiqiangWang/TD-18042-close-default-gtest-compile-and-docker-build
build: close default gtest compile and docker
2022-09-23 17:25:55 +08:00
dapan1121 dc0e36f742
Merge branch '3.0' into enh/clientPolicy 2022-09-23 16:41:18 +08:00
Ganlin Zhao 3278b2ccaa fix(query): incorrect result for max(float) 2022-09-23 16:38:24 +08:00
afwerar 5deb0e25d5 build: close default gtest compile and docker 2022-09-23 16:38:20 +08:00
dapan1121 2750ace3c3 fix: fix insert into select issue 2022-09-23 16:37:09 +08:00
yihaoDeng c2c7e7a63b Merge branch 'dd' into info 2022-09-23 15:54:56 +08:00
Haojun Liao 74ca7abf95
Merge pull request #17027 from taosdata/feature/3_liaohj
fix(query): update remove check condition.
2022-09-23 15:11:55 +08:00
Shengliang Guan 7109800ef3
Merge pull request #17022 from taosdata/fix/TD-18148
fix: change qworker async destroy issue
2022-09-23 14:58:50 +08:00
Shengliang Guan 778aa44fc2
Merge pull request #17018 from taosdata/fix/3.0_bugfix_wxy
fix: subplans under set operator use different group ids
2022-09-23 14:03:05 +08:00
dapan1121 3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
dapan1121 a5e1c4b509 fix: fix qworker destroy issue 2022-09-23 13:25:17 +08:00
Shengliang Guan 84d09a5e43
Merge pull request #16981 from taosdata/feature/stream
enh(stream): blocklist do not copy
2022-09-23 13:21:28 +08:00
Shengliang Guan f80068bbe6
Merge pull request #17011 from taosdata/feat/3.0_parser_planner
feat: case when expression
2022-09-23 11:41:57 +08:00
Liu Jicong ab94dafed4 optimize block cache 2022-09-23 11:37:50 +08:00
Xiaoyu Wang ee9190e9c0 fix: subplans under set operator use different group ids 2022-09-23 11:26:03 +08:00
Liu Jicong 7bcb5992e4 merge 3.0 2022-09-23 10:40:08 +08:00
Haojun Liao 91c86188fc Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-09-23 10:03:13 +08:00
Haojun Liao 6f33ae921e refactor(query): do some internal refactor. 2022-09-23 10:02:43 +08:00
Shengliang Guan 761a65725b
Merge pull request #16994 from taosdata/fix/TD-19079
fix: fix client memory leak
2022-09-22 19:42:51 +08:00
Shengliang Guan ade0e5c5cc
Merge pull request #17010 from taosdata/fix/3.0_bugfix_wxy
fix: some parser problems
2022-09-22 19:42:26 +08:00
Xiaoyu Wang 50ebcb5006 feat: case when expression 2022-09-22 19:20:21 +08:00
Xiaoyu Wang cf39f2e20c fix: window pseudo column check 2022-09-22 18:15:11 +08:00
Xiaoyu Wang 62b9419351 fix: window pseudo column check 2022-09-22 17:27:30 +08:00
Haojun Liao aa62d4430b
Merge pull request #16970 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor about  the filter  and  interp  query.
2022-09-22 17:09:30 +08:00
Xiaoyu Wang 9f45f81aa0 fix: join validity check 2022-09-22 16:54:39 +08:00
Shengliang Guan 570730d495
Merge pull request #16998 from taosdata/feature/TD-18820
fix(stream): data block capacity
2022-09-22 16:38:13 +08:00
Shengliang Guan f345fa20ef
Merge pull request #17005 from taosdata/fix/3.0_bugfix_wxy
fix: avg function data scan optimization
2022-09-22 16:20:44 +08:00
54liuyao 3a21da6e46 fix(stream): data block capacity and function byte 2022-09-22 15:54:44 +08:00
Haojun Liao 1f7821e64b Merge branch '3.0' into feature/3_liaohj 2022-09-22 15:48:41 +08:00
Xiaoyu Wang 0321b8c088 fix: avg function data scan optimization 2022-09-22 15:08:07 +08:00
Haojun Liao 7ee2449a73 Merge branch '3.0' into feature/3_liaohj 2022-09-22 14:03:17 +08:00
dapan1121 88b4f9d9a8 fix: fix nchar compare issue 2022-09-22 13:23:16 +08:00
Haojun Liao 976b36631e fix(query): keep last key for interp query. 2022-09-22 10:31:17 +08:00
dapan1121 ef68cea88e fix: fix client memory leak 2022-09-22 08:47:08 +08:00
Liu Jicong 78b4d10249 optimize fix condition 2022-09-22 00:54:23 +08:00
Liu Jicong a6733dbbd1 feat(wal): auto fix corrupt file 2022-09-21 23:51:24 +08:00
Shengliang Guan 9595412159
Merge pull request #16958 from taosdata/enh/3.0_planner_optimize
enh: added memory allocators for parser and planner
2022-09-21 19:59:28 +08:00
Liu Jicong 7ade2b3b8d fix double free in sma 2022-09-21 18:54:49 +08:00
Xiaoyu Wang 5731e15193 Merge branch 'enh/3.0_planner_optimize' into refact/query_opt 2022-09-21 18:26:09 +08:00
Xiaoyu Wang 876303be56 enh: added memory allocators for parser and planner 2022-09-21 17:42:03 +08:00
Shengliang Guan 5244e6de72
Merge pull request #16980 from taosdata/feature/TD-18820
fix(stream): free array
2022-09-21 17:34:20 +08:00
Xiaoyu Wang 5116e0a01b enh: added memory allocators for parser and planner 2022-09-21 17:04:12 +08:00