Commit Graph

3412 Commits

Author SHA1 Message Date
54liuyao 4108d8f898 fix:support scalar function with fill 2022-11-25 14:59:11 +08:00
Shengliang Guan 397a92ee56
Merge pull request #18450 from taosdata/fix/liao_cov
fix(query): check for null ptr before extracting info
2022-11-25 13:36:37 +08:00
Haojun Liao b39153101a fix(query): check for null ptr before extract sort execution information. 2022-11-25 11:42:38 +08:00
Haojun Liao e5e817ae55 other: merge 3.0 2022-11-24 17:24:24 +08:00
Haojun Liao 8dd780b486 other: merge 3.0 2022-11-24 17:17:53 +08:00
Haojun Liao f745dec5ec other: merge 3.0 2022-11-24 17:17:22 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Shengliang Guan 130d6e3b6c
Merge pull request #18419 from taosdata/fix/TD-20664
fix:Explicit null dereferenced
2022-11-24 16:50:16 +08:00
Xiaoyu Wang 5956d8f4fd enh: group by tbname optimize 2022-11-24 15:38:48 +08:00
Haojun Liao 1e22adeabc fix(query): set correct data source flag. 2022-11-24 15:11:24 +08:00
54liuyao e0e663c6fa fix:Explicit null dereferenced 2022-11-24 14:51:15 +08:00
Shengliang Guan 631dc756b1
Merge pull request #18426 from taosdata/fix/liao_cov
fix(query): fix error in seq fetch data block.
2022-11-24 13:44:07 +08:00
Haojun Liao 5d5538a12c fix(query): fix error in seq fetch data block. 2022-11-24 12:36:14 +08:00
Shengliang Guan 7d91f3565d
Merge pull request #18395 from taosdata/fix/liao_cov
refactor: enable continue query when the buffer of sink node is empty
2022-11-24 11:47:07 +08:00
Haojun Liao b460974f43 fix(query): fix syntax error. 2022-11-24 10:32:31 +08:00
54liuyao b27faba7ef fix:initialize maxts 2022-11-24 10:29:01 +08:00
Shengliang Guan 7f4a14fbb7
Merge pull request #18369 from taosdata/szhou/fixbugs
fix: build data from mem/imem first when large nchar column incur …eBlockShouldLoad since SDataBlockToLoadInfo.moreThanCapacity
2022-11-24 08:24:41 +08:00
Shengliang Guan 962aa4aff4
Merge pull request #18383 from taosdata/feature/stream
fix(stream): memory leak
2022-11-24 08:17:40 +08:00
Liu Jicong a02919495b fix(stream): set tbname for parition 2022-11-24 03:59:50 +08:00
slzhou 8d77b0cfb7 fix: save work 2022-11-23 20:42:00 +08:00
shenglian zhou 7f6ff39648 feat: table merge scan save work 2022-11-23 19:47:24 +08:00
slzhou 8b9c34504d fix: core dump when left data block id is equal to right data block id 2022-11-23 16:38:59 +08:00
Haojun Liao 05f84c184e fix(query): fix syntax error. 2022-11-23 15:36:38 +08:00
dapan1121 b85fc92771
Merge pull request #18375 from taosdata/fix/TS-2091-V30
fix(shell): output redirect to file need not call fflush
2022-11-23 15:10:27 +08:00
Haojun Liao c623336b6e refactor: enable continue query when the buffer of sink node is lower or empty. 2022-11-23 13:59:38 +08:00
dapan1121 188e6e6c7d
Merge pull request #18325 from taosdata/enh/msgRefactor2
enh: refact some messages
2022-11-23 13:53:37 +08:00
Haojun Liao f92c1d4271 refactor: add some logs. 2022-11-23 13:48:15 +08:00
Haojun Liao 6b53003f94 refactor: add some logs. 2022-11-23 12:18:38 +08:00
Alex Duan 3ad83db5b7 fix(query): remove 2.6 test code 2022-11-23 10:55:28 +08:00
Shengliang Guan fda726df0c
Merge pull request #18371 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-23 09:25:13 +08:00
Haojun Liao ee371ba6c3 Merge branch '3.0' into fix/liao_cov 2022-11-23 09:09:32 +08:00
dapan1121 2a1e6bf244
Merge pull request #18362 from taosdata/fix/TD-20584
fix: crash issue caused by insert from query clause
2022-11-23 08:43:16 +08:00
Haojun Liao 50a64b1ee8 refactor: do some internal refactor. 2022-11-22 22:46:06 +08:00
Haojun Liao 0d60f24db5 refactor: do some internal refactor. 2022-11-22 22:42:44 +08:00
Shengliang Guan d588cd37f8
Merge pull request #18357 from taosdata/fix/liao_cov
fix(query): fix memory leak.
2022-11-22 20:49:33 +08:00
Shengliang Guan a2138bfc62
Merge pull request #18353 from taosdata/fix/TD-20620
fix:Direct leak in timewindowoperator.c
2022-11-22 19:45:56 +08:00
dapan1121 842217e77d fix: crash issue caused by insert from query clause 2022-11-22 18:53:48 +08:00
dapan1121 e1ea03fbda
Merge pull request #18345 from taosdata/fix/TD-20591
fix:  crash caused by elect null and issues found in asan
2022-11-22 18:49:19 +08:00
Haojun Liao 7c7b2f1cef fix(query): fix memory leak. 2022-11-22 18:06:01 +08:00
54liuyao 5b8d3d57bb fix:Direct leak in timewindowoperator.c 2022-11-22 17:01:59 +08:00
54liuyao 2020ea0a76 fix:stream fill crash 2022-11-22 16:28:55 +08:00
dapan1121 e42f895fea fix: fix select null crash issue and asan issues 2022-11-22 16:07:04 +08:00
dapan1121 dd5b2b73b3
Merge pull request #18336 from taosdata/fix/TD-20563
fix [ASAN] memory leak while tdbRealloc
2022-11-22 15:48:22 +08:00
Haojun Liao 2da5a6106e refactor: do some internal refactor. 2022-11-22 15:31:20 +08:00
54liuyao d3fe6f0ba3 fix [ASAN] memory leak while tdbRealloc 2022-11-22 14:36:27 +08:00
dapan1121 19852ba85b Merge remote-tracking branch 'origin/3.0' into enh/msgRefactor2 2022-11-22 10:45:11 +08:00
dapan1121 cafc5e4cae enh: refact fetch message 2022-11-22 10:43:56 +08:00
Haojun Liao 6d5a256774 fix(query): fix some memory leaks. 2022-11-21 22:40:20 +08:00
Haojun Liao 1bd0cc4a5a refactor: do some internal refactor, and update the logs. 2022-11-21 15:09:18 +08:00
dapan1121 d3a75048c2
Merge pull request #17972 from taosdata/fix/TD-20246
refactor: optimize interp linear interpolation ignore NULL values during calculation
2022-11-21 10:15:37 +08:00
Haojun Liao 5c60bf9a47 fix(query): disable limit in table merge scan. 2022-11-18 23:16:33 +08:00
Haojun Liao f24eb634ef fix(query): fix memory leak. 2022-11-18 22:38:50 +08:00
Haojun Liao e09ea90b97 other: merge 3.0 2022-11-18 22:19:32 +08:00
Shengliang Guan 0312833e48
Merge pull request #18270 from taosdata/fix/TD-20413
fix: fix memleak
2022-11-18 21:04:48 +08:00
Shengliang Guan 9eca87aceb
Merge pull request #18234 from taosdata/szhou/fixbugs
fix: scalar mnode for in set more than 10 and print only 1000 groups …
2022-11-18 20:01:50 +08:00
Shengliang Guan a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
yihaoDeng 6775888545 fix memleak 2022-11-18 18:21:22 +08:00
Haojun Liao 54e7335477 fix(query): set the scan flag. 2022-11-18 17:27:05 +08:00
Liu Jicong 9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Haojun Liao a39dc7b2bb fix(query): init cache. 2022-11-18 17:07:09 +08:00
slzhou 9994a9f2c5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-11-18 16:24:49 +08:00
Ganlin Zhao 4703ccc4bc fix fill prev/next error 2022-11-18 15:54:25 +08:00
Ganlin Zhao 7291f2bd5a change interp linear behavior 2022-11-18 14:35:44 +08:00
Haojun Liao f26a492c67 fix(query): check result size before store it. 2022-11-18 14:00:27 +08:00
Haojun Liao 8b1e13af5e refactor: do some internal refactor. 2022-11-18 13:40:03 +08:00
Haojun Liao 875989aa30 refactor: do some internal refactor. 2022-11-18 11:24:56 +08:00
dapan1121 48d5e13ae3
Merge pull request #18233 from taosdata/fix/TS-2069-3.0
fix(query): createOneDataBlock rowsize must reset to zero
2022-11-18 11:11:48 +08:00
slzhou 83ee245715 fix: only set scan info information when the interp input operator is table scan 2022-11-18 10:12:21 +08:00
Haojun Liao 2055879deb refactor: do some internal refactor. 2022-11-18 09:47:26 +08:00
Ganlin Zhao c8f069c647 change interp linear behavior 2022-11-18 09:43:40 +08:00
Shengliang Guan fa6705df7a Merge branch '3.0' into fix/TD-20458 2022-11-17 21:23:42 +08:00
Haojun Liao 786caafab5 fix: check correct error code. 2022-11-17 19:01:16 +08:00
Haojun Liao e9aae51d85 fix(query): set correct error code. 2022-11-17 18:59:15 +08:00
Haojun Liao 4cb8d1b16c Merge branch '3.0' into fix/liao_cov 2022-11-17 18:45:36 +08:00
54liuyao 2635ec27b4 fix:memory leak while drop stream 2022-11-17 18:45:12 +08:00
Haojun Liao 05ce262277 refactor:set the correct error code. 2022-11-17 17:30:57 +08:00
dapan1121 6aed8932a9
Merge pull request #18231 from taosdata/fix/TD-20428
fix:fill operator core
2022-11-17 17:05:05 +08:00
Haojun Liao 4cb7b369ac refactor: suppress one error. 2022-11-17 16:11:42 +08:00
Shengliang Guan 9b29fa0cc6
Merge pull request #18223 from taosdata/feature/stream
fix(stream): stop scan when no output
2022-11-17 13:44:36 +08:00
54liuyao 507aa0c7f8 fix:fill operator core 2022-11-17 13:35:23 +08:00
Ganlin Zhao 8a19e84fe4 Merge branch '3.0' into fix/TD-20246 2022-11-17 11:20:33 +08:00
Liu Jicong 5161eca70f fix(stream): stop scan when no output 2022-11-17 10:30:05 +08:00
Shengliang Guan bffe0eea2a
Merge pull request #18216 from taosdata/feature/stream
fix(stream): skip check update for scalar
2022-11-16 19:53:03 +08:00
Liu Jicong e2005cfa86 fix(stream): skip check update for scalar 2022-11-16 18:48:08 +08:00
Shengliang Guan c8f9707d5a
Merge pull request #18203 from taosdata/feature/stream
enh(stream): add tbname map cache
2022-11-16 17:15:30 +08:00
Alex Duan 28c692b52f fix(query): fixed build error 2022-11-16 16:10:22 +08:00
Alex Duan 8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Haojun Liao 42f8abcc0e refactor: do some internal refactor. 2022-11-16 15:24:30 +08:00
Haojun Liao 819235dd3b refactor: do some internal refactor. 2022-11-16 15:21:33 +08:00
Haojun Liao 2ee5fa87d0 refactor: do some internal refactor. 2022-11-16 15:19:15 +08:00
Liu Jicong ab57d069d4 enh(stream): add tbname map cache 2022-11-16 15:18:31 +08:00
Haojun Liao fade0507fa refactor: do some internal refactor. 2022-11-16 15:17:13 +08:00
Haojun Liao 82f22e407d refactor: do some internal refactor. 2022-11-16 15:13:54 +08:00
Haojun Liao 23da7bc5e9 refactor: add some logs. 2022-11-16 15:13:38 +08:00
Haojun Liao 2320c0d2bd refactor: update some logs. 2022-11-16 14:40:39 +08:00
Haojun Liao 7d00b7a6c4 refactor: add tag filter cache. 2022-11-16 14:23:12 +08:00
slzhou 8f6ba995a5 fix: get group id from the group list when last row scan 2022-11-16 13:27:53 +08:00
Shengliang Guan 7d443b1679
Merge pull request #18174 from taosdata/feature/stream
refactor: stream meta ref count
2022-11-15 20:07:42 +08:00
Shengliang Guan 53167df712
Merge pull request #18175 from taosdata/fix/TD-20444
fix stack-buffer-overflow in timewindowoperator.c
2022-11-15 19:47:35 +08:00
Liu Jicong a9bf05bc01 refactor: stream meta ref count 2022-11-15 19:11:42 +08:00
54liuyao d696745e00 fix stack-buffer-overflow in timewindowoperator.c 2022-11-15 18:42:10 +08:00
dapan1121 49a3623f1a
Merge pull request #18112 from taosdata/fix/TD-19892
fix(query): report error if certain function query stable has duplicate timestamps
2022-11-15 17:24:08 +08:00
Cary Xu 6c1361ef80 fix: null pointer check when invoke memcpy 2022-11-15 13:59:00 +08:00
Liu Jicong efde22f081 fix: memory leak 2022-11-15 11:59:29 +08:00
Shengliang Guan 1312b9c785
Merge pull request #18125 from taosdata/fix/liao_cov
fix(query): fix errors found by asan.
2022-11-14 20:55:25 +08:00
Alex Duan b2f9eeb5bb fix(query): fill operator memory leak fixed 2022-11-14 18:49:11 +08:00
Haojun Liao cf56c38e7a fix(query): fix errors found by asan. 2022-11-14 17:10:25 +08:00
Haojun Liao c35f668c17 refactor: increase the initial buffer size. 2022-11-14 14:37:28 +08:00
Haojun Liao c888cbf068 refactor: do some internal refactor. 2022-11-14 14:14:24 +08:00
dapan1121 14a1f4e373
Merge pull request #18074 from taosdata/fix/TD-20300
fix: fix query thread quit issue
2022-11-14 11:28:30 +08:00
Haojun Liao 7b53b8142e refactor: do some internal refactor. 2022-11-12 16:03:47 +08:00
Shengliang Guan 48c0358e98
Merge pull request #18073 from taosdata/feature/stream
fix(query): set tbname for stream session delete
2022-11-12 09:42:18 +08:00
Haojun Liao ab52d28cb0 refactor: do some internal refactor. 2022-11-11 22:18:06 +08:00
dapan1121 56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121 f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
Haojun Liao 6ae82b071e refactor: do some internal refactor. 2022-11-11 18:28:16 +08:00
dapan1121 7af2444300
Merge pull request #18065 from taosdata/fix/TD-20333
fix:avoid duplicate results
2022-11-11 18:16:20 +08:00
Haojun Liao f3be445412 refactor: do some internal refactor. 2022-11-11 18:09:38 +08:00
Liu Jicong 0a298fb23d fix(query): set tbname for stream session delete 2022-11-11 18:06:41 +08:00
Shengliang Guan b33d0e05f7
Merge pull request #18060 from taosdata/fix/set_offset_for_empty_record
fix(query): set offset for empty record
2022-11-11 17:30:38 +08:00
dapan1121 89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
54liuyao 7ea790021f fix:avoid duplicate results 2022-11-11 16:18:54 +08:00
Liu Jicong 265bb81b49 fix(query): set offset for empty record 2022-11-11 15:35:17 +08:00
Ganlin Zhao 1cba568604 fix(query): report error if certain function query stable has duplicate
timestamps

TD-19892
2022-11-11 15:22:00 +08:00
Shengliang Guan b28f05e6fb
Merge pull request #18037 from taosdata/feature/stream
fix(stream): tbname max len to 192
2022-11-11 11:08:40 +08:00
Liu Jicong df4fd528c0 fix(stream): tbname max len to 192 2022-11-11 10:09:46 +08:00
dapan1121 0eb89b1bd7
Merge pull request #18022 from taosdata/fix/TS-2038
fix(operator):Operator double free
2022-11-11 09:38:44 +08:00
54liuyao 1ca9839170 fix(operator):Operator double free 2022-11-10 15:47:07 +08:00
Liu Jicong 4afa56eb38 merge 3.0 2022-11-10 15:38:30 +08:00
Haojun Liao 9f5cf450de refactor: do some internal refactor. 2022-11-10 15:37:18 +08:00
Liu Jicong cebc6b6697 fix(stream): state and session agg partition tbname 2022-11-10 14:43:37 +08:00
Shengliang Guan 5fb254739c
Merge pull request #18013 from taosdata/feature/stream
fix(stream): partition tbname reset to null
2022-11-10 11:22:06 +08:00
Liu Jicong d56dc950e4 fix(stream): partition tbname reset to null 2022-11-10 10:02:45 +08:00
Haojun Liao a2cec238ec fix(query): set correct operator type. 2022-11-09 22:16:56 +08:00
Haojun Liao 015f1a1df8 other: merge 3.0 2022-11-09 19:17:45 +08:00
Haojun Liao 2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Haojun Liao dc67c5041a refactor: do some internal refactor. 2022-11-09 13:46:19 +08:00
Haojun Liao b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
54liuyao da13891ca4 fix(stream):partition operator memory leak 2022-11-09 12:52:17 +08:00
Shengliang Guan 0d4239af46
Merge pull request #17976 from taosdata/feature/3_liaohj
enh(query): optimize the query perf.
2022-11-09 11:41:17 +08:00
dapan1121 7af6a0feaa
Merge pull request #17963 from taosdata/feature/stream_ly
fix(stream): state window, error result after deleting data
2022-11-09 11:18:25 +08:00
Haojun Liao 68f2f92116 fix(query): fix the syntax errors. 2022-11-09 09:07:21 +08:00
Haojun Liao d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Ganlin Zhao b902ab0d61 refactor code 2022-11-08 18:48:22 +08:00
Ganlin Zhao f19f620136 interp fill linear do not output NULL value 2022-11-08 18:25:38 +08:00
dapan1121 884144ba23
Merge pull request #17960 from taosdata/fix/TD-20267
fix: filter merge issue
2022-11-08 17:52:31 +08:00
Ganlin Zhao 6aca4b8a5c enh: interp fill linear ignore null values during calculation 2022-11-08 14:51:32 +08:00
Ganlin Zhao a7d21c9ee7 enh: interp fill linear ignore null values during calculation 2022-11-08 14:50:03 +08:00
54liuyao f66eded1e1 fix(stream): state window, error result after deleting data 2022-11-08 14:40:44 +08:00
dapan1121 d09351da68 fix: filter merge issue 2022-11-08 14:22:00 +08:00
Liu Jicong bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Haojun Liao 9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Haojun Liao 1da67a569d fix(query): set correct status. 2022-11-08 00:23:40 +08:00
Haojun Liao b16853983e fix(query): count the correct number of completed sources. 2022-11-07 19:27:35 +08:00
Haojun Liao d016fc9d47 fix(query): set retrieve completed flag for exchange operator. 2022-11-07 18:27:26 +08:00
Haojun Liao 9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
Haojun Liao 0e11d344cc fix(query): increase the buffer size to 128Kb. 2022-11-07 16:04:13 +08:00
Haojun Liao 088a61bee5 fix(query): release the handle 2022-11-07 16:02:53 +08:00
Haojun Liao c86427c771 fix(query): enable update buf. 2022-11-07 15:27:09 +08:00
Haojun Liao fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Haojun Liao 2a49fed4ad fix(query): remove invalid free. 2022-11-07 14:02:23 +08:00
Haojun Liao 558cf28ae7 other: add log. 2022-11-07 13:26:10 +08:00
Haojun Liao 8ec132be6e other: add log. 2022-11-07 13:25:09 +08:00
Haojun Liao cd29972a4d enh(query): add cache for table meta. 2022-11-07 11:53:23 +08:00
Haojun Liao be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao c1794e0252 refactor: do some internal refactor. 2022-11-07 09:38:44 +08:00
Haojun Liao 270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
Haojun Liao 341112923b fix(query): init filter in group operator. 2022-11-06 23:42:04 +08:00
Haojun Liao 2c4c9e69de fix(query): init filter in sys table scan. 2022-11-06 23:15:23 +08:00
Haojun Liao f44dd569cc fix(query): remove the invalid capacity changing. 2022-11-06 16:09:19 +08:00
Haojun Liao 10cd3c0f29 fix(query): remove the invalid capacity changing. 2022-11-06 15:18:33 +08:00
Haojun Liao 9d1998d7d2 fix(query): temporarily disable assert. 2022-11-06 11:53:07 +08:00
Haojun Liao e3d0bc6bf7 other: merge 3.0. 2022-11-06 11:37:21 +08:00
Haojun Liao d200fe5145 refactor: do some internal refactor. 2022-11-06 01:34:04 +08:00
dapan1121 91ff489813
Merge pull request #17899 from taosdata/fix/TD-20170
fix: fix interval query memory leak
2022-11-05 16:44:15 +08:00
Haojun Liao 8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
Haojun Liao 03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan 8ce2e12423
Merge pull request #17886 from taosdata/feature/3_liaohj
fix(query): set the last key of each tablescan info
2022-11-04 18:46:17 +08:00
Shengliang Guan 8886785be1
Merge pull request #17853 from taosdata/fix/liao_cov
refactor(query): do some internal  refactor.
2022-11-04 15:58:11 +08:00
dapan1121 69d545fb8d fix: fix interval query memory leak 2022-11-04 13:55:54 +08:00
Haojun Liao 0315414623 other: merge 3.0 2022-11-03 19:03:09 +08:00
Haojun Liao 4959529127 fix(query): set the last key of each tablescan info 2022-11-03 19:00:13 +08:00
Shengliang Guan 33d64b67ff
Merge pull request #17865 from taosdata/feature/stream
refactor(stream): stream deploy and state transfer
2022-11-03 15:24:39 +08:00
dapan1121 62ca522b80
Merge pull request #17861 from taosdata/fix/TD-20086
fix: fix taosd memory leak issue
2022-11-03 15:05:57 +08:00
Liu Jicong 15ad147c40 Merge branch '3.0' into feature/stream 2022-11-03 13:37:59 +08:00
Liu Jicong 2fbc8e6306 refactor(stream): stream deploy and state transfer 2022-11-03 13:22:23 +08:00
dapan1121 499a266daf
Merge pull request #17855 from taosdata/fix/TD-20087
fix: fix tbname in crash issue
2022-11-03 11:48:31 +08:00
dapan1121 d282e511e3 fix: fix taosd memory leak issue 2022-11-03 11:47:15 +08:00
Haojun Liao 7a14bc05ea fix(query): fix some issues about the initialization of SColumnInfoData. 2022-11-03 10:57:05 +08:00
Haojun Liao e83159f0d9 refactor: increase the buffer for each agg operator, and make the pointer attributes in SColumnInfoData to be aligned to 8bit in memory to speedup the execution of memmove & memset. 2022-11-03 10:47:55 +08:00
dapan1121 4039e99d96
Merge pull request #17816 from taosdata/fix/TD-19686
fix: return err code when query fail
2022-11-03 10:45:54 +08:00
dapan1121 1eef25620d fix: fix tbname in crash issue 2022-11-03 10:09:36 +08:00
Haojun Liao 9f5a0f01ea Merge branch '3.0' into fix/liao_cov 2022-11-03 10:02:23 +08:00
Haojun Liao 11c4878ca1 refactor(query): do some internal refactor. 2022-11-03 10:01:11 +08:00
yihaoDeng 7fba18bbbd merge 2022-11-02 09:50:55 +08:00
dapan1121 c19a915ec3
Merge pull request #17809 from taosdata/feature/TD-20100
fix(executor): Batch Partition Operator memory leak
2022-11-02 09:07:32 +08:00
yihaoDeng 12be1a8b22 merge 2022-11-01 21:47:58 +08:00
yihaoDeng f8695563f0 fix TD-19686 2022-11-01 19:27:35 +08:00
yihaoDeng fafdfc73ca fix TD-19686 2022-11-01 19:13:07 +08:00
Liu Jicong 60bb2c18dc Merge branch '3.0' into feature/stream 2022-11-01 18:19:15 +08:00
Liu Jicong 94e7c79ca0 fix(tmq): handle adding subtable for subscribing stb 2022-11-01 18:18:26 +08:00
54liuyao a1c4572ad8 fix(executor): Batch Partition Operator memory leak 2022-11-01 17:25:05 +08:00
Shengliang Guan 18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan 68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Liu Jicong 92804d317e Merge branch '3.0' into feature/stream 2022-11-01 15:47:37 +08:00
Haojun Liao cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
Haojun Liao b78249c548 other: merge 3.0 2022-11-01 13:52:08 +08:00
Haojun Liao 83495ed5d3 fix(query): set the correct buffer to accommodate the tag values. 2022-11-01 13:49:02 +08:00
Liu Jicong 5ff701ef1d fix(query):reset tsdb reader 2022-11-01 13:35:23 +08:00
Liu Jicong 8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong 5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Haojun Liao e533794cb7 Merge branch '3.0' into fix/liao_cov 2022-11-01 09:08:46 +08:00
Haojun Liao c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Haojun Liao 1fd3ad502a fix(query): ensure the capacity before loading tags value. 2022-10-31 19:01:28 +08:00
54liuyao b8e451d272 fix(stream): scalar stream update data 2022-10-31 18:33:30 +08:00
Haojun Liao f29127a15e ehn(query): do some internal refactor. 2022-10-31 18:04:58 +08:00
Haojun Liao 08c2b3ff05 fix(query): set correct error code. 2022-10-31 16:40:03 +08:00
Haojun Liao f38e9664f9 other:merge 3.0 2022-10-31 15:32:48 +08:00
Haojun Liao 7135f35b21 refactor: do some internal refactor. 2022-10-31 15:06:51 +08:00
Haojun Liao a1db402500 refactor: do some internal refactor. 2022-10-31 14:38:01 +08:00
Haojun Liao adf085ab46 refactor: do some internal refactor. 2022-10-31 14:17:57 +08:00
Haojun Liao c4f4e008d0 fix(query): add null ptr check. 2022-10-31 11:53:35 +08:00
Haojun Liao 79ea4c2c79 fix(query): add null ptr check. 2022-10-31 11:43:00 +08:00
Haojun Liao f790d91b45 fix(query): check null before free resource, and some internal refactor. 2022-10-31 10:41:25 +08:00
Haojun Liao 864e2c60a7 fix(query): invoke the different api for extract queried table list. 2022-10-31 09:48:23 +08:00
Haojun Liao a3ed903dfd refactor: do some internal refactor. 2022-10-30 22:26:11 +08:00
Haojun Liao 46a6d9ab99 refactor: do some internal refactor. 2022-10-30 22:23:27 +08:00
Haojun Liao f990ceab6e refactor: do some internal refactor. 2022-10-30 22:13:49 +08:00
Haojun Liao 365e6eec80 refactor: do some internal refactor. 2022-10-30 11:29:55 +08:00
Haojun Liao 41c99c02ef refactor: do some internal refactor. 2022-10-30 11:17:07 +08:00
Haojun Liao 2c524cad4a refactor: do some internal refactor. 2022-10-30 03:08:33 +08:00
Haojun Liao 52c3777823 refactor: do some internal refactor. 2022-10-30 03:01:40 +08:00
Haojun Liao 4e74782799 refactor: do some internal refactor. 2022-10-29 20:47:14 +08:00
Haojun Liao 6fc0e1b60d refactor: do some internal refactor. 2022-10-29 18:32:17 +08:00
Haojun Liao 1886087e7b refactor: do some internal refactor. 2022-10-29 18:17:43 +08:00
Haojun Liao e4de732285 fix(query): always build hash map from uid to keyinfo 2022-10-29 18:15:00 +08:00
Haojun Liao 4cd14c4163 fix(query): fix memory leak. 2022-10-29 10:25:14 +08:00
Haojun Liao d7f3ddf2dd fix(query): set correct reader handle. 2022-10-29 10:17:41 +08:00
Haojun Liao 61634070ec other: merge 3.0 2022-10-28 23:23:53 +08:00
Haojun Liao 307b7e0ac8 other: merge 3.0 2022-10-28 22:27:57 +08:00
Haojun Liao 029a4a85b3 fix(query): support partition by + limit push down. 2022-10-28 22:21:02 +08:00
Haojun Liao 9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao 0035bb1966
Merge branch '3.0' into feature/3_liaohj 2022-10-28 19:43:47 +08:00
Haojun Liao cb0adb0e9b refactor: remove some codes. 2022-10-28 19:40:55 +08:00
Haojun Liao c52dc709f1 refactor: remove some codes. 2022-10-28 19:39:25 +08:00
Haojun Liao d1097b7c2d other:merge 3.0 2022-10-28 19:37:43 +08:00
Haojun Liao 5b7855eb87 other:merge 3.0 2022-10-28 19:35:31 +08:00
Haojun Liao 335cb6513e other:merge 3.0 2022-10-28 19:32:57 +08:00
Haojun Liao 9ccf7addb3 other:merge 3.0 2022-10-28 18:46:08 +08:00
Haojun Liao 4b2fa43dae
Revert "fix(query): handle partition by in table scan operator" 2022-10-28 18:05:19 +08:00
Haojun Liao d0a7a43e6f other:merge 3.0 2022-10-28 18:02:50 +08:00
Haojun Liao 8c3b4db944 fix(query): add check for return value. 2022-10-28 17:23:43 +08:00
Shengliang Guan 8a8aa3efea
Merge pull request #17723 from taosdata/enh/optQueryMem
enh: opt query mem
2022-10-28 17:09:17 +08:00
Haojun Liao 3fe3c3d2b7 fix(query): add check for return value. 2022-10-28 16:06:27 +08:00
Haojun Liao 407a3453ca fix(query): set fetch block info. 2022-10-28 14:45:35 +08:00
yihaoDeng 419e501002 refactor reader 2022-10-28 14:21:00 +08:00
yihaoDeng 63827f7551 use sys mem 2022-10-28 13:56:55 +08:00
54liuyao 7d8a282258 fix(stream):tqBuildDeleteReq error 2022-10-28 11:19:26 +08:00
Haojun Liao 2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
yihaoDeng f8e0ff86d3 opt mem 2022-10-28 08:48:52 +08:00
yihaoDeng 29dedb5c8c opt mem 2022-10-27 23:18:04 +08:00
Haojun Liao 4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
yihaoDeng 07d8ece370 opt mem 2022-10-27 22:19:47 +08:00
yihaoDeng 9de0afc8ea opt mem 2022-10-27 21:22:36 +08:00
yihaoDeng 6a978be730 opt mem 2022-10-27 20:38:57 +08:00
Haojun Liao a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
Haojun Liao 5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Liu Jicong 52d8f7bd35
Merge pull request #17701 from taosdata/feature/stream
fix(query): set block capacity
2022-10-27 13:38:46 +08:00
Liu Jicong 6cd8361a0a refactor(sma) 2022-10-27 11:06:16 +08:00
Haojun Liao c5c5b5aa9f
Merge pull request #17662 from taosdata/feature/3_liaohj
enh(query): enable the limit clause to be push down
2022-10-27 10:46:21 +08:00
Liu Jicong fc1b85bba1 fix(query): set block capacity 2022-10-27 10:28:41 +08:00
Shengliang Guan 3b6c636583
Merge pull request #17653 from taosdata/fix/rmDebugLog
fix: rm debug log
2022-10-27 10:14:34 +08:00
Haojun Liao 376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
54liuyao 8fb78fd7fd feat(stream):add ci 2022-10-26 17:40:07 +08:00
Haojun Liao 81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Haojun Liao 8d2de8d723 fix(query): handle the offset value. 2022-10-26 16:25:33 +08:00
wade zhang d3e8ec9342
Merge pull request #17665 from taosdata/fix/TD-19858
fix(query): fix interp crash issue
2022-10-26 16:11:36 +08:00
Haojun Liao b13e7c150d fix(query): remove invalid code check. 2022-10-26 13:44:53 +08:00
Ganlin Zhao 88e5fa75e6 fix(query): fix interp crash issue
TD-19858
2022-10-26 12:43:29 +08:00
Haojun Liao 8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Liu Jicong b56e7a0f8c
Merge pull request #17650 from taosdata/feature/stream
refactor(stream): recover and fill history
2022-10-26 11:10:03 +08:00
Haojun Liao 339c93021f
Merge pull request #17654 from taosdata/fix/liao_cov
refactor: fix typo and do  some internal  refactor.
2022-10-26 10:41:00 +08:00
Liu Jicong 8d8fd2b2bc refactor(stream): recover and fill history 2022-10-26 10:20:33 +08:00
Hongze Cheng 4b15cd5efe
Merge pull request #17621 from taosdata/fix/TD-19468-2
fix: optimize tsdb cache loading speed
2022-10-26 09:47:50 +08:00
Haojun Liao d06bcb2219 refactor: fix typo and do some internal refactor. 2022-10-26 09:47:11 +08:00
yihaoDeng cc03ab2edd rm debug log 2022-10-26 09:23:35 +08:00
Liu Jicong 52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Liu Jicong 75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
54liuyao 796cf764f4 fix(executor):add lock to hash map 2022-10-25 17:54:01 +08:00
Shengliang Guan 414fe9c03d
Merge pull request #17629 from taosdata/feature/stream_ly
fear(stream): add log
2022-10-25 17:46:27 +08:00
Minglei Jin c84618ea3f
Merge branch '3.0' into fix/TD-19468-2 2022-10-25 17:36:56 +08:00
Haojun Liao 0a007131d1
Merge pull request #17631 from taosdata/fix/liao_cov
fix(query):set correct column match info size.
2022-10-25 17:35:19 +08:00
Shengliang Guan 7ebf2d5de0
Merge pull request #17614 from taosdata/opt/optSysIdxPerf
enh: opt sys idx perf
2022-10-25 16:25:47 +08:00
Haojun Liao a87f915ebf fix(query):set correct column match info size. 2022-10-25 15:30:41 +08:00
54liuyao d9615c7d4c fear(stream): add log 2022-10-25 15:17:42 +08:00
Minglei Jin 441fe8119c Merge branch '3.0' into fix/TD-19468-2 2022-10-25 10:51:35 +08:00
yihaoDeng 2092430556 opt trans on no-windows 2022-10-25 10:45:47 +08:00
Minglei Jin 89f7ad2920 fix: optimize tsdb cache loading speed 2022-10-25 10:36:30 +08:00
yihaoDeng 0905f16294 opt trans on no-windows 2022-10-25 10:17:05 +08:00
Haojun Liao e0d72e4749 refactor: do some internal refactor, and reduce the number of bufferred intermediate blocks. 2022-10-24 19:10:50 +08:00
yihaoDeng 6ee7b412ed opt sys index 2022-10-24 18:35:59 +08:00
Haojun Liao 992a130860 refactor: do some internal refactor. 2022-10-24 17:24:20 +08:00
Haojun Liao e654f3f92c refactor: do some internal refactor. 2022-10-24 16:44:44 +08:00
Haojun Liao 319cd8af85 fix(query): refactor and fix some coverity issues. 2022-10-24 15:02:17 +08:00
Haojun Liao b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao 9f722438d2 fix(query): remove redundant codes. 2022-10-24 13:30:04 +08:00
Haojun Liao 2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan 7947882614
Merge pull request #17589 from taosdata/fix/sysTableIdx
fix: fix sys idx bug
2022-10-24 12:38:44 +08:00
yihaoDeng bac0f359ee fix sys idx bug 2022-10-24 10:31:49 +08:00
Shengliang Guan 9903bbc527
Merge pull request #17577 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-23 23:12:36 +08:00
Haojun Liao 6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
yihaoDeng edc0f38921 avoid invalid read/write 2022-10-23 10:11:20 +08:00
yihaoDeng 3cd517cd19 avoid invalid read/write 2022-10-22 23:23:28 +08:00
yihaoDeng e5be6663c8 avoid invalid read/write 2022-10-22 23:06:41 +08:00
yihaoDeng 471b581cea avoid invalid read/write 2022-10-22 22:13:21 +08:00
yihaoDeng 48604314e6 avoid invalid read/write 2022-10-22 21:19:25 +08:00
yihaoDeng 8e08d8dcc0 avoid invalid read/write 2022-10-22 20:03:20 +08:00
yihaoDeng e2465387c6 avoid invalid read/write 2022-10-22 18:40:54 +08:00
yihaoDeng 79ac1153ce avoid invalid read/write 2022-10-22 16:02:09 +08:00
Shengliang Guan 93557c3670
Merge pull request #17557 from taosdata/feature/stream_ly
feat(stream):change stream mode & add ci
2022-10-22 08:15:41 +08:00
Shengliang Guan 5d293869a9
Merge pull request #17553 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-22 08:14:44 +08:00
54liuyao 308c3cad11 feat(stream):change stream mode & add ci 2022-10-21 17:46:15 +08:00
Haojun Liao 5899d1d619 refactor: do some internal refactor. 2022-10-21 14:59:10 +08:00
Liu Jicong 5571ebee0f
Merge pull request #17542 from taosdata/feature/stream
enh(stream): internal optimize
2022-10-21 14:31:42 +08:00
Haojun Liao b53cc7f3dd fix(query): fix coverity issues. 2022-10-21 14:00:46 +08:00
54liuyao d9beaeb3a3 fix(stream):session window max_delay crash 2022-10-21 11:49:45 +08:00
yihaoDeng 69531c11d0 add executor to systable filter 2022-10-21 11:44:28 +08:00
Liu Jicong 035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Haojun Liao 5a9d81b10f
Merge pull request #17536 from taosdata/fix/liao_cov
fix(query): fix no-fill expression calculation bug.
2022-10-20 21:27:21 +08:00
yihaoDeng 38747697b2 fix create_time idx bug 2022-10-20 21:12:52 +08:00
yihaoDeng 1898656a41 add executor to systable filter 2022-10-20 19:02:04 +08:00
Haojun Liao abff4fb1f2
Merge pull request #17336 from taosdata/feature/3_liaohj
other:merge 3.0, and support last query cache
2022-10-20 18:15:38 +08:00
Haojun Liao bcb3dcc7dc refactor: remove some comments. 2022-10-20 18:12:27 +08:00
Haojun Liao 6e15719ccb other: merge 3.0 2022-10-20 18:10:44 +08:00
Haojun Liao 14fe065528 fix(query): fix no-fill expression calculation bug. 2022-10-20 18:07:38 +08:00
yihaoDeng 19958284e2 add executor to systable filter 2022-10-20 17:56:30 +08:00
yihaoDeng c4f7607e8c opt sys query 2022-10-20 14:04:18 +08:00
yihaoDeng f612eafee8 opt sys query 2022-10-20 13:53:04 +08:00
Haojun Liao c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao 3fcd60e627 fix(query): remove invalid check. 2022-10-20 12:18:56 +08:00
Haojun Liao 70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Shengliang Guan 91302965eb
Merge pull request #17497 from taosdata/feature/TD-19666
feat(stream):optimize state window disc buff
2022-10-20 11:05:37 +08:00
dapan1121 991da95643 fix: fix coverity issues 2022-10-20 09:06:18 +08:00
54liuyao 368f5134c5 feat(stream):optimize state window disc buff 2022-10-20 09:04:51 +08:00
Shengliang Guan 097a047b61 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19593-3.0 2022-10-19 20:08:49 +08:00
yihaoDeng 54c7d6cbb9 merge 3.0 2022-10-19 20:03:55 +08:00
yihaoDeng 66a3269c6b add pre check 2022-10-19 19:57:31 +08:00
Shengliang Guan 308dd56537
Merge pull request #17486 from taosdata/fix/liao_cov
refactor: remove redundant codes.
2022-10-19 19:51:59 +08:00
yihaoDeng 12ec7d7193 add pre check 2022-10-19 17:54:06 +08:00
Haojun Liao b20e2ed5af fix(query): set correct last value. 2022-10-19 17:43:23 +08:00
Benguang Zhao 2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Haojun Liao 325712fdf9 fix(query): add some init functions. 2022-10-19 15:54:43 +08:00
Liu Jicong 213a12c0c5
Merge pull request #17473 from taosdata/feature/stream
fix(query): project pass partition name
2022-10-19 15:53:13 +08:00
Liu Jicong b51ef11dde fix(query): project pass partition name 2022-10-19 15:05:07 +08:00
Xiaoyu Wang 8cd36d9045 merge 3.0 2022-10-19 14:01:57 +08:00
Xiaoyu Wang 601f0f3edf fix: handle coverity scan 2022-10-19 13:56:39 +08:00
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
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
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
Benguang Zhao 00a066443f Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 09:38:36 +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
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
dapan1121 99fd3284df
Merge pull request #17439 from taosdata/fix/coverity.pw
fix: fix coverity issues
2022-10-18 22:15:20 +08:00
54liuyao 8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +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
yihaoDeng f0d2f145e2 add pre check 2022-10-18 17:25:13 +08:00
dapan1121 0fe14f0b16 fix: fix coverity issues 2022-10-18 16:33:27 +08:00
yihaoDeng e74881c17c add systable filter 2022-10-18 15:26:29 +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 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
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
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
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
Haojun Liao 89f80436c6 fix(query): fix coverity issues. 2022-10-17 16:17:16 +08:00
Xiaoyu Wang 9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +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
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
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
Haojun Liao aa9c99fa53 Merge branch '3.0' into feature/3_liaohj 2022-10-16 12:50:05 +08:00
Hongze Cheng 329b750701
Revert "enh(query): opt group by tag perf." 2022-10-15 16:14:50 +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
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
Haojun Liao aa04aee7fd enh(query): opt group by tag perf. 2022-10-14 18:49:19 +08:00
dapan1121 fdffc2883f fix: fix code merge issue 2022-10-14 17:05:18 +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
Liu Jicong 6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
yihaoDeng bd5b94cb94 Merge branch 'd3' into new 2022-10-14 10:06:21 +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
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
Haojun Liao f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +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
Minglei Jin 060eb307a9 fix(mac): new metaReaderReleaseLock api to keep reader's buffer 2022-10-13 12:02:18 +08:00
dapan1121 5e4148e1cf feat: add more case when test cases 2022-10-12 16:02:21 +08:00
dapan1121 a13f553868 Merge remote-tracking branch 'origin/3.0' into feat/caseWhen 2022-10-12 13:33:41 +08:00
Liu Jicong 69352e6e89 fix tbanme length check 2022-10-12 10:50:54 +08:00
Haojun Liao d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +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
Liu Jicong 14c4ff1d94 add demo for stream user defined table name 2022-10-11 16:48:13 +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
Liu Jicong 26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +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
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 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 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
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
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
54liuyao 9c170ecfa8 fix(stream): filter error occurred when data was modified 2022-10-09 14:52:39 +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
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
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
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
54liuyao f569355d06 fix(stream):memory leak 2022-10-08 11:04:36 +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
yihaoDeng 16c1473823 enh(query): opt get table meta 2022-10-01 13:49:30 +08:00
dapan1121 50b396c818 fix: fix case when issues 2022-09-30 18:13:55 +08:00
Haojun Liao fac464792d other:merge 3.0 2022-09-30 17:54:03 +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
54liuyao f3b2067675 fix(stream): sliding error 2022-09-30 15:37:43 +08:00
shenglian zhou 99befe4a89 fix: ins_tags table name optimization error 2022-09-30 15:08:21 +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 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
yihaoDeng 50478a31cc opt tbname in 2022-09-29 20:30:32 +08:00
yihaoDeng 4977e2e676 opt tbname in 2022-09-29 18:35:12 +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
Liu Jicong bb1165f1e9 optimize projection return 2022-09-29 12:14:41 +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
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
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
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
Ganlin Zhao 5738ba08dc feat(query): interp support return timestamp with pseudo column _irowts
TD-18842
2022-09-28 14:07:12 +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
Liu Jicong 0e8aaf4c9e feat(tmq): push optimization 2022-09-28 10:38:49 +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
Haojun Liao aa055abd7c refactor:do some internal refactor. 2022-09-27 10:52:55 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +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
Haojun Liao 5c1f55f6ca other:merge 3.0 2022-09-26 11:35:19 +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
dapan1121 3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
Liu Jicong ab94dafed4 optimize block cache 2022-09-23 11:37:50 +08:00
Liu Jicong 7bcb5992e4 merge 3.0 2022-09-23 10:40:08 +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
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
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
Liu Jicong 7ade2b3b8d fix double free in sma 2022-09-21 18:54:49 +08:00
54liuyao 5ca1dc1005 fix(stream): free array 2022-09-21 16:34:16 +08:00
Liu Jicong ae294b98c2 enh(stream): blocklist do not copy 2022-09-21 15:15:01 +08:00
Xiaoyu Wang 2a978bae09 Merge remote-tracking branch 'origin/3.0' into refact/query_opt 2022-09-21 13:58:34 +08:00
Liu Jicong 72fba5a8ce fix(stream): check delete uid 2022-09-21 11:54:44 +08:00
Haojun Liao 33c075542d refactor(query): do some internal refactor. 2022-09-21 10:26:55 +08:00
Haojun Liao 7f47840ddc refactor:disable some logs. 2022-09-20 14:42:33 +08:00
Haojun Liao 1f53ee8bc2 other:merge 3.0 2022-09-20 14:39:43 +08:00
Haojun Liao af36cb37e6 refactor(query): do some internal refactor. 2022-09-20 14:37:50 +08:00
Haojun Liao ed0b92bb33 refactor(query): opt perf. 2022-09-20 14:12:39 +08:00
Haojun Liao b567a1ebc3 refactor: opt filter perf. 2022-09-20 13:40:40 +08:00
Shengliang Guan 69e1edb344
Merge pull request #16898 from taosdata/fix/TD-18740
feat:Complete the automatic table creation function for taosX
2022-09-20 11:35:18 +08:00
54liuyao 7eb75fea47 feat(steam):optimize window close 2022-09-20 10:45:38 +08:00
Haojun Liao bf33be4207 refactor(query):add some logs. 2022-09-20 10:41:35 +08:00
Haojun Liao 50ee0dabbf refactor(query): do some internal refactor. 2022-09-20 10:02:20 +08:00
54liuyao 97ca09689c Merge branch 'feature/stream' into feature/TD-18820 2022-09-19 19:31:41 +08:00
Shengliang Guan fc0418fc20
Merge pull request #16914 from taosdata/feature/3_liaohj
fix(query): add null ptr check.
2022-09-19 18:48:05 +08:00
54liuyao 955838d1f6 feat(stream): optimize disc buff 2022-09-19 17:13:13 +08:00
wangmm0220 345b68ccee fix: cols num error in tmq for query 2022-09-19 15:28:28 +08:00
Haojun Liao f88d80844e Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-09-19 14:09:19 +08:00
Haojun Liao e5e21bf635 fix(query): add null ptr check. 2022-09-19 14:08:30 +08:00
Haojun Liao 78f03e993d other:merge 3.0 2022-09-19 10:30:55 +08:00
Liu Jicong e848dc716b fix test case 2022-09-16 23:49:07 +08:00
wangmm0220 e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
wangmm0220 a54f71a03c fix:error in auto create table for taosX 2022-09-16 18:57:33 +08:00
dapan1121 8ddb142474
Merge branch '3.0' into enh/clientPolicy 2022-09-16 18:10:12 +08:00
wangmm0220 dfc5ce23a0 fix:error in auto create table for taosX 2022-09-16 17:01:41 +08:00
Haojun Liao 15f656e683 refactor(query): add some logs. 2022-09-16 13:06:57 +08:00
Haojun Liao 22afbb5035
Merge branch '3.0' into feature/3_liaohj 2022-09-15 16:56:39 +08:00
dapan1121 a85a73e2de fix: fix memory leak issues 2022-09-15 16:30:21 +08:00
Haojun Liao 79b0d1fcbd fix(query): fix memory leak. 2022-09-15 15:02:23 +08:00
dapan1121 4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
dapan1121 9e44816bcc enh: support client local merge policy 2022-09-15 14:46:15 +08:00
Liu Jicong 367552b914 fix delete 2022-09-15 10:12:53 +08:00
Haojun Liao 36c4b981f4
Merge pull request #16813 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-14 13:32:42 +08:00
Haojun Liao 00908a649c fix(query): reset buffer after group results generated. 2022-09-14 11:44:39 +08:00
Haojun Liao 0bb1dc9d1f fix(query): reset the output buffer when results have been produced. 2022-09-14 11:00:44 +08:00
Haojun Liao 7f03ffcd75 fix(query): set correct group id. 2022-09-14 09:57:37 +08:00
Haojun Liao 3dec6668a9 fix(query): return correct error code. 2022-09-13 18:33:45 +08:00
Haojun Liao ad45c0a848 fix(query): set the group id. 2022-09-13 18:22:58 +08:00
Haojun Liao 60574763a9 refactor(query): do some internal refactor. 2022-09-13 17:41:31 +08:00
Haojun Liao 632a26d0fe refactor(query): do some internal refactor. 2022-09-13 17:39:43 +08:00
Shengliang Guan e5da5802e8
Merge pull request #16808 from taosdata/feature/TD-18948
feat(stream):optimize delete window
2022-09-13 17:38:47 +08:00
54liuyao d4d4d2c086 feat(stream):optimize delete window 2022-09-13 16:50:27 +08:00
Liu Jicong b8a7c8b2aa feat(stream): support hash suffix and prefix 2022-09-13 15:21:26 +08:00
dapan1121 1427a8f3b0 enh: support client query policy 2022-09-09 19:03:42 +08:00
slzhou 41250383e2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-08 15:30:04 +08:00
slzhou ea5ab9f8fd fix: add _wstart when _wstart does not appear in select projection list 2022-09-08 15:29:46 +08:00
54liuyao 3cbd3db8ce feat(stream): stream delete for session&state 2022-09-08 14:14:52 +08:00
dapan1121 febe603191
Merge pull request #16716 from taosdata/feature/TD-18820
feat(stream):change single interval disc buff and interval delete
2022-09-07 15:27:20 +08:00
54liuyao 1f5d9a38e7 feat(stream):change single interval disc buff and interval delete 2022-09-07 14:48:14 +08:00
dapan1121 4a563b6d50 fix: fix now in alter tag value 2022-09-06 19:17:11 +08:00
54liuyao f35f5d5f4f feat(stream): refactor single interval 2022-09-05 13:19:40 +08:00
Haojun Liao 229e1ba710
Merge pull request #16656 from taosdata/feature/3_liaohj
fix(query): remove invalid assert.
2022-09-05 12:16:52 +08:00
Haojun Liao 2224df24f7 other:merge 3.0 2022-09-05 10:24:03 +08:00
Haojun Liao 06282bcbe0 fix(query): remove invalid assert. 2022-09-05 10:19:31 +08:00
Cary Xu 407773b67b fix: double free for stream input block data 2022-09-05 09:44:51 +08:00
Cary Xu 38b62ddd7f other: merge 3.0 2022-09-04 20:53:40 +08:00
Cary Xu 59912fedf1 fix: stream input data block memory leak 2022-09-04 20:14:21 +08:00
Shengliang Guan 1a764d64ce
Merge pull request #16620 from taosdata/feature/TD-14761
fix:<TD-18803> taosX core dump if schema is null
2022-09-04 18:19:05 +08:00
Shengliang Guan 67e09ead5d
Merge pull request #16633 from taosdata/fix/TD-18856
fix: fix taosd order by crash issue
2022-09-04 18:12:16 +08:00
Haojun Liao 597ea1c2bf fix(query): add value check. 2022-09-04 11:58:02 +08:00
Shengliang Guan c09e6f6236 Merge branch '3.0' into feature/TD-14761 2022-09-04 09:01:43 +08:00
Haojun Liao d9d7c81872
Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 10:14:48 +08:00
dapan1121 50efa37691 fix: fix taosd order crash issue 2022-09-02 19:01:26 +08:00
54liuyao ad49f13159 fix(stream):min max function error 2022-09-02 18:53:54 +08:00
Liu Jicong 004a84ac81 fix memory leak 2022-09-02 16:41:32 +08:00
wangmm0220 796342dabb fix:<TD-18803> taosX core dump if schema is null 2022-09-02 16:05:22 +08:00
Hongze Cheng fc538f436a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-02 15:59:03 +08:00
Liu Jicong d653da7971 feat(stream): support delete data 2022-09-02 15:46:41 +08:00
Haojun Liao a170796f66 fix(query): fix invalid read/write. 2022-09-02 14:34:30 +08:00
Liu Jicong 48036e83c8
Merge pull request #16596 from taosdata/feature/stream
refactor(taosx): filter meta
2022-09-02 11:54:42 +08:00
Liu Jicong 739e7ae76f Merge branch '3.0' into feature/stream 2022-09-02 11:10:38 +08:00
Liu Jicong 502d75302e refactor(taosx): filter meta 2022-09-02 10:00:15 +08:00
Haojun Liao 52c5992c87 other:merge 3.0 2022-09-02 09:58:16 +08:00
Haojun Liao d1b7d07790 refactor:do some internal refactor. 2022-09-02 09:54:22 +08:00
Shengliang Guan 8686b228ee
Merge pull request #16582 from taosdata/feature/3_liaohj
fix(query): check node type when extract column info.
2022-09-01 19:24:34 +08:00
Haojun Liao 4af80fa0aa fix(query): check node type when extract column info. 2022-09-01 18:39:12 +08:00
54liuyao 83e62c3849 feat(stream):stream partition by column 2022-09-01 15:05:24 +08:00
Shengliang Guan 900f5cf534
Merge pull request #16557 from taosdata/feature/stream
feat(taox): support auto create sub table
2022-09-01 14:47:34 +08:00
Liu Jicong 1fe4ab2341 feat(taox): support auto create sub table 2022-09-01 11:45:00 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
Liu Jicong 1c99eb1d4d fix set schema and tbname 2022-08-31 15:27:41 +08:00
Liu Jicong e9d1733e8c fix tbname 2022-08-31 14:37:18 +08:00
Liu Jicong c4dcc994fb remove queue scan 2022-08-31 11:35:25 +08:00
Haojun Liao 707c20c46c
Merge pull request #16495 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-30 17:58:40 +08:00
Haojun Liao 825858b52e fix(query): reset the default page id. 2022-08-30 17:04:09 +08:00
Haojun Liao dba4188f8a fix(query): reset the page id. 2022-08-30 14:33:03 +08:00
Shengliang Guan beb08d4cea
Merge pull request #16478 from taosdata/feature/3.0_interval_hash_optimize
fix: race condition between fetch all and optr serialize
2022-08-30 10:40:24 +08:00
Haojun Liao 45616c6548 fix(query):fix syntax error. 2022-08-30 09:47:42 +08:00
Haojun Liao 37618513a6
Merge branch '3.0' into feature/3_liaohj 2022-08-29 22:47:18 +08:00
Haojun Liao d2ed6ff0e8 fix(query): set correct page buffer id. 2022-08-29 22:42:15 +08:00
Haojun Liao ba8b10e27b refactor(query): do some internal refactor. 2022-08-29 18:47:46 +08:00
wangmm0220 bf3231ab9f fix: cols num error in tmq for query 2022-08-29 17:30:50 +08:00
Cary Xu 66199e4e7a Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-29 14:53:39 +08:00
Cary Xu 167e58578a enh: add check for tpagebuf 2022-08-29 14:53:13 +08:00
wade zhang 2ad31384f6
Merge pull request #15818 from taosdata/feature/TD-14761
feat: get meta and data from tmq using snapshot
2022-08-29 09:49:35 +08:00
Shengliang Guan 17acc9bc05
Merge pull request #16458 from taosdata/szhou/fixbugs
fix: clean up intermediate result of scalar computation just before applying scalar function in fill operator
2022-08-28 21:27:30 +08:00
Shengliang Guan c581212712
Merge pull request #16439 from taosdata/feature/3_liaohj
feature(query): support last function cache and retrieve data.
2022-08-28 21:27:13 +08:00
Cary Xu 1dd53e9e41 fix: return data ptr when iterate remove for simple hash 2022-08-27 23:01:19 +08:00
shenglian zhou 47f80f0d21 fix: clean up intermediate result of scalar computation before applying scalar function in fill operator 2022-08-27 22:10:22 +08:00
Cary Xu 36d6b1e560 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-27 18:11:19 +08:00
Cary Xu 680199f9f5 other: simple hash code optimization 2022-08-27 18:08:01 +08:00
Cary Xu 451e621a94 fix: simple hash iterate remove and clear 2022-08-27 18:04:33 +08:00
shenglian zhou a574ef5c98 fix: pass CI test 2022-08-27 08:10:18 +08:00
Haojun Liao 655dbb47c1 refactor(query): do some internal refactor. 2022-08-26 19:19:48 +08:00
slzhou 2a9faaa326 fix: enable add open window only when interval interpolation 2022-08-26 19:05:37 +08:00
slzhou c9a7f27e7c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-26 18:51:32 +08:00
slzhou d1eb14dccc fix: interval operator _wstart error and interval operator close window for interpolation on different group id 2022-08-26 18:47:09 +08:00
Cary Xu 4ee28bfc2c fix: only iterate next when delete the specified node 2022-08-26 17:29:54 +08:00
Cary Xu 5dcfa5a241 other: code format optimization 2022-08-26 17:00:50 +08:00
Cary Xu 4abb6e1411 enh: use simple hash to save agg result 2022-08-26 16:52:12 +08:00
Haojun Liao 60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
Haojun Liao 13563f1733
Merge pull request #16412 from taosdata/feature/3_liaohj
refactor(query): check table in uid order when handling the last block, and some internal refactor.
2022-08-26 10:44:27 +08:00
wangmm0220 cb4969513c fix:conflicts from 3.0 2022-08-25 17:36:00 +08:00
Haojun Liao 755176d28f fix(query): add the null ptr check. 2022-08-25 17:32:27 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
wangmm0220 4cc2d361e1 fix:error in getting snapshot for taosX 2022-08-25 16:55:12 +08:00
Haojun Liao b09ee742d5 refactor(query): check table in uid order when handling the last block, and some internal refactor. 2022-08-25 15:31:48 +08:00
Shengliang Guan e41a000261
Merge pull request #16397 from taosdata/fix/TD-18617
fix(query): fix multiple interp used result number of rows incorrect
2022-08-25 13:33:02 +08:00
Haojun Liao da1dd5e137
Merge pull request #16396 from taosdata/feature/3_liaohj
fix(query): check return value and do some internal refactor.
2022-08-25 12:47:23 +08:00
Ganlin Zhao 6b9ace9c35 Merge branch '3.0' into fix/TD-18617 2022-08-25 11:08:14 +08:00
Shengliang Guan 0758d32964
Merge pull request #16382 from taosdata/feat/3.0_systable_privilege_wxy
feat: system table visible permission
2022-08-25 11:08:12 +08:00
Haojun Liao 1c06206000 other:merge 3.0 2022-08-25 11:01:36 +08:00
Haojun Liao 909529bb7b fix(query): check return value and do some internal refactor. 2022-08-25 10:55:28 +08:00
Ganlin Zhao c72c972c5f fix(query): fix multiple interp used result number of rows incorrect
TD-18617
2022-08-25 10:55:14 +08:00
shenglian zhou dc6baa13a6 fix: fill if window pseudo column 2022-08-25 09:07:44 +08:00
Haojun Liao 033b251994 test: update the unit test cases. 2022-08-24 18:48:03 +08:00
Haojun Liao b87535734f refactor:do some internal refactor. 2022-08-24 18:47:23 +08:00
wangmm0220 c7bf08d5af feat: get snapshot data for taosX 2022-08-24 17:42:33 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Haojun Liao a23f5f59ea refactor(query): do some internal refactor. 2022-08-24 17:09:33 +08:00
shenglian zhou 1540881cb6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/save-op-state 2022-08-24 17:05:49 +08:00
shenglian zhou b250efeee4 fix: support window pseduo column for fill operator 2022-08-24 17:05:38 +08:00
Shengliang Guan e0ac102795
Merge pull request #16376 from taosdata/feature/stream
refactor(stream): refine stream backend interface
2022-08-24 16:40:20 +08:00
Liu Jicong 24261cc90b refactor(stream): refine stream backend interface 2022-08-24 15:53:29 +08:00
wangmm0220 2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
wangmm0220 632c8b4a1a fix:error in snapshot for taosX 2022-08-24 13:58:18 +08:00
Shengliang Guan 4c287f602d
Merge pull request #16352 from taosdata/feature/stream
feat(stream): support tdb state backend
2022-08-24 13:24:09 +08:00
wangmm0220 53e0e168e6 fix:add log 2022-08-24 10:36:46 +08:00
Haojun Liao b62e0c0235
Merge pull request #16354 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-24 10:25:27 +08:00
wangmm0220 f477e94dda fix:error in snapshot from taosx 2022-08-24 10:24:19 +08:00
Liu Jicong c296dd0a63 fix compile 2022-08-24 01:48:00 +08:00
Haojun Liao 20b06a7ec7 refactor(query): do some internal refactor. 2022-08-23 19:44:59 +08:00
Liu Jicong de041f45b5 Merge branch '3.0' into feature/stream 2022-08-23 19:41:16 +08:00
Liu Jicong 2d628491b2 feat(stream): support tdb state backend 2022-08-23 19:30:04 +08:00
Haojun Liao 36eb46fa4d
Merge pull request #16342 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-23 19:28:50 +08:00
wangmm0220 514711e54c feat:get data from snapshot for taosx 2022-08-23 17:28:49 +08:00
Haojun Liao 2889b8d913 refactor(query): do some internal refactor. 2022-08-23 17:28:08 +08:00
Xiaoyu Wang 717f837cbb fix: auto create table insert statement check table name 2022-08-23 15:24:50 +08:00
54liuyao b8a1a7f175 fix(stream): state window update 2022-08-23 12:46:42 +08:00
wangmm0220 1134319570 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-23 10:45:51 +08:00
Shengliang Guan 04ce95fe72
Merge pull request #16303 from taosdata/szhou/fixbugs
fix: fill desc order support
2022-08-22 19:16:11 +08:00
Shengliang Guan a3348f716e
Merge pull request #16299 from taosdata/fix/3.0_bugfix_wxy
fix: the syntax problem of querying the state value in the state window
2022-08-22 18:48:28 +08:00
slzhou 4ef090f495 fix: fill desc order support 2022-08-22 18:37:23 +08:00
Xiaoyu Wang 4cf9bd6ac1 fix: the syntax problem of querying the state value in the state window 2022-08-22 17:46:57 +08:00
wangmm0220 43862ccd74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-22 16:53:53 +08:00
wade zhang 7a77f4258a
Merge pull request #16258 from taosdata/feature/3.0_query_optimize
opti: group by tag
2022-08-22 16:39:05 +08:00
wangmm0220 23d8ebf129 fix:error in grou by tag 2022-08-22 15:15:03 +08:00
54liuyao 25b735f0e3 feat(stream): delete result 2022-08-22 14:05:19 +08:00
Shengliang Guan e16a2a5027
Merge pull request #16278 from taosdata/feature/3_liaohj
fix(query): add one more condition check when merge file block and last block.
2022-08-22 12:58:38 +08:00
wangmm0220 36b60ab082 opti:grou by tag 2022-08-22 11:28:58 +08:00
Haojun Liao e4881423b8 fix(query): add one more condition check when merge file block and last block. 2022-08-22 11:09:12 +08:00
wangmm0220 36ff7e4242 opti:grou by tag 2022-08-22 10:14:40 +08:00
Shengliang Guan 4bc8e086a8
Merge pull request #16262 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma batch process and code optimization
2022-08-21 23:57:58 +08:00
wangmm0220 90a3b68d68 fix:conflict from 3.0 2022-08-20 16:00:56 +08:00
wangmm0220 2743ac6193 opti: group by tag 2022-08-20 15:45:56 +08:00
Cary Xu 4dc30fb55a Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-19 22:16:11 +08:00
Hongze Cheng 67d45c6b62 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 21:54:48 +08:00
Hui Li d0e0c222ba
Merge pull request #16251 from taosdata/feature/stream
refactor(stream): optimize interval
2022-08-19 20:48:28 +08:00
wangmm0220 38f0eccaad opti: group by tag 2022-08-19 20:31:28 +08:00
Liu Jicong d251180fae refactor(stream): optimize interval 2022-08-19 18:06:54 +08:00
shenglian zhou c8bd3c6da4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-19 17:27:42 +08:00
shenglian zhou 3b9d44e05a fix: check tags when it is not regular table 2022-08-19 17:27:18 +08:00
Cary Xu 59739e0cb7 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-19 17:20:08 +08:00
Cary Xu 441ce21677 enh: rsma batch process 2022-08-19 17:19:50 +08:00
Hongze Cheng cc116b21f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 17:14:06 +08:00
wangmm0220 f2912a17ba fix:conflicts from 3.0 2022-08-19 16:38:23 +08:00
Hui Li 43881c1469
Merge pull request #16238 from taosdata/fix/TD-18392
fix(query): fix interp + fill(linear) datapoints outside interpolation window are included
2022-08-19 16:16:07 +08:00
Hongze Cheng e3eee2352c Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 15:36:13 +08:00
Hui Li af22a928c6
Merge pull request #16223 from taosdata/fix/3.0_bugfix_wxy
fix: escape character problem in auto create table insert
2022-08-19 15:16:35 +08:00
Hongze Cheng 324de6e4dc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 14:26:59 +08:00
Hui Li e7bba75f93
Merge pull request #16233 from taosdata/feature/stream
enh(stream): optimize output
2022-08-19 14:22:25 +08:00
Ganlin Zhao f20887ee97 fix(query): fix interp + fill(linear) datapoint outside interpolation window
will be included

TD-18392
2022-08-19 12:28:27 +08:00
Liu Jicong 692fdf3397 enh(stream): optimize output 2022-08-19 11:31:52 +08:00
Xiaoyu Wang 09cb575300 fix: escape character problem in auto create table insert 2022-08-19 11:10:56 +08:00
Hongze Cheng 972ad9e70b Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 09:53:45 +08:00
Hui Li 240747abed
Merge pull request #16222 from taosdata/feature/stream
fix(query): memory leak
2022-08-19 09:31:09 +08:00
shenglian zhou ff22c97d99 fix: user tags scan filter produces zero row will not end the sys table scan operator 2022-08-19 08:39:19 +08:00