shenglian zhou
|
712217ab02
|
enhance: udf code refactoring
|
2022-05-22 16:08:39 +08:00 |
shenglian zhou
|
317db70052
|
Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf
|
2022-05-22 16:04:21 +08:00 |
shenglian zhou
|
548838d9c3
|
enhance: udf code refactoring
|
2022-05-22 16:03:46 +08:00 |
afwerar
|
5acf419019
|
fix(os): win not close file ctest error
|
2022-05-21 23:47:39 +08:00 |
Xiaoyu Wang
|
89562acb01
|
feat: the length of binary/nchar type value is the same as that of column
|
2022-05-21 18:09:31 +08:00 |
Haojun Liao
|
25e2a9dd72
|
refactor: do some internal refactor, and set the correct intermediate buffer size for average function.
|
2022-05-20 23:58:34 +08:00 |
Ganlin Zhao
|
464a79ac50
|
Merge pull request #12747 from taosdata/feature/3.0_glzhao
fix(query): change unique function type to non-standard sql function
|
2022-05-20 15:16:52 +08:00 |
Ganlin Zhao
|
98092217ee
|
fix: fix windows compilation error
|
2022-05-20 14:58:04 +08:00 |
Ganlin Zhao
|
3d34f7850e
|
fix(query): change unique function type to non-standard sql function
|
2022-05-20 13:59:20 +08:00 |
Ganlin Zhao
|
9ca54b9478
|
Merge pull request #12723 from taosdata/feature/3.0_glzhao
feat(query): add unique function
|
2022-05-20 10:18:36 +08:00 |
dapan1121
|
7baf8eab29
|
catalog async api
|
2022-05-20 09:53:30 +08:00 |
Ganlin Zhao
|
bf4826d9a8
|
feat(query): add unique function
|
2022-05-19 22:42:30 +08:00 |
Yihao Deng
|
040292cb80
|
Merge pull request #12718 from taosdata/enh/deleteDupCode
Enh/delete dup code
|
2022-05-19 22:12:46 +08:00 |
yihaoDeng
|
76b9a5acee
|
fix: avoid invalid read/write
|
2022-05-19 21:56:39 +08:00 |
shenglian-zhou
|
5049ea17e6
|
Merge pull request #12717 from taosdata/feature/udf
fix: udf2 reuse old state when new input is all null
|
2022-05-19 21:11:38 +08:00 |
slzhou
|
b5a419c25a
|
Merge branch 'feature/udf' of github.com:taosdata/TDengine into feature/udf
|
2022-05-19 20:56:40 +08:00 |
slzhou
|
c0fc53a9a8
|
fix: udf2 reuse old state when new input is null
|
2022-05-19 20:54:30 +08:00 |
shenglian-zhou
|
6649018519
|
Merge pull request #12707 from taosdata/feature/udf
fix: set hasResult when old state has result
|
2022-05-19 18:11:40 +08:00 |
slzhou
|
5a3f6b11e7
|
fix: set hasResult when old state has result
|
2022-05-19 17:48:34 +08:00 |
Haojun Liao
|
f636806c2a
|
other: merge 3.0
|
2022-05-19 17:07:01 +08:00 |
Haojun Liao
|
e0b9da9c3d
|
refactor: do some internal refactor.
|
2022-05-19 16:49:43 +08:00 |
Xiaoyu Wang
|
29bdba7298
|
fix: some problems of parser and planner
|
2022-05-19 14:26:10 +08:00 |
Ganlin Zhao
|
fba964778b
|
Merge pull request #12651 from taosdata/feature/3.0_glzhao
enh(query): support sum(NULL), max(NULL), min(NULL), count(NULL)
|
2022-05-18 19:26:17 +08:00 |
Ganlin Zhao
|
8daaea58de
|
feat(query): fix ci
|
2022-05-18 18:51:40 +08:00 |
slzhou
|
36dcc70f0d
|
fix: improve udf function misuse stability
|
2022-05-18 18:21:32 +08:00 |
Ganlin Zhao
|
98a6792b99
|
Merge branch '3.0' into feature/3.0_glzhao
|
2022-05-18 16:54:19 +08:00 |
Ganlin Zhao
|
e948d5a248
|
enh(query): support avg(NULL), stddev(NULL)
|
2022-05-18 16:35:13 +08:00 |
Ganlin Zhao
|
a52e0027cf
|
enh(query): support count(NULL) = 0
|
2022-05-18 16:14:57 +08:00 |
Ganlin Zhao
|
26c618e5ad
|
enh(query): support sum(NULL), max(NULL), min(NULL)
|
2022-05-18 16:03:59 +08:00 |
Ganlin Zhao
|
36370a2339
|
Merge pull request #12612 from taosdata/feature/3.0_glzhao
fix(query): fix elapsed parameter number
|
2022-05-18 14:34:53 +08:00 |
shenglian-zhou
|
7655f51ff8
|
Merge pull request #12631 from taosdata/feature/udf
fix: udfc checks output type and output bytes when executing scalar f…
|
2022-05-18 12:43:01 +08:00 |
slzhou
|
950835e1fc
|
fix: set correct udf output type when retrieve from mnode
|
2022-05-18 12:16:28 +08:00 |
Haojun Liao
|
eeaea6a6dc
|
Merge pull request #12629 from taosdata/feature/3.0_liaohj
fix(query): add parameters check for top/bottom functoin.
|
2022-05-18 12:11:08 +08:00 |
slzhou
|
00c11b01fe
|
fix: udfc checks output type and output bytes when executing scalar function
|
2022-05-18 11:43:03 +08:00 |
Haojun Liao
|
325959bd27
|
fix(query): add parameters check for top/bottom functoin.
|
2022-05-18 11:01:39 +08:00 |
shenglian-zhou
|
ea3e48827f
|
Merge pull request #12627 from taosdata/feature/udf
fix: release udf func handle when udf agg failure
|
2022-05-18 10:44:47 +08:00 |
slzhou
|
d5c30f5ea5
|
fix: release udf func handle when udf agg failure
|
2022-05-18 10:29:32 +08:00 |
Haojun Liao
|
52f6a66ba5
|
fix(query): fix some syntax error.
|
2022-05-17 22:58:17 +08:00 |
Haojun Liao
|
a918f19329
|
Merge branch '3.0' into feature/3.0_liaohj
|
2022-05-17 22:47:52 +08:00 |
shenglian-zhou
|
81ea237b4f
|
Merge pull request #12605 from taosdata/feature/udf
fix: trigger ci test
|
2022-05-17 22:28:41 +08:00 |
Ganlin Zhao
|
485a1aedd5
|
fix(query): fix elapsed parameter number
|
2022-05-17 22:27:46 +08:00 |
slzhou
|
b4e23c34a4
|
feat: udfc check udf function interbuf size and result size
|
2022-05-17 22:10:51 +08:00 |
Ganlin Zhao
|
2f128fa3c9
|
Merge pull request #12607 from taosdata/feature/3.0_glzhao
feat(query): add elapsed function
|
2022-05-17 21:37:11 +08:00 |
Ganlin Zhao
|
1b0b410f98
|
feat(query): add elapsed function
|
2022-05-17 21:22:21 +08:00 |
Shengliang Guan
|
88094cfec7
|
Merge remote-tracking branch 'origin/3.0' into fix/mnode
|
2022-05-17 20:56:54 +08:00 |
slzhou
|
3e4f9db185
|
fix: trigger ci test
|
2022-05-17 20:53:36 +08:00 |
slzhou
|
d46c393598
|
fix: mnode not ready for connect from udfd
|
2022-05-17 20:47:40 +08:00 |
slzhou
|
ee2f3e7e05
|
fix: clear invalid udf func handle
|
2022-05-17 20:01:01 +08:00 |
slzhou
|
e73b1c4889
|
fix: support more rows with udf unit test
|
2022-05-17 19:22:58 +08:00 |
Haojun Liao
|
aefa9bd891
|
refactor: do some internal refactor.
|
2022-05-17 16:53:55 +08:00 |
Shengliang Guan
|
d7e895448d
|
fix: conflicts after refactor SRpcMsg
|
2022-05-17 16:32:23 +08:00 |
slzhou
|
2d0b29d295
|
Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf
|
2022-05-17 15:42:52 +08:00 |
slzhou
|
7967f2d7c0
|
fix: sanitizing tudf memory
|
2022-05-17 15:19:32 +08:00 |
slzhou
|
e8880e1544
|
fix: udf memory sanitizing
|
2022-05-17 15:14:16 +08:00 |
Zhiqiang Wang
|
9a7126e0e2
|
Merge pull request #12580 from taosdata/fix/ZhiqiangWang/fix-15602-fix-win-str-to-int64-error
fix(os): win str to int64 error
|
2022-05-17 14:18:21 +08:00 |
afwerar
|
b7ca4f7710
|
fix(os): win str to int64 error
|
2022-05-17 13:50:16 +08:00 |
Ganlin Zhao
|
766b1a3b46
|
Merge pull request #12575 from taosdata/feature/3.0_glzhao
feat(query): add HYPERLOGLOG function
|
2022-05-17 13:45:14 +08:00 |
slzhou
|
d668ee7b91
|
fix: aggregate memory leaking
|
2022-05-17 12:03:37 +08:00 |
Ganlin Zhao
|
1eb59a2fed
|
feat(query): add hll function
|
2022-05-17 11:36:12 +08:00 |
slzhou
|
c94c43951e
|
fix: sanitize udf memory usage
|
2022-05-17 11:13:11 +08:00 |
Ganlin Zhao
|
67e93ef90c
|
Revert "feat(query): add HYPERLOGLOG function"
This reverts commit 267ed293d7 .
|
2022-05-17 10:33:58 +08:00 |
Ganlin Zhao
|
267ed293d7
|
feat(query): add HYPERLOGLOG function
|
2022-05-17 10:33:19 +08:00 |
slzhou
|
47f0c6db6a
|
enhance: refine udfd code
|
2022-05-17 10:08:15 +08:00 |
slzhou
|
5a15151b87
|
feat: refine udfd
|
2022-05-17 10:00:13 +08:00 |
Ganlin Zhao
|
9dcf9248d7
|
feat(query): add HYPERLOGLOG function
|
2022-05-16 22:43:06 +08:00 |
Ganlin Zhao
|
a3f5e4723a
|
Merge pull request #12552 from taosdata/feature/3.0_glzhao
feat(query): add tail function
|
2022-05-16 21:50:31 +08:00 |
Ganlin Zhao
|
ede4a57c99
|
enh(query): tail function handle offset param
|
2022-05-16 19:36:04 +08:00 |
slzhou
|
c245309e6e
|
feat: enhance udfd epset processing with connect msg and callback epset parameter
|
2022-05-16 19:03:36 +08:00 |
Ganlin Zhao
|
a281da1379
|
fix(query): fix tail function points larger than total rows issue
|
2022-05-16 17:02:01 +08:00 |
Ganlin Zhao
|
21b5f72340
|
fix(query): fix tail function NULL value handing.
|
2022-05-16 16:35:59 +08:00 |
Ganlin Zhao
|
4be158b391
|
feat(query): add tail function
|
2022-05-16 14:29:12 +08:00 |
slzhou
|
8284d8b8e0
|
fix: accquire rpc client in the same way as dmInitClient
|
2022-05-16 13:27:04 +08:00 |
slzhou
|
9cb2473580
|
feat: enhance udf func stub with last ref time
|
2022-05-16 11:15:57 +08:00 |
Ganlin Zhao
|
3ef067ff03
|
feat(query): add tail function
|
2022-05-16 11:03:15 +08:00 |
slzhou
|
4ae7a16749
|
fix: teardown udf optimization
|
2022-05-16 09:24:35 +08:00 |
slzhou
|
8ce04a94f9
|
fix: change function name for tearing down udf handles
|
2022-05-16 09:06:08 +08:00 |
slzhou
|
5b35fcacd6
|
fix: teardown udf functions handles
|
2022-05-16 07:47:56 +08:00 |
slzhou
|
89ba943981
|
fix: change udf comment
|
2022-05-15 14:15:46 +08:00 |
slzhou
|
692ae29c6c
|
fix: clean the udf handles cache when pipe error
|
2022-05-14 23:39:10 +08:00 |
slzhou
|
911cd1fe66
|
fix: reuse existing udf handles and teardown the handle later
|
2022-05-14 22:51:13 +08:00 |
slzhou
|
cef0f74cb3
|
fix: udf aggregate function handle does not exist
|
2022-05-14 18:28:51 +08:00 |
slzhou
|
56cc2c06f9
|
fix: udf aggregate function handle does not exist
|
2022-05-14 18:28:24 +08:00 |
slzhou
|
a58a0e79c6
|
fix: uv task error when the pipe is NULL
|
2022-05-14 18:09:44 +08:00 |
slzhou
|
7161919086
|
fix: finish uv task when event loop start uv task failed
|
2022-05-14 17:20:22 +08:00 |
slzhou
|
2a42fc66bc
|
fix: udf task to queue whenever uv_write result
|
2022-05-14 16:51:16 +08:00 |
slzhou
|
8d1ddbd877
|
fix: remove from task queue before signalling caller
|
2022-05-14 15:42:21 +08:00 |
slzhou
|
b53e7192fc
|
fix: core caused by invalid total rows of data block when executing sql like select udf2(f2) from udf.t2 group by 1-udf1(f1)
|
2022-05-14 09:31:30 +08:00 |
Shengliang Guan
|
253651a521
|
Merge pull request #12449 from taosdata/feature/3.0_glzhao
feat(query): add sample function using reservoir sampling method
|
2022-05-13 23:27:07 +08:00 |
Ganlin Zhao
|
c1666e7e02
|
feat(query): add sample function
|
2022-05-13 22:08:37 +08:00 |
Ganlin Zhao
|
18ac565a93
|
feat(query): add sample function
|
2022-05-13 22:06:22 +08:00 |
Shengliang Guan
|
2258916b1d
|
test: recover tmq/basic5.py
|
2022-05-13 22:02:55 +08:00 |
shenglian-zhou
|
095217a204
|
Merge pull request #12445 from taosdata/feature/udf
feat: fix erros of square int overflow and block capacity set before filling a new column
|
2022-05-13 21:59:02 +08:00 |
afwerar
|
0815843e94
|
fix(os): make taosd.exe taos.exe run on windows.
|
2022-05-13 21:42:16 +08:00 |
Ganlin Zhao
|
315a875208
|
feat(query): add sample function
|
2022-05-13 21:36:33 +08:00 |
Ganlin Zhao
|
d24254fb84
|
feat(query): add sample function
|
2022-05-13 21:13:35 +08:00 |
slzhou
|
a6900a7e96
|
fix : udf2 overflow for large int multiply large int
|
2022-05-13 21:02:32 +08:00 |
Shengliang Guan
|
d4e0a27ef3
|
Merge remote-tracking branch 'origin/3.0' into feature/dnode
|
2022-05-13 17:46:51 +08:00 |
Haojun Liao
|
86031c1985
|
fix(query): add the repeat scan flag check during aggregate executor.
|
2022-05-13 12:17:09 +08:00 |
Shengliang Guan
|
992a64e7c8
|
Merge remote-tracking branch 'origin/3.0' into feature/dnode
|
2022-05-13 11:09:02 +08:00 |
shenglian-zhou
|
c5faaca906
|
Merge pull request #12407 from taosdata/feature/udf
fix: udf2 support int and double data type
|
2022-05-13 09:49:13 +08:00 |
Haojun Liao
|
e468363ce1
|
Merge pull request #12409 from taosdata/feature/3.0_liaohj
fix(query): close read fd when finishing scanning data files.
|
2022-05-13 01:25:38 +08:00 |
Haojun Liao
|
aae019d18a
|
fix(query): close read fd when finishing scanning data files.
|
2022-05-13 00:32:02 +08:00 |
Haojun Liao
|
3678aa9094
|
Merge pull request #12391 from taosdata/feature/3.0_liaohj
fix(query): fix special pseudo column caused taosd crash.
|
2022-05-12 23:49:21 +08:00 |
slzhou
|
73d55e7c6b
|
fix: udf2 support int and double data type
|
2022-05-12 22:58:49 +08:00 |
Ganlin Zhao
|
8b9dd500bd
|
Merge pull request #12401 from taosdata/feature/3.0_glzhao
feat(query): add mavg function
|
2022-05-12 22:53:36 +08:00 |
Ganlin Zhao
|
1e503061ed
|
feat(query): add mavg function
|
2022-05-12 21:25:53 +08:00 |
Ganlin Zhao
|
8d21c662aa
|
feat(query): add mavg function
|
2022-05-12 21:16:34 +08:00 |
Ganlin Zhao
|
818e3636d6
|
feat(query): add mavg function
|
2022-05-12 20:40:17 +08:00 |
Haojun Liao
|
69e9f6972c
|
other: add some missing modification files to git.
|
2022-05-12 17:47:01 +08:00 |
Haojun Liao
|
4eaf1f5bb6
|
refactor: do some internal refactor.
|
2022-05-12 17:34:07 +08:00 |
Shengliang Guan
|
47970ff8a4
|
refactor: node mgmt
|
2022-05-12 17:30:57 +08:00 |
Shengliang Guan
|
dd87e8f7b9
|
refactor: node mgmt
|
2022-05-12 17:12:40 +08:00 |
slzhou@taodata.com
|
278f5262ce
|
Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf
|
2022-05-12 16:50:26 +08:00 |
shenglian-zhou
|
3516696a66
|
Merge pull request #12382 from taosdata/feature/udf
feature(udf): follow tsdb_code error convention
|
2022-05-12 16:50:03 +08:00 |
slzhou@taodata.com
|
8927155013
|
feat:add udf dedicated errors
|
2022-05-12 16:49:31 +08:00 |
slzhou@taodata.com
|
c95d3cdb36
|
feature(udf):error follows tsdb_code standard
|
2022-05-12 15:43:32 +08:00 |
shenglian-zhou
|
7357c80720
|
Merge pull request #12377 from taosdata/feature/udf
feature(udf): column has member hasNull
|
2022-05-12 15:39:21 +08:00 |
Ganlin Zhao
|
aba7e4a6f6
|
Merge pull request #12376 from taosdata/feature/3.0_glzhao
feat(query): add csum function
|
2022-05-12 15:18:49 +08:00 |
slzhou@taodata.com
|
d7bd682237
|
column has member hasNull
|
2022-05-12 14:42:57 +08:00 |
Ganlin Zhao
|
71e43677f7
|
feat(query): add csum function
|
2022-05-12 14:38:56 +08:00 |
Xiaoyu Wang
|
385068caf9
|
Merge pull request #12350 from taosdata/feature/3.0_wxy
fix: some problems of parser
|
2022-05-11 20:33:42 +08:00 |
Xiaoyu Wang
|
510283290d
|
fix: some problems of parser
|
2022-05-11 19:49:04 +08:00 |
Xiaoyu Wang
|
41e36dddb7
|
fix: some problems of parser
|
2022-05-11 19:03:59 +08:00 |
Ganlin Zhao
|
93b0cd8047
|
Merge pull request #12343 from taosdata/feature/3.0_glzhao
feat(query): add state_duration function
|
2022-05-11 17:02:24 +08:00 |
Ganlin Zhao
|
977c3fe400
|
feat(query): add state_duration function
|
2022-05-11 15:42:31 +08:00 |
Ganlin Zhao
|
6a94ad7346
|
Merge pull request #12321 from taosdata/feature/3.0_glzhao
feat(query): add state_count function
|
2022-05-11 09:50:56 +08:00 |
Haojun Liao
|
a4015fdb2c
|
Merge pull request #12315 from taosdata/feature/3.0_liaohj
refactor: do some internal refactor.
|
2022-05-10 22:07:02 +08:00 |
shenglian-zhou
|
f718be6ec1
|
Merge pull request #12320 from taosdata/feature/udf
feature(udf): disable udfd starting
|
2022-05-10 22:04:20 +08:00 |
Xiaoyu Wang
|
8975c6e042
|
Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy
|
2022-05-10 21:00:18 +08:00 |
Xiaoyu Wang
|
2745113a77
|
fix: some problems of parser
|
2022-05-10 20:59:10 +08:00 |
Ganlin Zhao
|
46c9e0f1c2
|
refactor code format
|
2022-05-10 20:51:31 +08:00 |
Ganlin Zhao
|
57cd462000
|
Merge branch '3.0' into feature/3.0_glzhao
|
2022-05-10 20:44:57 +08:00 |
Ganlin Zhao
|
3c7b971841
|
feat(query): add state_count function
|
2022-05-10 20:35:54 +08:00 |
Ganlin Zhao
|
85adb8611c
|
feat(query): add state_count function
|
2022-05-10 20:32:03 +08:00 |
slzhou
|
fe99a19687
|
feature(udf):start udfd can be disabled
|
2022-05-10 20:24:01 +08:00 |
slzhou
|
adceacd59b
|
feature(udf):start udfd can be disabled
|
2022-05-10 20:07:46 +08:00 |
Haojun Liao
|
8c47b350dc
|
fix(query): Pseudo time window result expands to multiple rows in case of multiple rows aggregates function existing.
|
2022-05-10 18:21:54 +08:00 |
shenglian zhou
|
8dda49ac17
|
Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf
|
2022-05-10 13:01:06 +08:00 |
shenglian zhou
|
2ba5fdc36f
|
fix: block extraction null set error
|
2022-05-10 11:22:31 +08:00 |
Ganlin Zhao
|
65fe36ffb4
|
Merge pull request #12295 from taosdata/feature/3.0_glzhao
fix(query): fix histogram normalized result incorrect for super table
|
2022-05-10 11:11:25 +08:00 |
Ganlin Zhao
|
7213548847
|
fix(query): fix histogram normalized result incorrect for super table
TD-15407
|
2022-05-10 10:15:33 +08:00 |
Ganlin Zhao
|
15055fe9e3
|
Merge pull request #12281 from taosdata/feature/3.0_glzhao
feat(query): add leastsquares function
|
2022-05-10 10:13:51 +08:00 |
Shengliang Guan
|
fe4c1eed05
|
Merge pull request #12283 from taosdata/feature/3.0_wxy
fix: problem of parser and planner
|
2022-05-10 09:35:32 +08:00 |
Haojun Liao
|
f872ef975f
|
Merge pull request #12274 from taosdata/feature/3.0_liaohj
enh(query):support selectivity function and normal column data query.
|
2022-05-09 23:36:51 +08:00 |
slzhou
|
623a71d34c
|
feature(udf):move start/stop udfd out of dnode management preparation
|
2022-05-09 21:39:41 +08:00 |
Xiaoyu Wang
|
4c914c2960
|
fix: problem of parser and planner
|
2022-05-09 20:20:05 +08:00 |
Ganlin Zhao
|
cfa77a2d39
|
feat(query): add leastsquares function
|
2022-05-09 20:04:03 +08:00 |
Ganlin Zhao
|
79570c93a3
|
feat(query): add leastsquares function
|
2022-05-09 19:37:16 +08:00 |
Haojun Liao
|
55d11618d0
|
fix(query): fix float value min/max query error.
|
2022-05-09 19:13:50 +08:00 |
Haojun Liao
|
ea18b8a7dc
|
feature(query): bottom function is available.
|
2022-05-09 17:48:23 +08:00 |