Commit Graph

2026 Commits

Author SHA1 Message Date
slzhou 4d3eb6824c feat: add pk support for last/first/last_row dynDataRequired 2024-03-25 13:38:34 +08:00
slzhou d96547f03c fix: last transfer info 2024-03-20 10:00:01 +08:00
shenglian zhou cee96e2048 feat: begin coding function 2024-03-19 13:57:12 +08:00
dapan1121 b26716f2e8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-18 22:15:43 -08:00
wangmm0220 a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
Haojun Liao 0fe9c05c5f
Merge pull request #24704 from taosdata/fix/3_liaohj
fix(stream): take ver snapshot for all vgroups
2024-02-01 17:07:36 +08:00
Haojun Liao cb2ea4a721 fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
wangmm0220 a9fcc67321 fix:conflicts from 3.0 2024-02-01 11:13:03 +08:00
factosea 5d731dc9a4 fix: use blank data flag 2024-01-30 17:34:06 +08:00
dapan1121 dc309d67b8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-29 17:08:41 +08:00
factosea b9927cce14 fix: count error on tag which is null 2024-01-29 16:04:08 +08:00
Alex Duan 1f72313332
Merge pull request #24627 from taosdata/coverage/TD-28401-3.0
coverage: sclfunc.c with query_basic.py
2024-01-26 09:06:17 +08:00
factosea 2513531eee fix: statecount function checkou arg full equal 2024-01-25 10:19:51 +08:00
Alex Duan ddaa898ead fix: build error 2024-01-25 10:16:29 +08:00
Alex Duan 27aa90d6b0 feat: sclfuns.c finished 2024-01-25 09:12:02 +08:00
wangmm0220 7246fedfef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2024-01-18 19:08:35 +08:00
dapan1121 fb20dd51de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-18 17:11:25 +08:00
dapan1121 567aab933d
Merge pull request #24509 from taosdata/fix/xsren/TD-28327/doubleFormat3.0
fix: LEASTSQUARES func result stack overflow
2024-01-18 09:08:17 +08:00
dapan1121 eed1095dc1
Merge pull request #24479 from taosdata/szhou/fix/td-28271
fix: add input ignore group to project
2024-01-18 08:49:31 +08:00
facetosea f010e18ff0 fix: LEASTSQUARES func result stack overflow 2024-01-17 18:28:00 +08:00
slzhou 8e1039a07d fix: when input ignore group, split from scan 2024-01-17 10:30:07 +08:00
xinsheng Ren 737abbebb7
Revert "fix: LEASTSQUARES func result overflow" 2024-01-17 10:09:56 +08:00
factosea fdb847fd36 fix: LEASTSQUARES func result overflow 2024-01-16 15:34:05 +08:00
dapan1121 2fef37a5cc
Merge pull request #24315 from taosdata/fix/xsren/TD-28068/columnNodeRef2
fix: columanRefNode illegal type conversion
2024-01-16 10:08:34 +08:00
dapan1121 53094f62d8
Merge pull request #24359 from taosdata/FIX/TD-27003
Fix : use last row scan when select last_row, last
2024-01-16 08:50:23 +08:00
wangmm0220 e5932ab122 fix:compile error 2024-01-15 18:16:09 +08:00
wangmm0220 2ab54a1335 fix:conflicts from 3.0 2024-01-15 16:54:52 +08:00
fullhonest cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
Alex Duan df40772e95 coverage: sum add all types test 2024-01-14 20:23:37 +08:00
54liuyao 52d8811bdc code coverage 2024-01-12 13:49:32 +08:00
factosea b6b2a41d83 fix: columnrefnode 2024-01-03 18:30:57 +08:00
dapan1121 8d9c093b99 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-03 16:26:17 +08:00
fullhonest 0a0f1a9d22 Fix TD-27989 2023-12-29 11:33:47 +08:00
wangmm0220 5367a430c6 fix:add function to the end 2023-12-28 16:07:19 +08:00
dapan1121 e570fcef99 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-25 09:22:01 +08:00
Alex Duan 659acfd5f3
Merge pull request #24196 from taosdata/coverage/alex
coverage: remove tfunctionInt.c
2023-12-23 16:39:49 +08:00
wangmm0220 eac86f72b3 fix:partical func parameters for middle interval[checkStreamSTable1.sim] 2023-12-22 18:30:22 +08:00
fullhonest e13b3b9ceb Fix TD-27989: percentile crash 2023-12-22 17:51:16 +08:00
Alex Duan a71fabb24f coverage: remove tfunctionInt.c 2023-12-22 17:50:55 +08:00
Alex Duan 1fa6cb8f69 coverage: isRowEntryCompleted had been called 5200w hits 2023-12-21 15:10:21 +08:00
dapan1121 bc38885856 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-19 11:22:41 +08:00
Haojun Liao bc11b76904 fix(query): set correct y-axis annotation. 2023-12-15 15:26:44 +08:00
Haojun Liao 4758f95708 fix(query): add rows info if blocks exist. 2023-12-15 15:04:55 +08:00
Haojun Liao 38d7ae3cd7 fix(query): add one more row for table rows distributed 2023-12-14 10:36:15 +08:00
dapan1121 ee03cbc404 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-06 08:38:30 +08:00
Haojun Liao cc5890d56a
Merge pull request #23924 from taosdata/fix/3_liaohj
enh(tsdb): extract rows for the given tables in all stt files.
2023-12-04 19:21:19 +08:00
Haojun Liao 4daaeb3265 fix(tsdb): add rows in different vgroups; 2023-12-04 18:21:03 +08:00
Haojun Liao 24d9337632 enh(tsdb): extract rows for the given tables in all stt files. 2023-12-04 15:38:24 +08:00
facetosea 419712494e skip scan table 2023-11-29 11:22:13 +08:00
dapan1121 84cc80be1c fix: add window_offset translate 2023-11-28 14:35:11 +08:00
Haojun Liao 9ee9174608 other: merge 3.0 2023-11-11 15:48:31 +08:00
Haojun Liao 801b211cd8 refactor:do some internal refactor. 2023-11-11 15:39:45 +08:00
wangjiaming0909 fc6c4fba90 feat: cache scan for select last(c), ts/c 2023-11-08 13:39:28 +08:00
Haojun Liao acd20506f6
Merge pull request #23542 from taosdata/fix/TD-27041
adj builtin function
2023-11-07 13:43:23 +08:00
dapan1121 3d1afe7adf
Merge pull request #23547 from taosdata/fix/3.0/TD-27013
fix: cast error msg
2023-11-07 13:35:41 +08:00
liuyao 7c38344642 adj builtin function 2023-11-03 17:53:36 +08:00
wangjiaming0909 741f8b0083 fix: cast error msg 2023-11-03 16:31:28 +08:00
wangjiaming0909 b71a013b8d fix: nano seconds database error 2023-11-02 09:36:46 +08:00
wangjiaming0909 70850697a4 feat: support to_timestamp/to_char fix comments 2023-10-27 09:54:16 +08:00
wangjiaming0909 f299a28109 feat: support to_timestamp/to_char 2023-10-23 19:36:03 +08:00
Haojun Liao eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
dapan1121 c8aee79e3f fix: apercentile parameter validation and result error 2023-09-27 16:08:06 +08:00
wangjiaming0909 1e53e6cfeb optimize count()/last() + partition by tbname/tag 2023-09-19 14:56:02 +08:00
Haojun Liao 60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
dapan1121 615c619bba
Merge pull request #22782 from taosdata/fix/TS-3897
fix: fix diff not support unsigned type
2023-09-07 16:17:42 +08:00
Ganlin Zhao a762437100 fix issue 2023-09-07 09:54:06 +08:00
Ganlin Zhao 60d159731a Revert "fix: fix diff not support unsigned type"
This reverts commit 7ccf959cdc44be7c5eaa0218f84db7699c126bbb.
2023-09-07 09:53:52 +08:00
dapan1121 ed9085281d
Merge pull request #22623 from taosdata/feat/TD-25964-3.0
feat: get cpu cores from quota
2023-09-06 16:03:33 +08:00
Ganlin Zhao d74834f81e fix: fix diff not support unsigned type 2023-09-06 14:21:30 +08:00
shenglian zhou 6b79947402 fix: fix coverity scan issue 2023-09-06 08:48:46 +08:00
wangmm0220 a0fadb07ea fix:support length function for varbinary 2023-09-04 17:15:03 +08:00
dapan1121 cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121 228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
kailixu f4dd1895b2 Merge branch '3.0' into feat/TD-25964-3.0 2023-08-31 08:56:53 +08:00
dapan1121 2e7897239a fix: trim block and partition by constant function issue 2023-08-30 16:51:44 +08:00
dapan1121 a1c55d0584
Merge pull request #22564 from taosdata/fix/TD-25540-new
fix: fix where ts < now used in nested query report invalid timestamp
2023-08-30 16:48:20 +08:00
kailixu eb7d2d495a chore: supports obtaining physical/virtual CPU cores 2023-08-30 15:21:03 +08:00
Haojun Liao b1aa86a290
Merge pull request #22605 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-30 11:29:26 +08:00
Ganlin Zhao 4b954c0874 fix potential overflow 2023-08-30 10:25:16 +08:00
Ganlin Zhao d2433a452c remove comments 2023-08-29 18:27:07 +08:00
Ganlin Zhao d0fb485573 fix all possible overflow using md5 2023-08-29 15:51:29 +08:00
wangmm0220 201a8f0918 feat:support varbinary type 2023-08-28 19:06:16 +08:00
dapan1121 e24498b0fd enh: add task notify 2023-08-25 14:59:34 +08:00
Ganlin Zhao 7396a7c09c fix: fix where ts < now used in nested query report invalid timestamp 2023-08-24 17:11:05 +08:00
dapan1121 3045a623e1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-17 14:16:05 +08:00
dapan1121 143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
dapan1121 b113d02476
Merge pull request #22438 from taosdata/feat/TD-23299
feat: add irate distributed execution
2023-08-16 14:44:33 +08:00
wade zhang 1a1a12b7b8
Merge pull request #22327 from taosdata/fix/TD-25010-3
feat(tsdb/cos): s3 migration
2023-08-16 08:02:20 +08:00
Ganlin Zhao 3c6ddad611 fix bugs 2023-08-15 17:58:12 +08:00
Ganlin Zhao adaaa922be fix bugs 2023-08-15 17:47:19 +08:00
Ganlin Zhao 1876a94e26 fix bugs 2023-08-15 16:05:09 +08:00
Ganlin Zhao 01a7dfbc34 feat: add irate distributed execution 2023-08-15 12:59:30 +08:00
dapan1121 6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121 1f3eacba17
Merge pull request #22365 from taosdata/enh/TD-25366
enh: remove timeline dependence of certain functions
2023-08-10 17:08:05 +08:00
Minglei Jin 33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
Ganlin Zhao 11823580c7 fix test cases 2023-08-09 17:13:31 +08:00
Ganlin Zhao 70e4b4f44e remove unique need of primary ts 2023-08-09 14:30:34 +08:00
Ganlin Zhao bea4346232 enh: remove timeline dependence of certain functions 2023-08-08 16:05:21 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
Ganlin Zhao d9ef9c4584 fix: fix _wstart,_wennd not matching with interval for ns/us databases 2023-08-04 10:15:15 +08:00
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