Ganlin Zhao
cdb3453812
add show local variables scope
2023-07-14 14:38:35 +08:00
dapan1121
aca9c5fe19
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-14 13:31:07 +08:00
Hongze Cheng
1fad69df3b
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-07-14 10:13:15 +08:00
dapan1121
9bf7180074
Merge pull request #21969 from taosdata/enh/TD-23769-3.0
...
enh: rsma stream state adaption
2023-07-13 19:19:37 +08:00
Haojun Liao
e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
...
other: merge main
2023-07-13 17:55:28 +08:00
Haojun Liao
e2ae868377
Merge pull request #22032 from taosdata/mark/tmq
...
fix:set firset version to reqOffset of response
2023-07-13 16:35:21 +08:00
Haojun Liao
f41bcd73b0
other: merge main.
2023-07-13 11:02:09 +08:00
Hongze Cheng
3fc282f035
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-07-12 11:57:19 +08:00
kailixu
8cb6356b99
chore: more code
2023-07-12 10:47:02 +08:00
kailixu
8c8bcabdd4
Merge branch '3.0' into enh/TD-23769-3.0
2023-07-12 09:11:34 +08:00
dapan1121
a42bd9e478
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-07-11 19:34:39 +08:00
dapan1121
185071fae9
enh: add group cache func
2023-07-11 19:34:03 +08:00
wangmm0220
cb62d4cb97
fix:set firset version to reqOffset of response
2023-07-11 14:49:53 +08:00
wangjiaming0909
1d7515213b
feat: 1. add limit for diskBasedBuf
...
2. use referenced tuple before actually pushing into pq
3. use limitInfo instead of maxRows in sort pyhsical node
2023-07-11 14:16:20 +08:00
kailixu
d37a760655
Merge branch '3.0' into enh/TD-23769-3.0
2023-07-11 13:50:17 +08:00
Shungang Li
8f91da24e4
fix: type convert failure returns errcode
...
TSDB_CODE_SCALAR_CONVERT_ERROR:
"Cannot convert to specific type"
2023-07-11 10:20:50 +08:00
Haojun Liao
3ffdbe923d
other: merge 3.0
2023-07-11 09:12:57 +08:00
wangmm0220
9648117454
fix:can not do assignment if in tsdb mode
2023-07-10 11:28:30 +08:00
Shungang Li
8de31219b4
fix: type convert failure returns errcode
...
TSDB_CODE_SCALAR_CONVERT_ERROR:
"Cannot convert to specific type"
2023-07-10 09:29:29 +08:00
Hongze Cheng
090ca39132
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-07-07 10:38:04 +08:00
kailixu
cb8b10f6a2
Merge branch '3.0' into enh/TD-23769-3.0
2023-07-07 10:19:43 +08:00
wangjiaming0909
2de37b9426
refine select interval from sys table error msg
2023-07-06 13:52:52 +08:00
Benguang Zhao
9b477eed81
enh: terminate on failure to recover WAL from writing errors, or to commit vnode
2023-07-05 17:54:56 +08:00
kailixu
d093b0e20f
chore: merge 3.0
2023-07-05 16:45:12 +08:00
Hongze Cheng
214c92264c
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-07-03 11:27:26 +08:00
dapan1121
3519e9170e
Merge remote-tracking branch 'origin/main' into 3.0
2023-06-29 11:13:45 +08:00
wade zhang
80130b2691
Merge pull request #21851 from luckeverda/fix/TD-24473
...
fix/TD-24542/TD-24484/TD-24473
2023-06-29 10:42:53 +08:00
Shungang Li
308ba7a02e
fix: type geometry predicates support
...
support "=, <>, is null, is not null, in, not in"
2023-06-29 09:44:51 +08:00
wangjiaming0909
57ddb3437d
feature: optimize order by limit using priority queue
2023-06-27 17:50:50 +08:00
wangmm0220
7e38ef7091
fix:add limit for topic and group num
2023-06-27 17:44:51 +08:00
Haojun Liao
1ad05a06d6
Merge branch '3.0' into enh/tsdb_optimize
2023-06-27 11:46:37 +08:00
dapan1121
4dae9f4eff
merge main to 3.0
2023-06-26 18:43:00 +08:00
dapan1121
c4d630aaa1
fix: merge tree free rc issue
2023-06-21 13:58:07 +08:00
Hongze Cheng
6d2ce5cd39
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-06-19 14:13:08 +08:00
Benguang Zhao
495ae49752
fix: refreshMeta on invalid schema of tb epSet in doAsyncQuery
2023-06-16 15:41:52 +08:00
wade zhang
d5f37359f4
Merge pull request #21722 from taosdata/fix/TD-24761
...
fix(tsdb/cache): rewrite cache update to fix cpu usage
2023-06-16 11:52:02 +08:00
Minglei Jin
968e3cf1ea
lru/applyF: fix ret value
2023-06-16 10:00:17 +08:00
dapan1121
575c48212a
Merge pull request #21721 from taosdata/fix/TD-24707
...
fix: forbid system table functions
2023-06-15 18:52:33 +08:00
Minglei Jin
158ae209bf
cache/lru: new applyF API for tlrucache
2023-06-15 16:34:51 +08:00
wangmm0220
22776e60d5
fix:control memory size if consumer group is too much
2023-06-15 14:51:04 +08:00
Ganlin Zhao
e79d63d766
add error code
2023-06-14 13:34:25 +08:00
Hongze Cheng
48ea3963e7
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-06-14 13:12:31 +08:00
wangmm0220
d8d6b6dd21
Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-24749
2023-06-13 15:15:05 +08:00
wangmm0220
8a81278024
fix:load pHandle if necessary wher tq restore
2023-06-13 15:14:11 +08:00
Hongze Cheng
7baeabc6b9
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-06-13 13:21:12 +08:00
Benguang Zhao
3689b41f3a
Merge branch '3.0' into FIX/TD-24182-3.0
2023-06-12 09:39:49 +08:00
Hongze Cheng
91c8391bff
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-06-08 09:53:57 +08:00
wade zhang
e12af9327e
Merge pull request #21612 from luckeverda/geo
...
fix: compress core by tDataTypes
2023-06-06 14:20:45 +08:00
Shungang Li
472665e4b1
fix: compress core by tDataTypes
2023-06-06 13:06:53 +08:00
Benguang Zhao
ae26f701ae
fix: ignore TSDB_CODE_MND_TRANS_SYNC_TIMEOUT on updating trans
2023-06-02 18:49:15 +08:00
Hongze Cheng
33afb08e5c
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-06-02 14:40:01 +08:00
Haojun Liao
5301c5756a
other: merge main into 3.0.
2023-06-01 09:29:18 +08:00
Hongze Cheng
b479a0a06b
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-29 21:46:26 +08:00
dapan1121
94c3569a27
Merge pull request #21512 from wangjiaming0909/fix/3.0/TS-3457
...
fix: page buffer cache flush wrong bytes of data into disk
2023-05-29 16:55:23 +08:00
kailixu
f984e67eaa
fix(query): invalid buffer page
2023-05-29 16:04:35 +08:00
wangjiaming0909
5e2d3939fe
fix: page buffer cache flush wrong bytes of data into disk
2023-05-29 15:19:34 +08:00
kailixu
3bbf5405c6
fix(query): invalid buf page
2023-05-29 14:36:29 +08:00
Hongze Cheng
880359ddb3
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-27 11:50:25 +08:00
dmchen
fcf2b58aad
check offline when force
2023-05-26 12:48:37 +08:00
Ganlin Zhao
a57da3bdf7
fix: fix log not compressed when logKeepDays set to positive value
2023-05-25 14:13:34 +08:00
Hongze Cheng
3c2a54ab4b
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-24 18:28:56 +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
Hongze Cheng
70c2d5ae49
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-19 17:57:02 +08:00
dapan1121
42c65898ea
Merge pull request #21335 from taosdata/feat/TD-22746
...
feat: support client meta control
2023-05-19 16:55:08 +08:00
dapan
efbc3fc7c6
fix: tmr in windows can't re-init issue
2023-05-19 14:19:29 +08:00
dapan1121
5183e5dd51
Merge pull request #21348 from wangjiaming0909/fix/3.0/TD-24227
...
fix: invalid memory access of buffer after vsnprintf
2023-05-19 11:18:38 +08:00
Hongze Cheng
66ea10755e
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-19 10:58:12 +08:00
wade zhang
1ade314043
Merge pull request #21325 from taosdata/feat/force-drop-dnode
...
Feat/force drop dnode
2023-05-19 09:23:54 +08:00
wade zhang
f3bdc855cb
refine an error messsage
2023-05-18 19:09:54 +08:00
Hongze Cheng
c7d1c88fbc
more code
2023-05-18 15:06:21 +08:00
dmchen
178a303832
change restore prompt message
2023-05-18 14:43:10 +08:00
dapan1121
cde094f72f
Merge pull request #21337 from taosdata/fix/TD-24214
...
fix: union clause error message
2023-05-18 10:39:19 +08:00
Hongze Cheng
c8ba83cb31
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-18 10:38:50 +08:00
wangjiaming0909
77cfab5093
fix: invalid memory access of buffer after vsnprintf
2023-05-18 07:35:36 +08:00
Hongze Cheng
4b5ea55d1a
more code
2023-05-17 16:46:10 +08:00
Haojun Liao
041ffa91bd
other: merge main.
2023-05-17 15:42:15 +08:00
dapan1121
28b098c824
fix: union clause error message
2023-05-17 10:47:11 +08:00
dmchen
9ff56a4e2b
unsafe command
2023-05-16 14:02:54 +08:00
Hongze Cheng
e783609ebd
more code
2023-05-16 09:36:32 +08:00
Hongze Cheng
c31b1034cd
Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-15 14:26:40 +08:00
dapan1121
198be9a7a6
fix: double decompress issue and memory leak issue
2023-05-15 10:13:20 +08:00
Haojun Liao
99148d6719
other: merge 3.0
2023-05-13 20:02:48 +08:00
dapan1121
3ca5559b37
fix: invalid read issue
2023-05-12 19:27:11 +08:00
kailixu
7643114216
Merge branch '3.0' into enh/TD-23582-3.0
2023-05-12 14:26:33 +08:00
Hongze Cheng
a15a1ab806
Merge branches 'enh/tsdb_optimize' and '3.0' of https://github.com/taosdata/TDengine into enh/tsdb_optimize
2023-05-12 14:14:45 +08:00
kailixu
0c9aa5bf3f
merge main
2023-05-12 13:55:22 +08:00
dapan1121
69795286fa
Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4
2023-05-12 13:46:16 +08:00
yihaoDeng
5708fcb5cb
Merge branch 'enh/3.0' into enh/rocksdbSstateMerge
2023-05-10 08:02:16 +00:00
dmchen
565c930f77
check 2 mnode
2023-05-10 15:50:54 +08:00
dmchen
9b29cfe831
fix/restore check
2023-05-10 14:36:52 +08:00
yihaoDeng
8356533eb1
Merge branch 'enh/standVer' into enh/rocksdbSstateMerge
2023-05-09 12:13:16 +00:00
cadem
843d606058
feat/restore dnode
2023-05-09 17:15:37 +08:00
yihaoDeng
55014aa003
Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge
2023-05-09 08:58:51 +00:00
wangjiaming0909
e22c62ffba
fix: data compare of signed and unsigned integers
2023-05-08 18:13:37 +08:00
yihaoDeng
8617af2a55
fix queue failure
2023-05-08 07:43:44 +00:00
Hongze Cheng
c9dc9b3170
more code
2023-05-08 10:27:55 +08:00
Yihao Deng
cb223acf82
Merge branch 'main' into enh/rocksdbSstate
2023-05-08 09:45:27 +08:00
Haojun Liao
a7691aba9c
fix(stream): set the correct queue item size.
2023-05-08 00:24:00 +08:00
yihaoDeng
08c3a63341
Merge branch 'enh/standVer' into enh/rocksdbSstateMerge
2023-05-06 12:37:54 +00:00
Haojun Liao
71a2886fa5
Merge pull request #21163 from taosdata/fix/TS-3277
...
fix:[TS-3277]table not exist if drop stable in another client when in…
2023-05-06 14:30:23 +08:00