dapan1121
c18da7f273
Merge remote-tracking branch 'origin/3.0' into enh/TD-32190
2024-09-30 09:55:09 +08:00
dapan1121
65985c7aaa
enh: add tag scan test
2024-09-27 18:08:36 +08:00
54liuyao
df8cfa65c2
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-27 11:37:37 +08:00
xsren
18bc5a048f
taosStrndup
2024-09-26 14:46:53 +08:00
54liuyao
d44529e62f
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-25 15:12:15 +08:00
Jing Sima
ad7b2ddc1b
enh:[TD-32158] Free memory only when function need cleanup.
2024-09-24 11:35:36 +08:00
Jing Sima
122b707ac8
enh:[TD-32158] Free memory allocated in function setup.
2024-09-24 11:35:36 +08:00
Pan Wei
04663cb4b3
Merge pull request #28011 from taosdata/enh/TD-31691
...
Enh/td 31691
2024-09-23 08:54:34 +08:00
lyh250-666
69d62454d7
enh:modify error code passing
2024-09-20 17:48:04 +08:00
54liuyao
e53fafc08f
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-20 15:31:03 +08:00
Hongze Cheng
80152c1e48
Merge pull request #27948 from taosdata/enh/TD-32144-3.0
...
enh: check memory allocation
2024-09-20 09:04:34 +08:00
Pan Wei
db77a7dc66
Merge pull request #27954 from taosdata/fix/deakLock
...
fix: deak lock
2024-09-19 16:29:59 +08:00
54liuyao
813cab6e33
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-19 14:45:38 +08:00
xsren
bffba8e440
fix: deak lock
2024-09-19 10:22:25 +08:00
Jing Sima
de16ac5faa
enh:[TD-32128] Haneld return value of memory alloc functions.
2024-09-19 08:15:19 +08:00
kailixu
1b53ba2df4
enh: check memory allocation
2024-09-18 23:17:08 +08:00
54liuyao
c4566f98b8
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-18 16:26:37 +08:00
Pan Wei
4c459155f1
Merge pull request #27890 from taosdata/fix/TD-31870/os4
...
fix: os return
2024-09-18 11:03:44 +08:00
xsren
f684e12c27
pointer check
2024-09-14 18:11:36 +08:00
xsren
1b48080a94
fix: os return
2024-09-14 11:47:20 +08:00
xsren
a91085eef6
fix: void
2024-09-13 16:14:40 +08:00
54liuyao
de44c5dc5e
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-13 11:13:04 +08:00
54liuyao
aa80aa39bc
fix(query):use window start key when ts column is null
2024-09-12 15:34:57 +08:00
Pan Wei
c8b087fc2d
Merge pull request #27776 from taosdata/fix/3.0/TS-5839
...
fix:[TS-5839] Fix crash when use last function on a column with all null value with partition subclause.
2024-09-12 09:13:23 +08:00
54liuyao
7c32cc7796
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-12 09:08:40 +08:00
Pan Wei
b795638456
Merge pull request #27760 from taosdata/fix/3.0/TD-31974
...
fix:[TD-31974] fix memory leak when error occurs after mode function init
2024-09-12 08:44:08 +08:00
Pan Wei
8b7b5b7c6d
Merge pull request #27752 from taosdata/fix/TD-31870/OSFileRetCode
...
osDir
2024-09-11 17:52:14 +08:00
Jing Sima
d670778802
fix:[TD-31974] fix memory leak when error occurs after mode function init.
2024-09-11 14:47:14 +08:00
Jing Sima
64bb49e0db
fix:[TS-5839] Fix crash when use last function on a column with all null value with partition subclause.
2024-09-11 13:49:06 +08:00
xsren
aea768d2c0
osFile
2024-09-10 17:40:19 +08:00
54liuyao
77ffe89bf6
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-10 10:22:20 +08:00
Jing Sima
4a8bbc36bd
feat:[TS-4893] refactor of rand function.
2024-09-09 18:48:24 +08:00
Jing Sima
a249bef104
feat:[TS-4893] Add random and support use min/max on string column.
2024-09-09 18:48:24 +08:00
Pan Wei
1238960c75
Merge pull request #27750 from taosdata/fix/TD-31946.2
...
fix: percentile empty result issue
2024-09-09 15:46:27 +08:00
Hongze Cheng
8c64b1049c
Merge pull request #27749 from taosdata/enh/TD-31803-11
...
enh: error handle in message encode and decode
2024-09-09 14:47:14 +08:00
Pan Wei
07424b7a06
Merge pull request #27719 from taosdata/fix/TD-31790/errCheck
...
fix: distinguish the calling scenarios of the metaGetTbTSchema function
2024-09-09 14:10:20 +08:00
Hongze Cheng
a260a5f2f7
enh: error handle in message encode and decode
2024-09-09 11:49:44 +08:00
dapan1121
8308a42c0c
fix: percentile empty result issue
2024-09-09 11:31:32 +08:00
54liuyao
88d01d8980
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-09 11:21:23 +08:00
Haojun Liao
88b0d10dfe
Merge pull request #27696 from taosdata/fix/TD-31923/crash
...
Fix/td 31923/crash
2024-09-06 18:02:01 +08:00
Haojun Liao
9150c0b07e
Merge pull request #27673 from taosdata/enh/TD-31902
...
enh:[TD-31902] Remove void.
2024-09-06 15:46:29 +08:00
xsren
3fb89fb814
fix: distinguish the calling scenarios of the metaGetTbTSchema function
2024-09-06 14:16:58 +08:00
54liuyao
7501c5a865
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-06 13:26:23 +08:00
xsren
aa526fe13a
unused code
2024-09-06 11:54:22 +08:00
Pan Wei
8da5b891f5
Merge pull request #27691 from taosdata/fix/3.0/TD-31909
...
fix:[TD-31909] Avoid double free when error occurs in mode function.
2024-09-06 11:21:08 +08:00
Jing Sima
dde0ad1e54
enh:[TD-31902] Remove void.
2024-09-06 10:38:10 +08:00
xsren
0a118243ea
fix: free invalid hash
2024-09-06 09:38:23 +08:00
xsren
46355de7f9
fix: crash
2024-09-05 17:30:46 +08:00
Jing Sima
ede112d39d
fix:[TD-31909] Avoid double free when error occurs in mode function.
2024-09-05 17:25:31 +08:00
Jing Sima
87130db0e4
fix:[TD-31889] extend result buf size for percentile function to handle large double value.
2024-09-04 18:33:14 +08:00
54liuyao
f5b6e800f3
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-04 10:56:36 +08:00
Jing Sima
02dd9c9160
fix:[TD-31818] fix memory leak allocated by mode function.
2024-09-03 17:34:23 +08:00
54liuyao
aaad472f58
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-03 13:38:07 +08:00
lyh250-666
28d0dc8e5b
modify error code pass in libs/catalog/, libs/function/ and libs/command/
2024-09-02 22:59:49 +08:00
54liuyao
f1cbd426d6
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-09-02 13:53:32 +08:00
Jing Sima
46b1d9eb07
fix:[TD-31818] fix memory leak allocated by mode function.
2024-08-31 19:48:11 +08:00
54liuyao
9d8e8892b4
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-30 16:04:09 +08:00
dapan1121
0953983d26
fix: validate to_iso8601 parameters
2024-08-30 09:16:41 +08:00
xsren
95f283485a
fix: tudf lock
2024-08-29 10:09:42 +08:00
xsren
4b872f849c
fmFuncDynDataRequired: only return state
2024-08-27 17:07:13 +08:00
xsren
3b1a1ed2cd
udf function required data load
2024-08-27 13:25:33 +08:00
xsren
809932b283
fix: reqStatus
2024-08-27 12:52:50 +08:00
xsren
c60ea644e3
fix: return
2024-08-27 11:49:28 +08:00
54liuyao
7efb648a5f
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-23 14:49:32 +08:00
xsren
3fb4dbbec4
fix: check the result of array init
2024-08-22 17:12:14 +08:00
54liuyao
3583237942
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-22 14:47:16 +08:00
xsren
b06d16162d
fix: tudf crash
2024-08-20 15:21:14 +08:00
sima
5fb431aff4
enh:[TD-31525] Remove ASSERT in libs/function.
2024-08-19 16:58:13 +08:00
sima
3c3507f283
fix:[TD-31503] Return null when expr in timediff is null, and use ms as default time_unit when time_unit is null.
2024-08-16 15:54:07 +08:00
sima
f2dcd3f16a
fix:[TD-31470] Fix replace function wrong length.
2024-08-15 15:29:27 +08:00
54liuyao
141de6e19b
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-14 19:21:59 +08:00
sima
1d77ea76e8
feat:[TS-4893] Backward Compatibility.
2024-08-14 09:19:25 +08:00
sima
a54019211f
feat:[TS-4893] Support MYSQL functions.
...
Add more functions:
- Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
- String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
- Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
- Aggregate Functions: VAR_POP().
Modify some functions:
- ROUND(): support round to given decimal places.
- CHAR_LENGTH(): support calculate multi-byte character's length.
- TIMEDIFF(): result will be negative when expr1 < expr2.
- STDDEV(): add alias name STDDEV_POP().
- SUBSTR(): add alias name SUBSTRING().
support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
sima
80bb0d7cf8
fix:[TD-31405] Return correct error code in spread function.
2024-08-13 14:41:19 +08:00
54liuyao
fd0f117544
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-12 09:37:43 +08:00
Haojun Liao
73308bcdb5
Merge pull request #27029 from taosdata/fix/3.0/TS-5259
...
cancel md5 generation for performance when creating physical plan
2024-08-09 13:42:14 +08:00
54liuyao
3491396d92
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-08 19:30:46 +08:00
dapan1121
905d1eb762
Merge pull request #26972 from taosdata/fix/TD-29679/l2cache
...
Fix/td 29679/l2cache
2024-08-08 16:51:44 +08:00
wangjiaming0909
5d4569ce75
replace sprintf with strcat
2024-08-08 08:59:16 +08:00
xsren
bec6dfe16b
return value
2024-08-07 16:51:39 +08:00
yihaoDeng
66753111c9
fix return error
2024-08-06 16:52:28 +08:00
54liuyao
0913802c33
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-06 16:25:04 +08:00
sima
eec71bcd84
fix:[TD-31079] Reduce memory usage of percentile function.
2024-08-05 17:26:25 +08:00
54liuyao
1309749c92
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-08-02 13:22:33 +08:00
xsren
db47d2f8ab
fix: udfd close
2024-08-01 14:05:28 +08:00
54liuyao
063b492f72
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-07-30 15:13:15 +08:00
Haojun Liao
d89dac8697
other: merge 3.0
2024-07-29 18:16:04 +08:00
54liuyao
0bd8c57049
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-07-29 09:24:40 +08:00
dapan1121
59c3d3c5e5
Merge pull request #26818 from taosdata/enh/TD-30996-fix
...
enh:[TD-30996] Handling return value
2024-07-29 08:51:01 +08:00
Haojun Liao
878d77fc7f
fix(query): check return value.
2024-07-29 01:42:30 +08:00
Haojun Liao
18f5b323c9
other: merge 3.0
2024-07-28 23:53:52 +08:00
dapan1121
d82c945663
Merge pull request #26813 from taosdata/enh/code/TD-30977
...
return value: udf
2024-07-28 21:45:31 +08:00
sima
77f97d2a6d
enh:[TD-30996] Handling return value
2024-07-28 18:29:57 +08:00
Haojun Liao
75c121c18a
fix(query): check return value.
2024-07-28 14:29:56 +08:00
Haojun Liao
7be2ecbe1f
fix(common): check the return value.
2024-07-27 18:55:34 +08:00
xsren
911e6380b9
return value: udf
2024-07-27 18:33:08 +08:00
wangjiaming0909
6d283470fc
util simplehash/tpagedbuf/losertree add ret check
2024-07-26 17:57:29 +08:00
wangjiaming0909
d35bdba180
fix parser/planner/nodes ret check ci
2024-07-26 17:57:29 +08:00
wangjiaming0909
1994c3339b
nodes add ret check
2024-07-26 17:55:48 +08:00
54liuyao
b5f432bd50
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-07-26 16:44:18 +08:00
Hongze Cheng
eaa3634764
enh: refactor error code
2024-07-25 08:51:19 +08:00
laiyongtao
dd467c23e9
Merge branch '3.0' into fix-udfd-env-var-cfg
2024-07-24 16:42:52 +08:00
sima
dc23446d6b
enh:[TD-31063] use properer errcode.
2024-07-23 15:37:17 +08:00
sima
0473225362
enh:[TD-31063] Handling return value of serialize/deserialize.
2024-07-23 15:37:17 +08:00
sima
de0fa610f8
enh:[TD-31043] Handling return value of taoshash and taosarray
2024-07-23 15:37:17 +08:00
sima
1285100f68
enh:[TD-31043] Handling return value in functionMgt.c
2024-07-23 15:37:17 +08:00
sima
06431b1249
enh:[TD-31043] Handling return value in tminmax.c
2024-07-23 15:37:17 +08:00
sima
8b50b282b4
enh:[TD-31043] Handling return value in tavgfunction.c
2024-07-23 15:37:17 +08:00
sima
2a6a1b620c
enh:[TD-31043] Handling return value in tpercentile.c
2024-07-23 15:37:17 +08:00
sima
ed892e5061
enh:[TD-31043] Handling return value in thistogram.c
2024-07-23 15:37:17 +08:00
sima
6a9441528a
enh:[TD-31043] Handling return value in builtinsimpl.c
2024-07-23 15:37:17 +08:00
sima
efa518f624
enh:[TD-31043] Handling return value in builtins.c
2024-07-23 15:37:17 +08:00
xsren
2a675ccf6b
group const value func
2024-07-22 11:19:11 +08:00
xsren
b72792e20e
unuesd code
2024-07-22 08:48:26 +08:00
xsren
ebe0074da4
fix: interp crash
2024-07-22 00:06:47 +08:00
xsren
960103a6ef
fix: mem leak
2024-07-18 13:58:47 +08:00
xsren
e8218f7f63
fix: set fqdn for udfd
2024-07-18 12:18:17 +08:00
xsren
24183d3f86
fix: start udfd with env var
2024-07-18 09:58:23 +08:00
54liuyao
6c84d926ab
Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837
2024-07-12 11:04:44 +08:00
54liuyao
1c9011e820
stream time slice
2024-07-12 11:03:45 +08:00
sima
c25bc3f2ca
fix:[TS-5150] Fix stddev wrong result with null type.
2024-07-12 09:19:46 +08:00
dapan1121
e4c624f286
Merge pull request #26489 from taosdata/fix/3.0/TD-30819
...
feat:[TD-30819] Reduce memory usage when use percentile with interval.
2024-07-11 13:35:39 +08:00
sima
f17c535ca0
feat:[TD-30819] Reduce memory usage when using percentile with interval.
2024-07-10 19:43:19 +08:00
factosea
81b62f4a15
fix: use int64 for timestamp
2024-07-09 18:47:33 +08:00
factosea
163b31a4ee
fix: type overflow
2024-07-09 14:48:21 +08:00
factosea
20f4eda56d
fix: tinyint
2024-07-09 07:05:40 +08:00
factosea
3e320ebdf1
build failed
2024-07-08 23:22:41 +08:00
factosea
28dc3c85ea
type overflow
2024-07-08 20:38:23 +08:00
factosea
593d8adc42
test case
2024-07-04 15:56:12 +08:00
factosea
5f0ac46029
diff
2024-07-04 11:04:59 +08:00
sima
5685346d78
fix:[TD-30730] Modify precision rules for input parameters of function to_iso8601 and add test.
2024-06-27 08:42:59 +08:00
Haojun Liao
df003cca3c
Merge pull request #26197 from taosdata/fix/3_liaohj
...
fix(util): uncomment the timestamp decode function with AVX2 instructions
2024-06-20 16:16:52 +08:00
Haojun Liao
f353636136
refactor: do some internal refactor.
2024-06-19 15:08:25 +08:00
Haojun Liao
04281bcd07
fix(util): uncomment the timestamp decode function with AVX2 instructions, and do some internal refactor.
2024-06-19 15:06:09 +08:00
dapan1121
52060f5fba
Merge pull request #26144 from taosdata/fix/TD-30039/unexpectedUdfCreate
...
Fix/td 30039/unexpected udf create
2024-06-17 08:35:02 +08:00
dapan1121
e34a8b48df
Merge pull request #26008 from taosdata/fix/TS-4833/dataloaded
...
partition interval and limimt, dataload error
2024-06-17 08:32:19 +08:00
factosea
19f6766c9a
fix: blockAgg
2024-06-15 18:08:25 +08:00
factosea
a707a2921b
fix: udfScalarProcFunc exception
2024-06-13 17:49:58 +08:00
factosea
d9043d6984
fix: unexpected udf function
2024-06-13 16:57:49 +08:00
dapan1121
8bbdfacca0
Merge pull request #26123 from taosdata/fix/TD-30579
...
fix:[TD-30579]compile error in macOS 14.5 and m3 chip
2024-06-13 13:52:28 +08:00
Jeff Tao
ad0dd88ba1
fix:[TD-30579]compile error in macOS 14.5 and m3 chip
2024-06-12 22:31:08 +08:00
dapan1121
7cc3eeee3d
fix: first dynamic data filter issue
2024-06-11 15:03:17 +08:00
“happyguoxy”
6d98a56778
fix group count
2024-06-07 16:49:29 +08:00
kailixu
585ec14fea
feat(grant): support industry edition
2024-05-23 17:17:18 +08:00
dmchen
a297a38818
fix/TD-29772
2024-05-21 01:57:33 +00:00
dmchen
939183d3df
fix/TD-29772
2024-05-13 01:56:49 +00:00
t_max
f030af3aab
fix: build fails on macOS and Windows
2024-05-11 14:59:05 +08:00
dapan1121
7809533c79
enh: eliminate not null condition
2024-05-06 13:45:16 +08:00
dapan1121
90c0bb53c9
enh: eliminate cond
2024-05-06 09:30:55 +08:00
wangjiaming0909
cb008f18dc
usable tsma
2024-04-29 09:18:40 +08:00