dapan1121
4e5fbb52ee
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-26 13:56:46 +08:00
liuyao
6d40cdb62e
adj max combine fucntion
2023-07-26 09:52:07 +08:00
dapan1121
aca9c5fe19
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-14 13:31:07 +08:00
Haojun Liao
3ffdbe923d
other: merge 3.0
2023-07-11 09:12:57 +08:00
yihaoDeng
79f01ad655
add version check in rpc
2023-07-05 08:16:25 +00:00
dapan1121
c85bbef2e9
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-05 11:13:57 +08:00
Ganlin Zhao
ac8940dcce
fix: remove order logic in diff function
2023-07-04 11:31:30 +08:00
Haojun Liao
200575647c
Merge branch '3.0' into refact/fillhistory
2023-07-03 15:16:18 +08:00
dapan1121
61d57aaf49
Merge pull request #21899 from taosdata/fix/td-24964
...
fix: fix coverity scan issues
2023-06-30 09:25:37 +08:00
dapan1121
7dddfd0a5a
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-06-29 19:29:27 +08:00
shenglian zhou
e05b7dcf00
fix: fix coverity scan issues
2023-06-29 15:36:16 +08:00
dapan1121
3519e9170e
Merge remote-tracking branch 'origin/main' into 3.0
2023-06-29 11:13:45 +08:00
dapan1121
9f0da17c49
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-06-28 19:40:55 +08:00
dapan1121
27a201441a
Merge pull request #21821 from taosdata/fix/ts-3572
...
fix: udfd can not connect to taosd since authentification failure
2023-06-28 16:31:59 +08:00
slzhou
fc3fe9dff8
fix: remove connect to mnode
2023-06-28 13:49:13 +08:00
Ganlin Zhao
421e75d03b
fix coverity issue
2023-06-28 10:47:30 +08:00
Ganlin Zhao
aa33384a41
fix coverity issue
2023-06-28 10:07:52 +08:00
dapan1121
3db873652a
Merge pull request #21868 from taosdata/fix/TS-3581
...
fix: fix result of first can be 0 occasionally
2023-06-27 16:43:35 +08:00
Ganlin Zhao
56a715b5d5
fix: fix result of first can be 0 occasionally
2023-06-27 14:32:35 +08:00
Haojun Liao
3289ad62be
other: merge 3.0
2023-06-27 11:33:40 +08:00
dapan1121
4dae9f4eff
merge main to 3.0
2023-06-26 18:43:00 +08:00
dapan1121
ce2635074d
enh: add uid/vgid functions
2023-06-26 11:48:47 +08:00
slzhou
6de507d392
fix: modify test case
2023-06-25 11:44:01 +08:00
shenglian zhou
fd754eaa08
fix: udfd can not connect to taosd since authentification failure
2023-06-25 11:31:33 +08:00
Haojun Liao
74e0138f72
Merge branch '3.0' into refact/fillhistory
2023-06-15 15:25:00 +08:00
Haojun Liao
1b9eca5ce0
other: merge main.
2023-06-15 13:03:17 +08:00
Haojun Liao
55724157c4
refactor: remove one function.
2023-06-15 10:40:25 +08:00
Ganlin Zhao
728e42f723
fix: add forbid system table functions
2023-06-14 11:10:51 +08:00
dapan1121
170182fecd
feat: support fill history with sub request
2023-06-12 16:10:54 +08:00
dapan1121
6c20a331aa
Merge pull request #21547 from taosdata/fix/TD-24507
...
fix: fix multiple diffs output less lines if null values involved
2023-06-08 10:37:51 +08:00
dapan1121
a0428387a9
enh: corrent column data reassign issue
2023-06-06 16:44:15 +08:00
dapan1121
02b1257b01
enh: reassign data column in blocks
2023-06-06 11:17:02 +08:00
Haojun Liao
5301c5756a
other: merge main into 3.0.
2023-06-01 09:29:18 +08:00
Ganlin Zhao
26cafdea13
fix: fix multiple diffs ouput less lines if null values present
2023-05-31 11:08:41 +08:00
dapan1121
e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
...
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
Haojun Liao
cea8334427
Merge pull request #21449 from taosdata/refact/fillhistory
...
refactor: remove the module dependency. TD-24279
2023-05-26 09:01:45 +08:00
slzhou
de1848cb08
enhance: use scalar mode to run ci test
2023-05-25 14:51:53 +08:00
Haojun Liao
0966213847
fix(arch): set the correct module api dependency.
2023-05-25 14:21:40 +08:00
Dingle Zhang
984211f3b4
Feature/3.0 geometry ( #21037 )
...
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.
* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling
* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh
* Add a function MakePoint() and introduce a lib geometry
* implement sql functions GeomFromText() and AsText()
* Use GEOS *_r funcions instead for thread safety
* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.
* refactor AsText and MakePoint functions to be like GeomFromText
* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file
* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.
* set number of decimals of WKT to 6
* Implement SQL function Intersects()
* refactor geometry sql functions
* Add geosErrMsgeHandler() to get the GEOS error detail
* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists
* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.
* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.
* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn
* Add prefix "ST_" for all geometry functions
* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile
* Add unit test for geometry lib, only test MakePoint so far
* refactor and enhance existing cases in geomFuncTest
* implement NULL type and NULL value test for geomFuncTest
* add test on geomFromText()
* add unit test on AsText() in geomFuncTest
* combine some makePointFunction test items
* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions
* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content
* add more cases into intersectsFunction test
* Add basic test on geometry in system test
* Add ST_GeomFromText and ST_AsText function test in system test on geometry
* add ST_Intersects function test in system test on geometry
* support to check expectedErrno in system test on geometry
* adjust geomTest unit test and geometry system test
* add geometry data type and functions in doc english version
* implement touchesFunction() in geometry lib
refactor geometry relation functions model
* separate gemFuncTest into several src files
* add unit test on touchesFunction
* support sql function ST_Touches()
add system test on ST_Touches
* add docs for ST_Touches()
* Add ST_Contains()
* Add ST_Covers()
* Add ST_Equals()
* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()
* Add ST_ContainsProperly()
* build on windows
* Merge from 3.0 to 3.0_geometry
* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility
* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()
* add /usr/local/include into include directory
* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
Ganlin Zhao
89bea7100f
fix: fix count var type error
2023-05-24 00:31:05 -07:00
Haojun Liao
e67b532d8a
refactor: refactor the module dependency.
2023-05-23 18:29:23 +08:00
dapan1121
70444e2d82
Merge pull request #21329 from taosdata/feat/TD-21187
...
feat(query): interp support ignore null value opition
2023-05-20 14:14:21 +08:00
Ganlin Zhao
a3ca23b688
forbid interp ignoring null value used for multiple cols
2023-05-19 16:43:39 +08:00
yihaoDeng
9380b22394
merge 3.0
2023-05-18 05:46:38 +00:00
Haojun Liao
041ffa91bd
other: merge main.
2023-05-17 15:42:15 +08:00
Ganlin Zhao
6879a784ae
reserve value node
2023-05-16 15:07:07 +08:00
Ganlin Zhao
ace27326b0
enable ignore_null value param in client
2023-05-16 14:13:40 +08:00
liuyao
502efb3d01
op stream selectivity buff
2023-05-15 16:26:24 +08:00
dapan1121
026a4b5540
fix: fix compile issue
2023-05-12 15:07:05 +08:00
yihaoDeng
5708fcb5cb
Merge branch 'enh/3.0' into enh/rocksdbSstateMerge
2023-05-10 08:02:16 +00:00
Yihao Deng
c6e5879f44
Merge branch 'main' into enh/rocksdbSstate
2023-05-10 10:04:28 +08:00
yihaoDeng
8356533eb1
Merge branch 'enh/standVer' into enh/rocksdbSstateMerge
2023-05-09 12:13:16 +00:00
wangjiaming0909
479bb157e0
fix: select _block_dist() from t; set the unit of Size to KB
2023-05-09 15:19:21 +08:00
kailixu
fa822ff286
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-27 19:11:16 +08:00
Benguang Zhao
12f28a4a43
enh: unify error msg for no disk space
2023-04-25 15:39:11 +08:00
kailixu
781834065a
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-25 08:22:08 +08:00
shenglian zhou
bb3ce6a3d7
enhance: error code refactor
2023-04-23 14:54:12 +08:00
yihaoDeng
917b07348c
Merge branch 'fix/rocksdbState' into enh/rocksRevert
2023-04-23 02:37:26 +00:00
kailixu
77a8e3b213
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-21 16:04:09 +08:00
Alex Duan
4c0cdd8192
test: add udf2_dup test case
2023-04-20 14:34:38 +08:00
Alex Duan
c34c53539d
test: add udf2_dup test case
2023-04-20 14:32:32 +08:00
Alex Duan
977af4289b
test: fix udf1_dup error
2023-04-20 14:05:15 +08:00
Alex Duan
ba0a6e087f
test: add the cast that select field include two udf function
2023-04-20 13:51:39 +08:00
yihaoDeng
5402a6061f
Merge branch 'dev' into enh/rocksRevert
2023-04-19 17:37:07 +08:00
dapan1121
95b78f327a
Merge pull request #20959 from taosdata/enh/TS-3149
...
enh: add param for to_unixtimestamp to return timestamp type
2023-04-19 08:54:25 +08:00
Ganlin Zhao
9581dcae7f
enh: add param for to_unixtimestamp to return timestamp type
2023-04-18 14:17:22 +08:00
kailixu
50053fdc01
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-18 11:13:30 +08:00
shenglian zhou
a2d75a327c
enhance: udf output column reserve capacity
2023-04-18 08:28:12 +08:00
shenglian zhou
2aefe1d24a
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/replace-function-2
2023-04-18 08:24:18 +08:00
kailixu
fd3b552357
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-17 11:42:46 +08:00
shenglian zhou
1a0c9f31bc
enhance: refactor cleanup udf function
2023-04-17 10:34:34 +08:00
Haojun Liao
04e042f21d
Merge branch 'feature/3_liaohj' into enh/rocksRevert
2023-04-15 09:35:43 +08:00
Haojun Liao
b57c813681
other: merge feature/3_liaohj
2023-04-14 10:36:54 +08:00
slzhou
f62fbde22b
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/replace-function-2
2023-04-14 10:26:52 +08:00
dapan1121
d4cb608505
Merge pull request #20885 from taosdata/fix/TS-3108
...
fix: fix timestamp constant comparison precision error
2023-04-14 09:27:03 +08:00
Xiaoyu Wang
31b2db470b
Merge pull request #20923 from taosdata/fix/3.0_merge_main
...
merge 3.0
2023-04-14 09:11:51 +08:00
slzhou
99587db7a1
fix: udf handle expired after 10s
2023-04-14 07:58:25 +08:00
Xiaoyu Wang
db8a6ce60b
Merge pull request #20891 from taosdata/FIX/TD-23613-main
...
test: add flush database in some testcases
2023-04-13 19:03:34 +08:00
Xiaoyu Wang
d3642c84a2
Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main
2023-04-13 16:36:30 +08:00
Ganlin Zhao
c7dd22ad1c
fix spread timestmap column reading sma issue
2023-04-13 14:58:13 +08:00
Ganlin Zhao
d1544e8859
fix: fix illegal usage of _isfilled/_irowts
2023-04-13 14:05:04 +08:00
Ganlin Zhao
7414f28d17
fix translatefunc not getting precision issue
2023-04-13 11:22:15 +08:00
Xiaoyu Wang
933660ae8d
Merge remote-tracking branch 'origin/main' into fix/3.0_merge_main
2023-04-12 14:13:23 +08:00
kailixu
04fa4d2e87
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-12 13:05:47 +08:00
shenglian zhou
fe718f60ee
fix: add expired udfc func stub to track the expired
2023-04-12 12:15:09 +08:00
shenglian zhou
33143e90c8
enhance: add udf stub expiration of 10s after creation
2023-04-12 09:17:31 +08:00
yihaoDeng
b24b91886a
Merge branch 'dev3' into enh/rocksRevert
2023-04-11 10:59:00 +00:00
Xiaoyu Wang
5ce6220106
Merge pull request #20781 from taosdata/szhou/replace-function
...
feature: udf replace function
2023-04-11 17:25:21 +08:00
Minglei Jin
9961f82479
fix(udf1): use 1 as luck number to make new gcc happy
2023-04-11 16:52:56 +08:00
slzhou
41f7d79f2c
fix: fix compilation error
2023-04-11 13:42:17 +08:00
shenglian zhou
74f2ba76a4
fix: check uv_is_closing before uv_close
2023-04-11 13:24:20 +08:00
Minglei Jin
8060e77be3
fix(udf): make strncat working for release building
2023-04-11 10:41:35 +08:00
Ganlin Zhao
3078e2d487
feat(query): INTERP support boolean type
2023-04-10 18:35:35 +08:00
slzhou
b725c9e192
enhance: change udf func body dir to tsDataDir/.udf
2023-04-09 20:31:25 +08:00
slzhou
dc86bf9671
fix: remove code size checking
2023-04-08 13:26:15 +08:00
slzhou
55ffb0bc6d
fix: correct udf body file name and correct createdtime
2023-04-08 11:36:09 +08:00
shenglian zhou
0be6bb735a
fix: remove rename file
2023-04-08 10:42:27 +08:00
shenglian zhou
32523d72f9
fix: add created time to file name and keep file reuse
2023-04-08 10:11:57 +08:00
kailixu
e976fcb91d
Merge branch '3.0' into enh/TD-21161-3.0
2023-04-07 17:51:35 +08:00
slzhou
26f1e91ddb
fix: change binarylib/script dir to tsdatadir
2023-04-07 16:12:29 +08:00
slzhou
596764479f
fix: no more fetch when it is already fetching
2023-04-07 10:30:36 +08:00
shenglian zhou
455719befa
fix: use us time unit for last fetch time
2023-04-06 18:09:29 +08:00
shenglian zhou
0b055470ec
fix: free pFuncVersions of SRetrieveFuncRsp
2023-04-06 14:42:16 +08:00
shenglian zhou
e71a82347b
enhance: refactor c plugin udf init
2023-04-06 14:31:11 +08:00
slzhou
8ab1aa4ac9
fix: change bugs related to expired udf
2023-04-06 13:13:54 +08:00
slzhou
adec92b0b2
fix: change a minor bug
2023-04-06 11:37:48 +08:00
shenglian zhou
47719b1028
Merge branch '2.0' of github.com:taosdata/TDengine into szhou/replace-function
2023-04-06 11:19:10 +08:00
shenglian zhou
c17d9eca5f
fix: add fetchtime and version to udf init
2023-04-06 11:18:30 +08:00
Xiaoyu Wang
c134432c45
merge main
2023-04-06 09:31:45 +08:00
Xiaoyu Wang
e9d7a099cc
merge main
2023-04-04 14:50:58 +08:00
Ganlin Zhao
4819b22a21
fix: fix tsim crash on windows due to invalid input to strftime
2023-04-04 13:40:53 +08:00
Ganlin Zhao
23ec9287c9
fix: fix tsim crash on windows due to invalid input to strftime
2023-04-04 10:33:41 +08:00
Xiaoyu Wang
16394862a6
enh: last_row is keep order function
2023-04-03 18:11:46 +08:00
Ganlin Zhao
6c64b760a0
fix: fix tsim crash on windows due to invalid input to strftime
2023-04-03 17:58:43 +08:00
kailixu
37bc1bca36
enh: column/row max length support up to 64K
2023-04-03 17:00:52 +08:00
dapan1121
24ed3458d9
Merge pull request #20715 from taosdata/fix/TD-23394-a
...
fix(query): fix group_key is processed in selectivity twice
2023-03-31 09:04:45 +08:00
dapan1121
e3b4e9bf0b
Merge pull request #20714 from taosdata/fix/TS-3037
...
fix: join query invalid time input issue
2023-03-31 08:53:32 +08:00
Ganlin Zhao
7e30f8619c
fix(query): fix group_key is processed in selectivity twice
2023-03-30 18:42:22 +08:00
dapan1121
a8da9f31e7
fix: join query error
2023-03-30 18:04:32 +08:00
shenglian zhou
23d4eef114
feat: startup of replace function when no active query
2023-03-30 11:46:40 +08:00
dapan1121
9952be43f6
Merge remote-tracking branch 'origin/main' into fix/cencVer
2023-03-29 15:50:14 +08:00
dapan1121
5f68b65675
fix: count elements number type issue
2023-03-29 11:20:37 +08:00
Haojun Liao
1093c64586
Merge pull request #20649 from taosdata/fix/TD-23272
...
fix:add combine function for last row
2023-03-29 10:43:49 +08:00
slzhou
169d0ee13c
fix: scalar return and log error of udf execution
2023-03-28 11:18:14 +08:00
Ganlin Zhao
2198ae2060
fix(query): spread/elapsed using sma result for computation
2023-03-28 10:49:49 +08:00
54liuyao
3a12e36b4b
fix:add combine function for last row
2023-03-27 14:13:17 +08:00
yihaoDeng
8e409f81ae
add backend
2023-03-25 06:43:17 +00:00
dapan1121
95dd3e078a
Merge pull request #20596 from taosdata/szhou/python-udf
...
fix: aggregate function can return null value
2023-03-25 08:57:33 +08:00
54liuyao
ffa59f69aa
fix:add combine function for groupKey
2023-03-23 15:20:45 +08:00
dapan1121
5b02af6a91
fix: merge main to 3.0
2023-03-22 16:08:16 +08:00
shenglian zhou
7db1c08d9d
fix: merge during pull
2023-03-22 15:28:37 +08:00
shenglian zhou
0c0edd6a39
fix: udf agg can not return null values
2023-03-22 15:27:11 +08:00
Ganlin Zhao
9e0faad5eb
remove unused MACROS
2023-03-21 16:24:20 +08:00
Ganlin Zhao
e9fa00185a
enh(query): improve mode function page buffer allocation
2023-03-21 16:15:26 +08:00
slzhou
698b057aa0
enhance: add udf context from plugin traceability
2023-03-19 08:49:45 +08:00
slzhou
ba82f05d68
fix: keep original udf file name when rename file error
2023-03-17 20:19:46 +08:00
slzhou
66f7b90110
fix: add version to udfd conn req
2023-03-13 18:16:44 +08:00
slzhou
c8e05226ce
fix: unknown error prompt
2023-03-12 09:40:49 +08:00
slzhou
26b3773740
fix: core dump when copy resut buf
2023-03-10 18:58:25 +08:00
slzhou
89d05296d8
fix: add varchar/nchar udf support
2023-03-10 14:56:35 +08:00
slzhou
f611a6d467
fix: udf can return varchar
2023-03-10 12:36:58 +08:00
slzhou
dab5e33b9b
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf
2023-03-09 21:28:38 +08:00
slzhou
9076b86400
fix: pass CI test
2023-03-09 21:20:01 +08:00
slzhou
df9be12af0
fix: fix nullbit map error
2023-03-09 20:29:42 +08:00
slzhou
c10e32eb6a
fix: null bitmap error
2023-03-09 20:27:08 +08:00
slzhou
a39ada58a5
fix: handle function of udf not implemented
2023-03-09 12:13:59 +08:00
slzhou
b0ab4be6f4
fix: some minior improvement
2023-03-09 10:32:09 +08:00
Xiaoyu Wang
4c8bab7e58
merge main
2023-03-08 10:59:33 +08:00
slzhou
d7ba604023
fix: c plugin libLoaded = false
2023-03-07 22:43:31 +08:00
slzhou
cb73a5c131
fix: check udf python plugin load/open failure
2023-03-07 20:49:14 +08:00
slzhou
6dae414e1a
enhance: delay loading of python plugin
2023-03-07 12:01:26 +08:00
Shengliang Guan
325b3439df
Merge pull request #20290 from taosdata/fix/main_bugfix_wxy
...
fix: after the last cache is created, modify the schema and query again, resulting in taosd crash
2023-03-07 11:07:07 +08:00
Xiaoyu Wang
bc9eb47e04
fix: after the last cache is created, modify the schema and query again, resulting in taosd crash
2023-03-07 10:14:39 +08:00
slzhou
916a4b2d81
feat: pass logdir to python plugin
2023-03-07 09:57:07 +08:00
Ganlin Zhao
561c788674
fix(query): fix apercentile crash in stream due to dereferencing invalid
...
address
2023-03-06 23:00:07 +08:00
slzhou
d8c7eb0cdd
fix: fix minior errors of previous commit
2023-03-06 09:26:21 +08:00
slzhou
6c4400c3ba
fix: the buf returend by the udf has a smaller size than the function bufsize
2023-03-06 09:20:55 +08:00
slzhou
2491821278
fix: change taopyudf library name
2023-03-04 15:23:13 +08:00
slzhou
c499d7f173
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf
2023-03-01 15:51:43 +08:00
slzhou
2b566dabc7
fix: add function not implemented error
2023-03-01 15:37:08 +08:00
Haojun Liao
a3ffddba2d
Merge pull request #20204 from taosdata/fix/3_coverity
...
fix(query): fix coverity issue.
2023-03-01 09:28:36 +08:00
slzhou
844a083033
fix: set udf column meta in udfd instead of udf
2023-02-28 20:25:23 +08:00
Haojun Liao
f1f9e570e6
Merge branch '3.0' into fix/3_coverity
2023-02-28 16:03:28 +08:00
Haojun Liao
4172041ec8
fix(query): fix error in displaying block distribution.
2023-02-28 14:20:14 +08:00
slzhou
32ccc796a1
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf
2023-02-28 10:15:30 +08:00
Haojun Liao
0c730ec48e
Merge pull request #20187 from taosdata/fix/TD-22780_m
...
fix: invalid vg count
2023-02-28 09:18:58 +08:00
yihaoDeng
5c7959a2b7
fix: invalid vg count
2023-02-27 16:32:47 +08:00
yihaoDeng
6c039c4501
fix: invalid vg count
2023-02-27 16:12:09 +08:00
slzhou
1eea4c74a0
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf
2023-02-27 13:21:23 +08:00
yihaoDeng
97c4dfb570
fix: limit session num
2023-02-25 18:01:17 +08:00
Xiaoyu Wang
961107d1ca
merge main
2023-02-24 16:55:50 +08:00
Xiaoyu Wang
58fc265b80
merge main
2023-02-24 13:26:45 +08:00
slzhou
df5b0babc4
fix: array[0] not supported in windows
2023-02-24 12:20:55 +08:00
Yihao Deng
02d0894d3e
Merge branch '3.0' into enh/TD-22715
2023-02-23 19:13:43 +08:00
dapan1121
5d5aad9ad7
fix: percentile finalize wrong error code issue
2023-02-23 17:03:21 +08:00
Xiaoyu Wang
1ab144609e
merge main
2023-02-23 14:58:22 +08:00
slzhou
a7888257d7
fix: call closeFunc when it is not nullptr
2023-02-23 14:56:52 +08:00
yihaoDeng
e8527ee9de
fix: fix invalid dist count
2023-02-23 14:46:34 +08:00
slzhou
7ec5a5df3a
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf
2023-02-23 14:44:14 +08:00
dapan1121
05c7bc170e
Merge pull request #20098 from taosdata/feat/TS-2671
...
feat(query): optimize percentile function performance
2023-02-23 10:24:06 +08:00
Haojun Liao
4432ae51e6
Merge branch 'main' into fix/liaohj
2023-02-23 09:04:32 +08:00
Ganlin Zhao
39d38c15f1
fix param check
2023-02-22 14:08:03 +08:00
slzhou
21cb3d0821
fix: improve pythonpath env variable to include tsTempDir
2023-02-22 12:11:57 +08:00
Ganlin Zhao
d6ac7de746
change output format to JSON array
2023-02-22 11:44:17 +08:00
Ganlin Zhao
61140d3143
fix parameter check
2023-02-22 11:09:23 +08:00
Ganlin Zhao
84765ff670
refactor code
2023-02-22 10:47:49 +08:00
Ganlin Zhao
61de3b179a
Revert "add stats"
...
This reverts commit 09ce818223
.
2023-02-22 10:04:28 +08:00
Ganlin Zhao
7e01d092a2
optimize repeat scan
2023-02-22 09:25:18 +08:00
slzhou
898bd0ed33
feat: script open function accept env item
2023-02-21 21:24:09 +08:00
slzhou
48bcec4631
Merge branch 'szhou/python-udf' of github.com:taosdata/TDengine into szhou/python-udf
2023-02-21 17:09:51 +08:00
slzhou
8e5dae3970
fix: change script udf info structure
2023-02-21 17:09:26 +08:00
yihaoDeng
2d85d0191c
fix: add vgroup count
2023-02-21 14:40:10 +08:00
Ganlin Zhao
09ce818223
add stats
2023-02-20 19:35:06 +08:00
shenglian zhou
b4d8a327ea
fix: change python plugin function name
2023-02-20 16:52:25 +08:00
Ganlin Zhao
28693ce285
feat(query): allow percentile function to take multiple params
...
to enhance performance
2023-02-20 14:07:24 +08:00
Xiaoyu Wang
c597de099f
merge main
2023-02-20 13:41:27 +08:00
Haojun Liao
8d187efc18
refactor:do some internal refactor.
2023-02-20 10:04:08 +08:00
slzhou
89db7bf600
fix: memory leak error
2023-02-15 12:22:54 +08:00
slzhou
634046cc97
fix: uv_dlopen asan error
2023-02-15 09:25:30 +08:00
slzhou
6b09b72a63
fix: make udfinfo temporary
2023-02-14 17:14:41 +08:00
slzhou
2e266771b1
fix: dispatch to udf by language type and udf name
2023-02-14 13:08:32 +08:00
Haojun Liao
c9ce01c878
Merge branch 'main' into feature/3_liaohj
2023-02-13 17:09:27 +08:00
zlv
45d42d8b1d
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf
2023-02-13 13:29:00 +08:00
Ganlin Zhao
3d3d15b765
fix(query): fix max/min result inconsistent using with first or last
...
plus interval time window query
2023-02-10 10:45:52 +08:00
Xiaoyu Wang
09925437e3
merge main
2023-02-08 09:51:52 +08:00
Haojun Liao
61be1fdc58
fix(query):fix syntax error.
2023-02-07 11:37:56 +08:00
slzhou
5226473405
feature: udf dispatch first by script type then by udf name
2023-02-06 18:33:54 +08:00
Haojun Liao
3822225231
other: merge main.
2023-02-06 16:24:15 +08:00
dapan1121
a2b5162ab9
Merge pull request #19753 from taosdata/szhou/fixbugs
...
fix: show table distributed only works on super table, child table, and normal table
2023-02-06 08:52:44 +08:00
Haojun Liao
f803fa44b5
fix(query): set the correct number of rows when calculating using sma for min/max function.
2023-02-03 16:50:13 +08:00
Haojun Liao
0030c4b5ee
refactor(query): opt perf by remove some functions.
2023-02-03 14:24:00 +08:00
Haojun Liao
ab8c977417
other: merge main.
2023-02-02 14:00:36 +08:00
shenglian zhou
3f577c5019
fix: show table distributed only works on super table, child table, and normal table
2023-02-02 11:57:22 +08:00
Xiaoyu Wang
24157e78d6
merge main
2023-01-28 17:52:58 +08:00
Haojun Liao
c1ffbb5c1c
refactor:do some internal refactor.
2023-01-23 01:11:04 +08:00
Haojun Liao
07cf336fa0
refactor: add an array list api.
2023-01-17 09:43:33 +08:00
Xiaoyu Wang
9a0c2805f4
merge main
2023-01-13 13:54:04 +08:00
Haojun Liao
53f27901a5
Merge branch 'main' into feature/3_liaohj
2023-01-11 15:42:34 +08:00
Haojun Liao
78f49db0ad
other: merge main.
2023-01-11 13:31:41 +08:00
Haojun Liao
3a848ccb36
fix(query): fix the invalid return value check for percentile function.
2023-01-11 13:19:17 +08:00
Haojun Liao
e0dbe22199
fix(query): fix uninitialized memory buffer accessed.
2023-01-11 10:27:23 +08:00
Haojun Liao
94c416eb30
enh(query): opt agg.
2023-01-10 18:48:55 +08:00
Haojun Liao
0b4f1298d7
enh(query): opt agg.
2023-01-10 18:48:20 +08:00
Haojun Liao
f67808a227
refactor: do some internal refactor.
2023-01-10 16:43:15 +08:00
Haojun Liao
e7d0178634
enh(query): dynamic invoke the intrinsic instruction according to different length for different data type.
2023-01-10 15:48:01 +08:00
Haojun Liao
1354eac985
Merge branch 'main' into feature/3_liaohj
2023-01-10 13:21:49 +08:00
54liuyao
d5ade95b31
feat(stream):user define tag
2023-01-10 10:13:56 +08:00
Ganlin Zhao
eae188b445
fix: fix no available disk error
2023-01-06 16:19:41 +08:00
Haojun Liao
0966528a2b
refactor: do some internal refactor.
2023-01-06 16:05:13 +08:00
Ganlin Zhao
4203a9e184
fix: fix no available disk error
2023-01-06 14:33:48 +08:00
Haojun Liao
d208282a2b
refactor: do some internal refactor.
2023-01-06 13:17:22 +08:00
Shengliang Guan
b9f95b6a12
Merge pull request #19390 from taosdata/merge/mainto3.0_0105
...
merge from main to 3.0
2023-01-06 08:59:32 +08:00
Shengliang Guan
3016f35e9f
Merge branch '3.0' into merge/mainto3.0_0105
2023-01-05 16:08:23 +08:00
Ganlin Zhao
a2cc08145a
fix: fix coverity issues
2023-01-05 14:11:05 +08:00
Ganlin Zhao
183b000240
fix error
2023-01-05 10:18:18 +08:00
Ganlin Zhao
ffd901fa6f
fix mem leak
2023-01-05 09:13:57 +08:00
Ganlin Zhao
4a3c892472
Merge branch 'main' into enh/TD-21690
2023-01-04 18:29:03 +08:00
Ganlin Zhao
898955521d
fix getBufPage return NULL in tpercentile.c
2023-01-04 18:24:34 +08:00
Ganlin Zhao
929bafa264
fix getBufPage return NULL in tpercentile.c
2023-01-04 18:15:16 +08:00
Ganlin Zhao
af0bd9c72b
fix loadTupleData
2023-01-04 17:59:30 +08:00
Ganlin Zhao
6411e717df
fix updateTupleData
2023-01-04 17:18:14 +08:00
Ganlin Zhao
d5c92d3788
fix saveTuplePos
2023-01-04 16:59:55 +08:00
Ganlin Zhao
003002af1d
enh(query): handle getBufPage return NULL when no available disk spaces
2023-01-04 16:09:20 +08:00
Xiaoyu Wang
fdde287ca9
merge main
2023-01-04 11:43:20 +08:00
Ganlin Zhao
e3b776c7f3
Merge branch 'main' into enh/TD-21206
2023-01-04 09:18:38 +08:00
Shengliang Guan
650ea06b69
Merge pull request #19321 from taosdata/feature/3_liaohj
...
fix(utility): fix the bug in creating auto delete files.
2023-01-03 17:40:48 +08:00
dapan1121
3e1e6be827
Merge pull request #19262 from taosdata/fix/TS-2350
...
fix(query): fix floating type handle sma error
2023-01-03 17:21:30 +08:00
Ganlin Zhao
5e4b139355
fix assert in tpercentile.c
2023-01-03 15:23:43 +08:00
Ganlin Zhao
d454ec970d
fix assert in tpercentile.c
2023-01-03 14:40:41 +08:00
Alex Duan
f2a1ce128e
fix: add numOfVgroups to serial and deserial function
2023-01-03 14:26:15 +08:00
Haojun Liao
b8aa4fae8a
fix(udf): disable the auto remove for *.so
2023-01-03 14:23:27 +08:00
Ganlin Zhao
5b88f0fffb
fix assert in thistogram.c
2023-01-03 14:21:01 +08:00
Alex Duan
b68e440cc2
feat: support total vgroups count for table
2023-01-03 14:13:51 +08:00
Ganlin Zhao
09a06ba5b2
remove assert from builtinsimpl.c
2023-01-03 11:18:21 +08:00
Alex Duan
2439c345d9
enh: clear assert remove tbuffer.h
2022-12-30 18:04:54 +08:00
Ganlin Zhao
c08ff7dd35
fix assert in tfunctionInt.c
2022-12-30 13:58:38 +08:00
Ganlin Zhao
635f4f9b45
remove assert in tavgfunction.c & tminmax.c
2022-12-30 13:54:08 +08:00
Ganlin Zhao
8a2795b57d
fix assert in builtinsimpl.c
2022-12-30 13:10:46 +08:00
Ganlin Zhao
763f702fff
fix assert in builtims.c
2022-12-30 10:50:40 +08:00
dapan1121
e6c5fd874a
Merge pull request #19175 from taosdata/szhou/fixbugs2
...
enhance: remove assert
2022-12-30 09:53:59 +08:00
Ganlin Zhao
73a95d3cda
fix some format
2022-12-30 09:32:18 +08:00
Ganlin Zhao
e105f9c0d2
store sma result as float in buf
2022-12-30 09:16:30 +08:00
Ganlin Zhao
d8b8ece9c1
fix(query): fix floating type handle sma error
2022-12-29 18:12:29 +08:00
Shengliang Guan
25e9d94f5b
Merge pull request #19244 from taosdata/feature/stream_main
...
enh: put func state into tdb
2022-12-29 17:17:29 +08:00
Liu Jicong
b2f6fcd067
fix mem leak
2022-12-29 15:34:08 +08:00
Liu Jicong
93cf8e0186
fix: selectivity
2022-12-29 14:43:45 +08:00
Liu Jicong
7721353b6b
enh: put func state into tdb
2022-12-29 12:39:07 +08:00
dapan1121
4a142018da
Merge pull request #19224 from taosdata/fix/TD-21561
...
fix(query): fix count/hyperloglog return additional row in group by when queryPolicy is set to 3.
2022-12-29 12:28:28 +08:00
Shengliang Guan
2bbf2f3ab1
Merge branch '3.0' into merge/mainto3.0_1229
2022-12-29 09:36:52 +08:00
Ganlin Zhao
24b2ee0fff
fix(query): fix count/hyperloglog return additional row in group by
...
when queryPolicy is set to 3.
2022-12-28 17:29:07 +08:00
shenglian zhou
5c36d90bc2
fix: free the column info array
2022-12-28 16:18:24 +08:00
Shengliang Guan
78c14a2c88
Merge remote-tracking branch 'origin/3.0' into merge/mainto3.0_1228
2022-12-28 14:59:02 +08:00
shenglian zhou
2680ebff38
fix: set row for data block
2022-12-28 14:31:12 +08:00
shenglian zhou
ad1ba74646
fix: add block data clean up for the udf input data block
2022-12-28 13:52:40 +08:00
shenglian zhou
a29dea91a5
fix: covert scalar param to data block
2022-12-28 13:32:42 +08:00
slzhou
ceea74ee7a
enhance: remove assert
2022-12-27 09:58:22 +08:00
dapan1121
66cece62de
Merge pull request #19046 from taosdata/fix/TD-21180-3.0
...
feat(rpc): return new error code TSDB_CODE_RPC_VGROUP_NOT_CONNECTED
2022-12-26 18:08:48 +08:00
Shengliang Guan
664dcb6b4e
Merge branch 'main' into merge/mainto3.0_1226
2022-12-26 09:26:54 +08:00
dapan1121
a6e7f0f2d5
Merge pull request #18960 from taosdata/fix/TD-20621-3.0
...
fix(query): avg function support overflow sum value calculate
2022-12-25 15:12:28 +08:00
Alex Duan
cd1b87031a
fix(query): modify error describe
2022-12-22 10:22:51 +08:00
Alex Duan
8aa615c623
fix(query): show distributed table modify average calc error
2022-12-21 17:34:02 +08:00
Haojun Liao
5c534d77d9
fix(query): check for buffer in first/last merge.
2022-12-20 18:23:15 +08:00
Alex Duan
df6102f66e
fix(query): TSDB_CODE_RPC_VGROUP_NOT_CONNECTED same condition check with TSDB_CODE_RPC_NETWORK_UNAVAIL
2022-12-20 18:14:24 +08:00
Haojun Liao
7059d71e1f
fix(query): check for buffer in first/last merge.
2022-12-20 17:31:36 +08:00
Ganlin Zhao
09061bcc57
Merge branch '3.0' into feat/TS-2158
2022-12-19 09:23:32 +08:00
Alex Duan
0a5fd77b17
feat(query): avg function overflow mac build
2022-12-18 19:04:38 +08:00
Alex Duan
1a75e9bb58
feat(query): avg function overflow add big check
2022-12-18 15:15:13 +08:00
Alex Duan
1b8199d98d
fix(query): avg function check overflow mac build
2022-12-17 20:38:03 +08:00
Alex Duan
ea5bf3d31e
fix(query): fix(query): avg check overflow
2022-12-17 17:15:44 +08:00
Alex Duan
ba31ce8070
feat(query): avg function check range overflow
2022-12-17 10:46:13 +08:00
Alex Duan
0130950170
fix(query): avg sum operation check range merge two SAvgRes pointer
2022-12-15 15:32:53 +08:00
Alex Duan
1ac428ff61
fix(query): avg sum operation check range build error
2022-12-15 14:54:22 +08:00
Alex Duan
e9f7572a54
fix(query): avg sum operation check range
2022-12-15 14:52:53 +08:00
Alex Duan
500ee304a6
fix(query): avg sum over range replace with macro
2022-12-15 12:43:28 +08:00
Alex Duan
74cf776439
fix(query): avg function sum overflow
2022-12-14 21:34:50 +08:00
Alex Duan
a4e0bbd34f
fix(query): fixed avg function sum over range
2022-12-14 20:30:18 +08:00
Ganlin Zhao
5da2fe9bc5
feat(query): add _isfilled pseudocolumn to indicate data is origin
...
or filled.
2022-12-14 16:56:10 +08:00
dapan1121
473338cf86
Merge pull request #18929 from taosdata/fix/percentile_crash
...
fix: fix invalid retrieved buffer page causing crash
2022-12-14 08:52:15 +08:00
dapan1121
d6f6c6495b
Merge pull request #18917 from taosdata/szhou/cenc
...
fix: udfd pipe close before send response
2022-12-14 08:51:28 +08:00
Shengliang Guan
04750d9078
Merge pull request #18905 from taosdata/feature/3_liaohj
...
refactor: do multiple refactor and improve some query perf.
2022-12-14 08:01:42 +08:00
Ganlin Zhao
08375a523d
fix: fix invalid retrieved buf page
2022-12-13 15:44:26 +08:00
slzhou
c14c1b9ae2
fix: add test case
2022-12-13 15:30:18 +08:00
slzhou
3108e658e6
fix: expand scalar param column data to fill the udf datablock
2022-12-13 14:51:11 +08:00
shenglian zhou
bd99fc5ceb
fix: expand scalar input number of rows with the max num of rows
2022-12-13 11:00:13 +08:00
shenglian zhou
3aa13025c2
fix: udfd without copy buf again and udfd read eof not log with error
2022-12-12 21:57:52 +08:00
shenglian zhou
190fbe849e
fix: udfd pipe can close before sending response
2022-12-12 20:20:24 +08:00
Haojun Liao
8f02297890
refactor: do some internal refactor.
2022-12-12 17:53:04 +08:00
Ganlin Zhao
159088267b
fix: fix error in getting pageIdList from group page hash map
2022-12-12 17:23:53 +08:00
shenglian zhou
c5abada99e
fix: fix gpd error
2022-12-10 11:46:47 +08:00
dapan1121
35fdfad623
Merge pull request #18758 from taosdata/fix/TD-19481
...
fix(query): fix percentile crash when input has more than 10 million records
2022-12-08 13:44:44 +08:00
Ganlin Zhao
fa8cf8686a
Merge branch '3.0' into fix/TD-19481
2022-12-08 10:57:39 +08:00
Ganlin Zhao
ad69067a01
fix asan stack-scope-after-use errror
2022-12-08 10:57:21 +08:00
Shengliang Guan
e505bd50b5
Merge pull request #18727 from taosdata/szhou/fixbugs
...
fix: add default command line to start udfd when taosd is started directly from command line
2022-12-08 08:54:58 +08:00
shenglian zhou
9789adc439
fix: fix windows compilation error
2022-12-08 07:36:10 +08:00
Shengliang Guan
1bb1025f7d
enh: add tassert
2022-12-07 22:24:47 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases"
2022-12-07 21:51:17 +08:00
Shengliang Guan
d5126d469a
refact: replcase ASSERT with tAssert
2022-12-07 18:42:48 +08:00
Shengliang Guan
f69a188f7e
refact: replcase ASSERT with tAssert
2022-12-07 18:37:40 +08:00
Ganlin Zhao
de4571fbf7
Merge branch '3.0' into fix/TD-19481
2022-12-07 14:17:47 +08:00
Ganlin Zhao
387983f6f4
fix(query): fix percentile crash when input has more than 10
...
million records
2022-12-07 11:44:39 +08:00
dapan1121
5b8294122a
Merge pull request #18742 from taosdata/fix/TD-20906
...
fix: fix count VAR type column error cause of reading incorrect sma results
2022-12-06 18:41:24 +08:00
Ganlin Zhao
2cc58eebd3
fix: fix count VAR type column error cause of reading
...
incoorect sma results
2022-12-06 00:29:38 -08:00
shenglian zhou
cf3ec5ad40
fix: add default command line to start udfd when taosd is started directly from command line
2022-12-06 11:42:53 +08:00
dapan1121
79cd86d5ad
Merge pull request #18705 from taosdata/fix/TD-20907
...
fix:stddev\fisrt\last combine function
2022-12-05 20:15:53 +08:00
Shengliang Guan
71022773eb
Merge pull request #18715 from taosdata/fix/TS-2220-3.0
...
fix(log): ignore create log error
2022-12-05 19:40:16 +08:00
Alex Duan
f8b75e3ac1
fix(log): ignore create log error
2022-12-05 17:54:26 +08:00
54liuyao
d7a38aeae9
fix:stddev\fisrt\last combine function
2022-12-05 17:21:40 +08:00
dapan1121
0ecb0d26f2
Merge pull request #18694 from taosdata/fix/TS-2144
...
enh(query): add timetruncate function ignore timezone option for 1d
2022-12-05 17:18:18 +08:00
Ganlin Zhao
e18da31a5d
enh(query): add timetruncate function ignore timezone option for 1d
2022-12-05 12:00:12 +08:00
Shengliang Guan
d9c261cd13
refact: remove some error codes
2022-12-03 10:17:02 +08:00
Shengliang Guan
7ba56169a2
Merge pull request #18652 from taosdata/fix/liao_cov
...
refactor: add function for extract the required buffer during query.
2022-12-03 09:20:46 +08:00
Haojun Liao
5e77b3eca3
refactor: add function for extract the required buffer during query.
2022-12-02 23:10:03 +08:00
Shengliang Guan
524de026a5
enh: remove TSDB_CODE_RPC_REDIRECT
2022-12-02 22:24:35 +08:00
Shengliang Guan
99968ccc4f
enh: adjust error code
2022-12-02 16:46:43 +08:00
Shengliang Guan
24ee4b4289
Merge branch '3.0' into enh/TD-20891
2022-12-02 16:44:46 +08:00
Shengliang Guan
13f36ec20a
refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED
2022-12-02 16:06:10 +08:00
slzhou
903718940d
Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan
2022-12-01 09:14:10 +08:00
Ganlin Zhao
4048988908
fix(query): fix avg calculation error after SIMD optimize
...
TD-20803
2022-11-30 15:26:52 +08:00
Ganlin Zhao
4ea7d139ba
fix(query): fix avg calculation error after SIMD optimize
...
TD-20803
2022-11-30 14:48:39 +08:00
Xiaoyu Wang
cfbcf92c1f
Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize
2022-11-30 14:29:34 +08:00
dapan1121
45cf5acc32
Merge pull request #18501 from taosdata/fix/TS-2149
...
fix(query): handle countAlwaysReturnValue behavior
2022-11-30 13:20:51 +08:00
Ganlin Zhao
af30786e4f
fix avg function error
2022-11-29 22:47:55 +08:00
Ganlin Zhao
f913fbdaf6
fix errors
2022-11-29 22:14:46 +08:00
Ganlin Zhao
900fe01f0e
fix error
2022-11-29 19:32:51 +08:00
Xiaoyu Wang
37b65c16c8
enh: ins_tables count optimize
2022-11-29 14:59:48 +08:00
Xiaoyu Wang
555f2cb981
merge 3.0
2022-11-29 13:16:54 +08:00
Ganlin Zhao
682b3b60ef
Merge branch '3.0' into fix/TS-2149
2022-11-28 23:42:16 +08:00
Ganlin Zhao
8c90a98e2d
fix last_row
2022-11-28 22:25:17 +08:00
Ganlin Zhao
f81ce17df4
fix first last
2022-11-28 22:06:02 +08:00
Ganlin Zhao
bab891eef7
fix coverity scan issue CID:402965
2022-11-28 18:14:47 +08:00