Commit Graph

1701 Commits

Author SHA1 Message Date
Benguang Zhao 80518cf82b feat: support sql command show vnodes for all dnodes 2023-08-16 20:17:11 +08:00
wangmm0220 b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
wangmm0220 f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
dapan1121 143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
wangjiaming0909 cb027cc5c5 feat: support alter table add column with comment 2023-08-16 11:07:40 +08:00
Haojun Liao 63bc50a723
Merge pull request #22427 from taosdata/feature/rebuildIndex0
rebuild index at tag0
2023-08-16 09:47:43 +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
wangjiaming0909 dcbef83dea feat: support column comment 2023-08-15 16:30:02 +08:00
wangmm0220 7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
dapan1121 8fc0f1bbd6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-15 09:00:53 +08:00
dapan1121 6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
yihaoDeng cf9f9ab471 rebuild index at tag0 2023-08-14 08:01:20 +00:00
dapan1121 6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121 8987553d9c fix: remove ins_modules 2023-08-11 15:56:38 +08:00
Minglei Jin 33967b243b
Merge branch '3.0' into fix/TD-25010-3 2023-08-10 12:14:01 +08:00
kailixu 1ce8d06032 fix: proj col compare func 2023-08-10 09:57:57 +08:00
dapan1121 1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
slzhou 9b4bdd819b enhance: subquery can use expr primary key +/- value as primary key 2023-08-08 13:24:06 +08:00
Minglei Jin fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
dapan1121 0546bdceb2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-07 11:23:15 +08:00
wade zhang 3a59b95211
Merge pull request #22226 from taosdata/wjm/fix/TD-25374
fix: window fill ts range check with int64 overflow
2023-07-30 14:32:31 +08:00
dapan1121 b7126b9cc6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-28 18:01:11 +08:00
wangjiaming0909 6713882b48 fix: window fill ts range check with int64 overflow 2023-07-28 14:17:21 +08:00
Haojun Liao b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao 3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
dapan1121 4e5fbb52ee Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-26 13:56:46 +08:00
dapan1121 768a84647c
Merge pull request #22177 from taosdata/enh/TS-3625
fix: fix error message
2023-07-25 13:28:19 +08:00
Ganlin Zhao c9c7f99764 fix: fix error message 2023-07-25 09:49:23 +08:00
dapan1121 4f75eb5655 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-24 11:43:15 +08:00
wangmm0220 872222eb77 fix:[TD-25222] error in drop topic if topic num is too long 2023-07-17 19:52:07 +08:00
Ganlin Zhao 929db3d647 Merge branch '3.0' into enh/TS-2288 2023-07-17 16:09:07 +08:00
wangjiaming0909 ee7c8289aa fix: create sma index for us/ns database failed 2023-07-17 09:02:30 +08:00
Ganlin Zhao 7935d824b6 enhance show variables output 2023-07-14 13:57:02 +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 e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
Haojun Liao f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
dapan1121 75c250f503 fix: report permission error when all columns are invisiable 2023-07-12 11:49:57 +08:00
Ganlin Zhao 48bc377233 add show command for system db 2023-07-11 13:56:02 +08:00
Haojun Liao 3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
dapan1121 5b5b5648ac Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-07 19:32:50 +08:00
dapan1121 a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +08:00
dapan1121 328104a15a
Merge pull request #21971 from wangjiaming0909/fix/3.0/TD-25068
refine select interval from sys table error msg
2023-07-07 08:40:06 +08:00
wangjiaming0909 2de37b9426 refine select interval from sys table error msg 2023-07-06 13:52:52 +08:00
wangjiaming0909 1f71ce9409 feature: get last timestamp before create sma index 2023-07-06 10:33:22 +08:00
dapan1121 9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
dapan1121 8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
dapan1121 4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
Ganlin Zhao 77d2737f91 fix: fix userAlias issue when keepColumnName is set to true 2023-06-25 17:51:51 +08:00
wade zhang 254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Shungang Li b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
dapan1121 205e79ad28
Merge pull request #21736 from taosdata/fix/TD-24790
fix: fix fill double type column with scalar expression error
2023-06-15 18:45:40 +08:00
Ganlin Zhao 4e2eeed44c optimize 2023-06-15 16:31:36 +08:00
Haojun Liao 1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Ganlin Zhao 61d089496d fix: fix fill double type column with scalar expression error 2023-06-15 10:58:39 +08:00
dapan1121 e52c6aae8c
Merge pull request #21620 from taosdata/fix/TD-24567-3.0
fix: tsma query with order by _wstart/_wend
2023-06-15 09:06:57 +08:00
dapan1121 73d3c21e21 Merge remote-tracking branch 'origin/3.0' into feat/TD-24499 2023-06-13 11:44:41 +08:00
dapan1121 48b9cac75c fix: fix no data in db issue 2023-06-13 11:44:13 +08:00
kailixu 4cd039c38e chore: compare funcNode without aliasName 2023-06-12 16:47:03 +08:00
dapan1121 170182fecd feat: support fill history with sub request 2023-06-12 16:10:54 +08:00
kailixu f5d28cdcd1 chore: more check 2023-06-12 10:49:17 +08:00
kailixu b200fdba51 chore: node type 2023-06-12 10:44:01 +08:00
kailixu 58c43901ed chore: another logic 2023-06-12 09:14:38 +08:00
kailixu 1812b9e968 Merge branch '3.0' into fix/TD-24567-3.0 2023-06-09 09:55:47 +08:00
kailixu 576e3d1156 chore: erase duplicated func node for window logic node 2023-06-08 11:49:49 +08:00
dapan1121 958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +08:00
Ganlin Zhao 150e9ae296 make interp fill multiple col logic same as window fill 2023-06-07 16:55:03 +08:00
dapan1121 01683f6d92
Merge pull request #21527 from taosdata/feat/TS-3048
feat(query): support single point interp
2023-06-06 18:17:20 +08:00
kailixu bcac24b6b7 fix: tsma query with order by _wstart/_wend 2023-06-06 17:19:59 +08:00
Ganlin Zhao e8eadeb9f5 Merge branch '3.0' into feat/TS-3048 2023-06-06 14:55:12 +08:00
slzhou beb2b7b467 fix: rewrite count(*) to count(1) for temp table 2023-06-06 07:39:14 +08:00
Ganlin Zhao 005182c3c9 fix multiple interp issue 2023-06-05 16:40:48 +08:00
Ganlin Zhao 6b670b7f08 fix desc 2023-06-05 15:48:15 +08:00
Ganlin Zhao be34546edd enh: enable interp fill value support scarlar expression 2023-06-05 15:19:06 +08:00
dapan1121 ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
Haojun Liao d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
Haojun Liao 5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
wangmm0220 b8a4df4146 fix:avoid put tag to select if where condition is always true or false 2023-05-30 16:50:20 +08:00
Ganlin Zhao 1009c80967 fix bug 2023-05-30 14:21:32 +08:00
Ganlin Zhao b83a4b14e7 allow omit every clause for single point interp 2023-05-29 17:34:35 +08:00
wangmm0220 78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
dapan1121 60588af694 fix: add topic query 2023-05-29 13:33:51 +08:00
wangmm0220 208ba2ef4d fix:memory leak 2023-05-26 10:45:37 +08:00
dapan1121 e70c433a59 enh: support time line query from union/union all subquery 2023-05-26 08:44:23 +08:00
dapan1121 2713f4f6d4 feat: support create topic as stable with conditions 2023-05-25 19:01:58 +08:00
wangmm0220 357e86b994 feat:add tag filter for stable subscribe 2023-05-24 18:59:47 +08:00
wangmm0220 8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +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
dapan1121 4c88fd08de Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-05-23 09:25:37 +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
dapan1121 d801aaa2e6
Merge pull request #21352 from taosdata/fix/TD-24218
fix: fix interp in nested query and fill value with string issue
2023-05-20 14:10:26 +08:00
Ganlin Zhao a3ca23b688 forbid interp ignoring null value used for multiple cols 2023-05-19 16:43:39 +08:00
Haojun Liao 1e020a46c9 other: merge main. 2023-05-19 09:07:35 +08:00
Haojun Liao d4b0e102af fix:do some internal refactor. 2023-05-19 08:55:59 +08:00
Ganlin Zhao 0a41ba1573 add test cases 2023-05-18 18:48:00 +08:00
dapan1121 5ac91597b6
Merge pull request #21310 from wangjiaming0909/fix/TS-3398
fix: select <expr1>, <expr1##sth else> from ... return error data whe…
2023-05-18 10:07:06 +08:00
Ganlin Zhao 20684f873e fix interp in nested query report error 2023-05-17 17:49:07 +08:00
wangjiaming0909 789b0c7178 fix: select <expr1>, <expr1##sth else> from ... return error data when strlen(expr1) > TSDB_COL_NAME_LEN 2023-05-16 15:42:30 +08:00
dapan1121 cf7b4593e7 feat: add drop dnode unsafe command 2023-05-16 09:50:10 +08:00
Haojun Liao 99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao 236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao 1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
dapan1121 9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
kailixu f4d90fb9bb fix: column length check when update/add column 2023-05-11 20:59:07 +08:00
yihaoDeng 5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
dapan1121 eb7cd25e2e enh: support nest partition by clause 2023-05-10 14:34:41 +08: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
dapan1121 a8c65cd25a feat: support restore dnode clause 2023-05-09 19:19:14 +08:00
dapan1121 7ea23a33bc enh: optimize time line function validation 2023-05-09 16:37:08 +08:00
shenglian zhou 50feb64748 fix: add check nchar/varchar column length for normal table 2023-05-09 14:29:09 +08:00
slzhou 2f45a3dfdb fix: change variable name 2023-05-08 14:42:31 +08:00
yihaoDeng 08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
slzhou 04e9648d8e enhance: change variable name 2023-05-06 17:16:27 +08:00
slzhou 276e5daa8c fix: pseudo column function are treated as variable 2023-05-06 17:13:14 +08:00
shenglian zhou c8ac3a581e fix: forbid some stream computing 2023-05-06 15:50:38 +08:00
dapan1121 e798ef8645
Merge pull request #21168 from taosdata/fix/TD-23985
fix: having clause issues
2023-05-06 13:40:42 +08:00
Haojun Liao da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
dapan1121 47791dfe2f fix: group by validation issue 2023-05-06 11:02:20 +08:00
dapan1121 997be0a3ed fix: having clause issues 2023-05-05 17:04:36 +08:00
dapan1121 e889249c54 fix: grant no table specifed issue 2023-05-05 14:33:09 +08:00
dapan1121 3976504b47 fix: subtable grant is not allowed 2023-05-05 14:01:15 +08:00
Haojun Liao 23c49594b7 other: merge main. 2023-05-04 16:41:53 +08:00
dapan1121 70761fd959 enh: optimize tbname condition 2023-04-28 17:56:52 +08:00
liuyao 2984c5a758 merge main 2023-04-28 10:34:46 +08:00
dapan1121 51a1e07dbf
Merge pull request #21029 from taosdata/fix/TD-23797
fix: fix crash caused by deleting from system table
2023-04-26 17:48:58 +08:00
Ganlin Zhao 0ec4bbdfbc enable interp used with super table 2023-04-26 09:48:13 +08:00
Xiaoyu Wang 05dc0fd6b1
Merge pull request #21056 from taosdata/feat/TD-23693
feat: subtable level privilege
2023-04-26 09:17:23 +08:00
kailixu a6e37622ff chore: more code 2023-04-25 22:15:06 +08:00
kailixu 2d4dd64584 chore: more code 2023-04-24 20:21:28 +08:00
Ganlin Zhao 80621e14eb refactor 2023-04-24 17:24:07 +08:00
Ganlin Zhao 782566ad08 refactor 2023-04-24 17:15:46 +08:00
Xiaoyu Wang dc5235eb92 feat: add pause/resume stream statement 2023-04-24 14:48:33 +08:00
Ganlin Zhao 1251245c2a move code to parser 2023-04-24 09:49:03 +08:00
Xiaoyu Wang 4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
yihaoDeng 917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
dapan1121 877b6e7053 fix: add table_prefix/table_suffix cases 2023-04-21 14:58:58 +08:00
dapan1121 3c2fc48e74 feat: support new table_prefix/table_suffix mode 2023-04-21 14:17:07 +08:00
Xiaoyu Wang 5367f25b4d feat: the having clause can be used after the partition by clause or window clause 2023-04-19 16:55:08 +08:00
Xiaoyu Wang 61cc72c19a
Merge pull request #20961 from taosdata/enh/3.0_planner_optimize
feat: the fill value clause supports constant expressions
2023-04-18 16:24:29 +08:00
Xiaoyu Wang 1d2764ebdb feat: the fill value clause supports constant expressions 2023-04-18 15:36:50 +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 e9f5717bb3
Merge pull request #20926 from taosdata/fix/main_wxy
fix: optimizing 'alter table drop tag' error reporting
2023-04-14 09:12:03 +08:00
Xiaoyu Wang 06d9a74bcc fix: optimizing 'alter table drop tag' error reporting 2023-04-13 19:38:47 +08:00
Xiaoyu Wang 17b5669555 fix: optimizing 'alter table drop tag' error reporting 2023-04-13 17:32:31 +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 b51477343d fix crash 2023-04-13 15:50:30 +08:00
Xiaoyu Wang 1266d8c84a Merge remote-tracking branch 'origin/main' into fix/main_wxy 2023-04-13 15:25:40 +08:00
Xiaoyu Wang a4d818c982 fix: alter table check 2023-04-13 15:25:36 +08:00
Ganlin Zhao fbbd3e4bdd fix: fix illegal usage of _isfilled/_irowts 2023-04-13 14:33:06 +08:00
Xiaoyu Wang a44d455e56 merge 3.0 2023-04-13 14:32:05 +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
dapan1121 9ad17dddaf
Merge pull request #20890 from taosdata/fix/TS-3137-M
fix: the precision of delete statement
2023-04-12 19:41:29 +08:00
kailixu 1ed3149c39 fix: the precision of delete statement 2023-04-12 17:41:43 +08:00
Xiaoyu Wang 5ea2ba0a38 fix: error querying after setting permissions for varchar type tags 2023-04-12 17:39:23 +08:00
Xiaoyu Wang 4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
Xiaoyu Wang e2f82f4423 merge main 2023-04-10 09:56:03 +08:00
Xiaoyu Wang 0f2c753103 feat: table level privilege 2023-04-07 16:39:40 +08:00
Xiaoyu Wang 54f13f6f55
Merge pull request #20756 from taosdata/fix/3.0_merge_main
merge main
2023-04-06 15:44:23 +08:00
Xiaoyu Wang cc7485812a feat: add 'or replace' clause to 'create function' statement 2023-04-04 17:45:18 +08:00
Xiaoyu Wang 6825b196ef feat: table level write privilege check 2023-04-04 17:19:18 +08:00
slzhou bf486e99f2 fix: change eror msg 2023-04-04 15:20:35 +08:00
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
shenglian zhou d547b9e38f fix: interp pseudo column can not be used without interp function 2023-04-04 11:27:54 +08:00
Xiaoyu Wang 16394862a6 enh: last_row is keep order function 2023-04-03 18:11:46 +08:00
Xiaoyu Wang e2f58a555d enh: convert the month and year in interval-offset to a database precision duration 2023-04-03 11:24:29 +08:00
dapan1121 a8da9f31e7 fix: join query error 2023-03-30 18:04:32 +08:00
Xiaoyu Wang 6265251a03 feat: table level privilege syntax 2023-03-29 19:08:40 +08:00
Xiaoyu Wang c1452851e3 fix: error in determining whether last(t.*) is a selection function 2023-03-29 14:39:37 +08:00
Xiaoyu Wang daaf4871ac feat: table level privilege syntax 2023-03-28 18:43:58 +08:00
Xiaoyu Wang c4791d58a6 fix: create stream does not support event_window 2023-03-27 16:09:38 +08:00
Xiaoyu Wang 18b039fecd
Merge pull request #20603 from taosdata/enh/3.0_planner_optimize
fix: udf error check
2023-03-23 18:44:23 +08:00
Xiaoyu Wang fddf3f16cf fix: udf error check 2023-03-22 19:09:26 +08:00
dapan1121 ddbc0e2e61 fix: restore removed code 2023-03-22 17:37:57 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
Xiaoyu Wang eb79046a70 merge 3.0 2023-03-22 11:42:02 +08:00
dapan1121 a4eef9ea1f
Merge pull request #20570 from taosdata/szhou/fix-td23266
fix: create function error for json/decimal/blob/varbinary type
2023-03-22 09:47:17 +08:00
cadem ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
Xiaoyu Wang 58ebd3539d feat: alter database wal_retention_period/wal_retention_size 2023-03-21 16:45:19 +08:00
slzhou b9edd24d3f fix: create function error for json/decimal/blob/varbinary type 2023-03-21 00:38:13 -08:00
dapan1121 f5aabde528
Merge branch 'main' into fix/TD-23161 2023-03-17 19:00:04 +08:00
dapan1121 b56360c55b
Merge pull request #20509 from taosdata/enh/TS-2904
enh: optimize count(1) performance
2023-03-17 18:16:58 +08:00
dapan1121 28905af158 fix: column alisa issue and ut case 2023-03-17 17:01:46 +08:00
dapan1121 af5c214e16 fix: count(1) from nested query issue 2023-03-17 16:36:13 +08:00
dapan1121 746174ea45 fix: remove count optimize 2023-03-17 16:16:15 +08:00
dapan1121 c2f346407d fix: order by error info 2023-03-17 15:17:09 +08:00
dapan1121 f45f3b460f enh: optimize count(1) performance 2023-03-17 14:30:58 +08:00
Shengliang Guan 041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
slzhou 9df6609448 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-12 09:41:09 +08:00
Xiaoyu Wang a846c26ef9 merge main 2023-03-11 16:14:27 +08:00
dapan1121 5df32cbc78 feat: correct slimit&limit clause 2023-03-11 13:08:20 +08:00
Xiaoyu Wang 822bb11a26 fix: invalid topic query 2023-03-10 18:23:30 +08:00
slzhou 89d05296d8 fix: add varchar/nchar udf support 2023-03-10 14:56:35 +08:00
Xiaoyu Wang e5de317f44 feat: alter database stt_trigger/minrows 2023-03-09 16:04:38 +08:00
dapan1121 273d0c0c07 fix: all columns are invisiable in system table query 2023-03-09 10:40:27 +08:00
Xiaoyu Wang 4c8bab7e58 merge main 2023-03-08 10:59:33 +08:00
Shengliang Guan b11ac8aac7
Merge pull request #20297 from taosdata/fix/main_wxy
feat: the compact command adds 'start with end with' clause
2023-03-07 16:14:14 +08:00
Xiaoyu Wang df0d200f59 feat: the compact command adds 'start with end with' clause 2023-03-07 15:24:04 +08:00
dapan1121 dd2137eab7 fix: empty ts range in nested query 2023-03-07 09:22:20 +08:00
Xiaoyu Wang 599967d39f feat: add language clause for create function 2023-03-04 11:08:50 +08:00
Shengliang Guan b4c7c16aa9
Merge pull request #20259 from taosdata/fix/main_bugfix_wxy
fix: create stream syntax check
2023-03-04 10:08:55 +08:00
Xiaoyu Wang 9305b0efd0 fix: create stream syntax check 2023-03-03 16:57:13 +08:00
dapan1121 f7a20af538 fix: taosc crash caused of ordering by string 2023-03-03 11:47:08 +08:00
Shengliang Guan eeca7653b9
Merge pull request #20234 from taosdata/fix/TD-22868
fix:set timestamp precision
2023-03-02 17:21:37 +08:00
dapan1121 2a5074870d fix: add missing db options in show create database result 2023-03-02 11:33:29 +08:00
54liuyao 8a23f0ce3b fix:set timestamp precision 2023-03-01 18:59:27 +08:00
Xiaoyu Wang f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
dapan1121 ec6c25e342
Merge branch '3.0' into fix/TD-22762 2023-02-25 10:59:23 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
dapan1121 eac27fc0fd fix: empty ts range query issue 2023-02-24 18:39:17 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
dapan1121 78d72a7db2 fix: alter column length too big issue 2023-02-23 14:21:14 +08:00
Xiaoyu Wang 62e3fd2cc6 fix: create stream semantic check 2023-02-21 19:19:43 +08:00
Xiaoyu Wang 319dfd8f06 merge 3.0 2023-02-20 17:21:37 +08:00
Haojun Liao ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Xiaoyu Wang c597de099f merge main 2023-02-20 13:41:27 +08:00
Xiaoyu Wang 9e5f8b154b fix: grammer check 2023-02-17 09:56:41 +08:00
Xiaoyu Wang 031a13c945 fix: create stream check and error code wrong 2023-02-14 11:24:44 +08:00
Ganlin Zhao 606993dc1d fix: restrict interp query on stable for now 2023-02-14 10:22:09 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Xiaoyu Wang b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
yihaoDeng 5315500287 fix filter error 2023-02-09 16:09:46 +08:00
Xiaoyu Wang fcff07675d merge main 2023-02-09 11:29:38 +08:00
Xiaoyu Wang 9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang 79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
Liu Jicong ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Hongze Cheng 89cc687b42 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 13:17:43 +08:00
Xiaoyu Wang 0ec0717263 fix: invild free 2023-02-08 10:35:25 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang a52371959e feat: add ignore update option for create stream 2023-02-07 19:31:08 +08:00
Xiaoyu Wang e91b9ff47c fix: keepcolumnname is invalid in nested query 2023-02-07 19:05:41 +08:00
dapan1121 ded47e1312 Merge remote-tracking branch 'origin' into feat/TS-2502 2023-02-06 17:22:18 +08:00
Xiaoyu Wang f2ff17dace merge 3.0 2023-02-06 14:18:13 +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
yihaoDeng 17b7b81cd7 opt index 2023-02-04 10:25:50 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
dapan1121 d88f1efeb1 feat: support force fill clause 2023-02-02 17:16:30 +08:00
shenglian zhou c4366e4dbc fix: minior, remove blank line 2023-02-02 16:34:20 +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 7f571b1ebd fix: a time point can be fill 2023-02-02 10:59:47 +08:00
Haojun Liao 97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
54liuyao cea8a920f7 feat(stream): add ci 2023-02-01 17:50:08 +08:00
Xiaoyu Wang 637195ce94 fix: the problem of creating a stream without partition by clause 2023-02-01 17:27:03 +08:00
Xiaoyu Wang 000eefac82 enh: deal coverity scan 2023-01-31 16:16:03 +08:00
Hongze Cheng 11bc53bbd7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-31 14:07:58 +08:00
yihaoDeng 474e2e3a32 enh: add/del dynamicIdx 2023-01-29 21:16:47 +08:00
yihaoDeng bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
Xiaoyu Wang 57258e2527 fix: support writing streams to existing tables 2023-01-18 12:00:53 +08:00
Xiaoyu Wang caf3de2959 fix: support writing streams to existing tables 2023-01-18 09:30:54 +08:00
Xiaoyu Wang 2a4c97cfb4
Merge pull request #19606 from taosdata/enh/3.0_planner_optimize
feat: support writing streams to existing tables
2023-01-17 18:27:56 +08:00
Xiaoyu Wang ca43c0ab55 feat: support writing streams to existing tables 2023-01-17 16:47:43 +08:00
Xiaoyu Wang ac09a05cfa feat: create stream support delete_mark option 2023-01-17 15:34:58 +08:00
dapan1121 62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
yihaoDeng 3c97e3fc1a add execute plan 2023-01-13 14:39:50 +08:00
54liuyao 3ec1560faa create stream and use existing super table 2023-01-13 10:26:49 +08:00
yihaoDeng 72b43d240d add/delete tag idx 2023-01-12 16:31:55 +08:00
Xiaoyu Wang 0e061fb53c fix: stmt memory leak 2023-01-12 13:57:47 +08:00
wangmm0220 8af5230bc8 fix:add logic for ins_columns 2023-01-11 23:55:53 +08:00
wangmm0220 3e7aaf6adc fix:add logic for ins_columns 2023-01-11 14:27:36 +08:00
Xiaoyu Wang 4dca6df296 enh: optimize the error message of the situation that percentile function does not support 2023-01-09 11:50:34 +08:00
wangmm0220 e1020b7967 fix:add interface for taos_get_current_db 2023-01-06 19:20:31 +08:00
Shengliang Guan 3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
wangmm0220 730fbe42cb fix:add logic for system table ins_columns 2023-01-05 14:34:07 +08:00
Hongze Cheng a046dbb02b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-05 13:57:55 +08:00
yihaoDeng 973ebce246 update add/drop index msg 2023-01-04 20:36:01 +08:00
Xiaoyu Wang 90c1ed107c fix: duplicate column check in 'create stream' command 2023-01-04 17:09:59 +08:00
Xiaoyu Wang 68ac5e5289 enh: clear assert and fix coverity scan 2023-01-04 16:46:02 +08:00
Xiaoyu Wang 9df6f69371 merge 3.0 2023-01-04 15:02:31 +08:00
Xiaoyu Wang 44a867b751 fix: 'show user privilegs' command echo user name incomplete 2023-01-04 14:42:03 +08:00
Xiaoyu Wang fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Alex Duan c0a16094ab fix: merge from 3.0 2022-12-30 19:02:48 +08:00
Xiaoyu Wang 11306876fa feat: support writing streams to existing tables 2022-12-30 14:14:03 +08:00
Xiaoyu Wang aef9dc5908 feat: support writing streams to existing tables 2022-12-30 10:49:05 +08:00
Xiaoyu Wang bc2fa58280 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-30 10:14:47 +08:00
Xiaoyu Wang de418e8c8d feat: support writing streams to existing tables 2022-12-30 10:11:41 +08:00
Alex Duan 0c422345b3 feat: support show cluster alive; and show db.alive; 2022-12-29 18:07:57 +08:00
Xiaoyu Wang 3d1b78902f fix: error in deleting only tag columns 2022-12-29 16:12:52 +08:00
Hongze Cheng 52f1f272fc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 13:50:08 +08:00
dapan1121 8f9cf766a4
Merge pull request #19214 from taosdata/feat/TD-21454
feat(stream):stream insert data into an existing table
2022-12-29 11:28:25 +08:00
Hongze Cheng de6be90cb5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 10:00:47 +08:00
Shengliang Guan 2bbf2f3ab1 Merge branch '3.0' into merge/mainto3.0_1229 2022-12-29 09:36:52 +08:00
54liuyao 4734795fe1 feat(stream):stream insert data into an existing table 2022-12-28 17:09:54 +08:00
Xiaoyu Wang b1d141ecab fix: prohibit triggering modes other than at_once in non window stream 2022-12-28 16:10:53 +08:00
Xiaoyu Wang 0fd305158d enh: when there is _wend and _wduration in the query, you can use tsma optimization 2022-12-28 14:07:58 +08:00
Xiaoyu Wang b52ebb6fd5 feat: sql command 'compact database' 2022-12-27 11:11:02 +08:00
Shengliang Guan 664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Xiaoyu Wang e62315c244 fix: keepColumnName parameter changes the user alias 2022-12-23 15:12:53 +08:00
Xiaoyu Wang aecd05cf34 enh: improve unit tests 2022-12-21 13:51:06 +08:00
Xiaoyu Wang ad7f9b274b enh: improve unit tests 2022-12-20 16:53:08 +08:00
Xiaoyu Wang 7d15bc670e Merge remote-tracking branch 'origin/3.0' into enh/mian_wxy 2022-12-18 19:32:32 +08:00
Xiaoyu Wang 6d28232189 fix: create stream error 2022-12-12 17:14:08 +08:00
Xiaoyu Wang 903804883d fix: create stream error 2022-12-12 15:35:50 +08:00
Xiaoyu Wang 9d6d05c405 merge 3.0 2022-12-12 11:06:52 +08:00
kailixu 4a6f41f7f1 fix: keep option of database with precision ns 2022-12-08 11:56:29 +08:00
Xiaoyu Wang bc36bc188e feat: event window 2022-12-08 09:36:37 +08:00
kailixu 3a3bf89cb8 fix: keep option of database with ns precision 2022-12-08 01:39:01 +08:00
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Xiaoyu Wang 85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
Xiaoyu Wang 64a2bd481c fix: check subquery time series error 2022-12-02 10:30:23 +08:00
Xiaoyu Wang 67d6ea93b0 enh: ins_table count optimize 2022-12-02 10:02:22 +08:00
Xiaoyu Wang 233377444c enh: ins_table count optimize 2022-12-01 17:57:53 +08:00
Xiaoyu Wang 4e8acca2eb feat: sql command 'show user privileges' 2022-11-30 19:24:15 +08:00
Xiaoyu Wang 555f2cb981 merge 3.0 2022-11-29 13:16:54 +08:00
Haojun Liao 3878af10c9 refactor: do some internal refactor. 2022-11-28 16:13:18 +08:00
Xiaoyu Wang 70164f9f20 enh: group by tbname optimize 2022-11-24 15:16:38 +08:00
Xiaoyu Wang 2d86f8e91c enh: group by tbname optimize 2022-11-23 16:20:54 +08:00
Xiaoyu Wang 469fcd314e enh: ins_tables optimize 2022-11-21 18:44:04 +08:00
Xiaoyu Wang d00f65a8fe Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-18 15:05:19 +08:00
Xiaoyu Wang dc0d3745a7 enh: fill value supports implicit type conversion 2022-11-17 15:48:42 +08:00
Xiaoyu Wang cb0f1f537e enh: fill value supports implicit type conversion 2022-11-16 17:03:04 +08:00
Xiaoyu Wang 6a50e9e271 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-16 10:58:06 +08:00
Xiaoyu Wang 1963761cc2 fix: asan error 2022-11-15 17:27:22 +08:00
Xiaoyu Wang 40c7562470 enh: optimize statement for querying the number of sub tables of the super table 2022-11-15 16:38:51 +08:00
Shengliang Guan 9f38bfa10b
Merge pull request #18123 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-11-14 18:03:08 +08:00
Xiaoyu Wang 901c9b8f77 fix: some problems of parser 2022-11-14 16:53:01 +08:00
dapan1121 a5b1cfc9a2 fix: extend show create table result width 2022-11-14 11:27:38 +08:00
Xiaoyu Wang 35b79e7e69 fix: the problem of null in case when expression 2022-11-11 11:24:24 +08:00
Shengliang Guan 8f1c969377
Merge pull request #18027 from taosdata/enh/3.0_planner_optimize
enh: show table tags command extension
2022-11-11 09:09:06 +08:00
Xiaoyu Wang 38f20ec32d enh: show table tags command extension 2022-11-10 17:22:13 +08:00
Xiaoyu Wang 6f7d43c371 fix: case when type error 2022-11-10 13:33:55 +08:00
dapan1121 2f807a85d0 Merge remote-tracking branch 'origin/3.0' into enh/TD-20288 2022-11-09 18:52:00 +08:00
dapan1121 9f7e06721c enh: support vgroup epset update 2022-11-09 18:48:52 +08:00
Xiaoyu Wang 6298f92d56 fix: some problems of parser 2022-11-09 17:39:28 +08:00
Shengliang Guan c016266989
Merge pull request #17951 from taosdata/fix/3.0_bugfix_wxy
fix: state_window error
2022-11-08 14:48:24 +08:00
Shengliang Guan 36450e6dd7 enh: optimize the error code when create and delete a database in a dropping state 2022-11-08 11:08:14 +08:00
Xiaoyu Wang 2d6c4ebda8 fix: state_window error 2022-11-08 10:18:27 +08:00
Shengliang Guan 68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Liu Jicong 8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Xiaoyu Wang be467a10c7 fix: drop index error 2022-11-01 09:36:33 +08:00
Shengliang Guan e817e649c6
Merge pull request #17788 from taosdata/enh/TD-19090
enh: force drop dnode
2022-10-31 23:27:54 +08:00
Liu Jicong 2e640c38a2 refactor: stream and tmq message 2022-10-31 18:37:28 +08:00
54liuyao f1e3e0892a fix(planner):add semantic check 2022-10-31 16:17:53 +08:00
Xiaoyu Wang ae4354c277 enh: add sql command 'drop dnode id force' 2022-10-31 10:30:54 +08:00
Xiaoyu Wang 02ac6fa552 enh: add unit test and delete useless code 2022-10-26 17:01:55 +08:00
Xiaoyu Wang cb41374c90 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-26 11:11:18 +08:00
Xiaoyu Wang db75eb8e20 fix: stream supports 'partition by tbname, column' 2022-10-26 10:20:00 +08:00
dapan1121 3fa1f535f1
Merge pull request #17609 from taosdata/fix/interpStable
fix: remove interp stable limitation and add test case
2022-10-26 09:59:42 +08:00
Xiaoyu Wang b7056f58b7 fix: alter table check 2022-10-25 16:59:05 +08:00
dapan1121 af6a9aeb13 fix: remove interp stable limitation and add test case 2022-10-24 17:46:21 +08:00
Xiaoyu Wang 0fdce91b5a fix: wrong permissions of 'show variables' command 2022-10-24 16:34:10 +08:00
Xiaoyu Wang 5e970f1506 Merge remote-tracking branch 'origin/3.0' into fix/3.0_bugfix_wxy 2022-10-21 10:18:26 +08:00
Xiaoyu Wang 2339b8c0a6 some parser problem 2022-10-20 16:53:26 +08:00
dapan1121 723110c449 feat: add retrieve db and table route info API 2022-10-19 19:25:02 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Xiaoyu Wang 78589248f2
Merge branch '3.0' into fix/3.0_bugfix_wxy 2022-10-18 09:53:08 +08:00
Xiaoyu Wang b286b0cf26 fix: do coverity scan 2022-10-17 16:18:35 +08:00
Xiaoyu Wang 9abea76791 fix: do coverity scan 2022-10-17 15:43:42 +08:00
Xiaoyu Wang bb3bb18c01 fix: problem when last is used for system table query 2022-10-14 16:24:00 +08:00
Xiaoyu Wang 9a946541a2 enh: do coverity scan 2022-10-13 18:14:44 +08:00
Xiaoyu Wang 242a53c285 enh: do coverity scan 2022-10-13 17:03:40 +08:00
Xiaoyu Wang 7a19119dc7 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-10-13 16:44:41 +08:00
Xiaoyu Wang 3cce178721 enh: do coverity scan 2022-10-13 16:43:56 +08:00
Shengliang Guan ebf330fad2
Merge pull request #17309 from taosdata/fix/3.0_bugfix_wxy
fix: some problems of parser
2022-10-13 13:58:13 +08:00
Xiaoyu Wang d6374a726a fix: some problems of parser 2022-10-12 16:32:29 +08:00
Ganlin Zhao 928fd0b13f fix(query): interp with every(0s) casuing client crash
TD-19484
2022-10-12 10:39:49 +08:00
Xiaoyu Wang 947e9d6458 fix: some problems of parser 2022-10-12 10:16:29 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
Xiaoyu Wang 3d1bf6f50d fix: query information_schema.ins_tags error 2022-09-30 17:57:04 +08:00
Xiaoyu Wang 3ed27805c3 fix: query information_schema.ins_tags error 2022-09-30 14:43:51 +08:00
Xiaoyu Wang 73642ac3a2 feat: sql command 'show table tags from table_name' 2022-09-29 16:16:49 +08:00
Xiaoyu Wang 06bb551b70 enh: query information_schema.ins_tags optimize 2022-09-28 18:55:33 +08:00
Xiaoyu Wang 48c9373680 enh: query information_schema.ins_tags optimize 2022-09-28 17:00:02 +08:00
Xiaoyu Wang 8caa36299c feat: add the _irowts pseudo column to output the timestamp of the interp 2022-09-27 15:23:24 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
Shengliang Guan f80068bbe6
Merge pull request #17011 from taosdata/feat/3.0_parser_planner
feat: case when expression
2022-09-23 11:41:57 +08:00
Xiaoyu Wang 50ebcb5006 feat: case when expression 2022-09-22 19:20:21 +08:00
Xiaoyu Wang cf39f2e20c fix: window pseudo column check 2022-09-22 18:15:11 +08:00
Xiaoyu Wang 62b9419351 fix: window pseudo column check 2022-09-22 17:27:30 +08:00
Xiaoyu Wang 9f45f81aa0 fix: join validity check 2022-09-22 16:54:39 +08:00
wangmm0220 e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
wangmm0220 414021a8e0 fix:error in auto create table for taosX 2022-09-15 19:23:12 +08:00
Liu Jicong deb731c1c4
Merge pull request #16840 from taosdata/enh/3.0_planner_optimize
enh: the delete physical plan increases the timestamp interval of the actual deleted data
2022-09-15 10:56:08 +08:00
Xiaoyu Wang e2586979eb enh: the delete physical plan increases the timestamp interval of the actual deleted data 2022-09-14 17:51:21 +08:00
dapan1121 5589f78b32
Merge pull request #16779 from taosdata/fix/memLeakIssue
fix: fix client/server memory leak issues
2022-09-14 17:42:12 +08:00
Xiaoyu Wang d585c20aa3 enh: count(tbname) optimize 2022-09-13 18:58:56 +08:00
Xiaoyu Wang 6cf578f299 feat: database option 'tsdb_pagesize' 2022-09-13 14:19:50 +08:00
dapan1121 4fd0bc409d fix: fix client/server memory leak issues 2022-09-13 09:09:21 +08:00
Hongze Cheng eae7947c68 more refact 2022-09-08 17:58:33 +08:00
dapan1121 851ffe49ae enh: support set tag value with expr 2022-09-07 10:25:21 +08:00
dapan1121 4a563b6d50 fix: fix now in alter tag value 2022-09-06 19:17:11 +08:00
Xiaoyu Wang ccaf6f8a78 feat: add database option 'table_prefix' and 'table_suffix' 2022-09-03 11:22:36 +08:00
Xiaoyu Wang 594e4b376e feat: sql command 'show vnodes' and database option 'sst_trigger' 2022-09-01 19:01:37 +08:00
Shengliang Guan 8652074fad
Merge pull request #16536 from taosdata/feature/TD-14761
fix: add filter logic for tmq in stable wal
2022-08-31 19:22:11 +08:00
wangmm0220 c5874ca892 fix: add filter logic for tmq in stable wal 2022-08-31 18:32:28 +08:00
Shengliang Guan d0669151af
Merge pull request #16527 from taosdata/enh/3.0_planner_optimize
enh: query get dbcfg optimization
2022-08-31 13:33:01 +08:00
Xiaoyu Wang 2ccc7471af enh: query get dbcfg optimization 2022-08-31 11:36:59 +08:00
dapan1121 39569cbd9a enh: move some tables from perf to ins 2022-08-30 13:49:35 +08:00
Shengliang Guan 52f8fbb997
Merge pull request #16473 from taosdata/enh/3.0_planner_optimize
enh: super table scan requires project operator to merge packets to improve performance
2022-08-30 09:07:52 +08:00
Xiaoyu Wang b5e177f151 fix: some problems of parser 2022-08-29 18:52:00 +08:00
Xiaoyu Wang cc1d37cfe5 fix: some problems of parser 2022-08-29 17:23:29 +08:00
Xiaoyu Wang 4895f19876 fix: plan problem with sorting the first column of the system table 2022-08-25 18:39:23 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Ganlin Zhao 00b2db50b4 fix(query): restrict fill(none) in interp
TD-18531
2022-08-23 10:40:01 +08:00
Xiaoyu Wang 4cf9bd6ac1 fix: the syntax problem of querying the state value in the state window 2022-08-22 17:46:57 +08:00
Ganlin Zhao 02055c4a90 fix error msg 2022-08-19 18:16:46 +08:00
Ganlin Zhao 0993843c81 fix(query): fix "n","y" time unit parsing does not return error 2022-08-19 18:13:01 +08:00
Xiaoyu Wang 39c3cde285 fix: select constant error 2022-08-16 10:37:17 +08:00
slzhou 64121d7b8f Merge branch 'szhou/fix/leave' of github.com:taosdata/TDengine into szhou/fix/leave 2022-08-12 14:54:26 +08:00
slzhou d9eae4dd4c fix : fix error caused by empty vgroups when no user tables 2022-08-12 14:54:12 +08:00
Xiaoyu Wang 03a39381c0 enh: show command optimize 2022-08-12 00:07:24 +08:00
Xiaoyu Wang 4155a3bef4 enh: show command optimize 2022-08-11 21:55:20 +08:00
Xiaoyu Wang 7176bb9198 merge 3.0 2022-08-11 20:30:02 +08:00
Xiaoyu Wang 9a9aef985e enh: show command optimize 2022-08-11 20:26:40 +08:00
Ganlin Zhao c017e4387f fix(query): forbid interp in super table query
TD-18331
2022-08-11 16:17:38 +08:00
Xiaoyu Wang 4f0c6d3aa4 enh: show command optimize 2022-08-11 15:37:26 +08:00
Xiaoyu Wang 7a559084ae fix: add checks for stream query 2022-08-08 14:38:04 +08:00
Xiaoyu Wang f15517b1d7 fix: add checks for stream query 2022-08-08 13:28:49 +08:00
Xiaoyu Wang 536c6bdbc5 fix: add checks for stream query 2022-08-08 11:40:48 +08:00
Xiaoyu Wang 5750525f9a fix: condition race error 2022-08-06 15:25:53 +08:00
Xiaoyu Wang fdf977f935 fix: add checks for stream query 2022-08-06 11:30:06 +08:00
Xiaoyu Wang 0f3a7e314e fix: plan problem of create stream statement 2022-08-05 17:37:58 +08:00
Xiaoyu Wang 534d1a01b8 fix: memory leak in parser when statement exception 2022-08-03 19:17:12 +08:00
Xiaoyu Wang 335c8b4d8a fix: timeline function validity check 2022-08-03 18:17:12 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +08:00
Xiaoyu Wang f33959bd9b fix: some problems of parser 2022-08-02 20:20:44 +08:00
dapan1121 517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
Xiaoyu Wang ab03c9a265 fix: alias error for partition by keys 2022-08-02 10:27:59 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Xiaoyu Wang 18364a6bd2
Merge pull request #15649 from taosdata/feature/3.0_wxy
fix: database name cannot contain '.'
2022-08-01 19:23:34 +08:00
shenglian-zhou 21308d7853
Merge pull request #15639 from taosdata/szhou/fix/join
fix: fix failed case of join.sim
2022-08-01 18:54:42 +08:00
Xiaoyu Wang 4d51273aac fix: database name cannot contain '.' 2022-08-01 18:12:03 +08:00
shenglian zhou 905a07801e fix: fix errors of join test case 2022-08-01 16:19:50 +08:00
Xiaoyu Wang 5c9fbbd2e1 fix: some problems of parser and planner 2022-08-01 15:54:53 +08:00
dapan1121 6addac61f8 fix: fix client memory leak 2022-08-01 09:58:49 +08:00
Xiaoyu Wang dc6c0c1d1a fix: some problems of planner 2022-07-30 15:46:43 +08:00
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +08:00
Xiaoyu Wang 31126d5390 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-07-29 20:41:39 +08:00
Xiaoyu Wang 32418f161b enh: cumulative functions support mixed use 2022-07-29 20:41:16 +08:00
Xiaoyu Wang 41b8ef7d93 enh: cumulative functions support mixed use 2022-07-29 18:00:48 +08:00
dapan1121 ebb85f6f4c
Merge pull request #15539 from taosdata/fix/TD-17926
fix: fix delete time range issue
2022-07-29 14:33:52 +08:00
slzhou@taodata.com 810d385530 fix: fix nested query sim bugs 2022-07-29 10:13:00 +08:00
dapan1121 156567b9bc fix: fix show queries crash and error msg 2022-07-29 09:01:35 +08:00
Xiaoyu Wang cd25d2dc60
Merge pull request #15456 from taosdata/feature/3.0_debug_wxy
fix: db options rename
2022-07-27 15:02:20 +08:00
dapan1121 2956422239
Merge pull request #15461 from taosdata/fix/stbmetadelete
fix: fix stb meta removed issue
2022-07-27 14:51:13 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
dapan1121 a17925131f fix: fix stb meta removed issue 2022-07-27 11:12:31 +08:00
Shengliang Guan e4b6fa744e enh: add wal option to show database command 2022-07-26 17:30:07 +08:00
Xiaoyu Wang 1ddbff0acf feat: add db options of wal 2022-07-25 21:09:06 +08:00
WANG MINGMING cf665cdbc8
Merge pull request #15346 from taosdata/feature/TD-14761
feat: add interface for tmq writing raw data
2022-07-23 17:57:17 +08:00
WANG MINGMING b40325705d
Merge branch '3.0' into feature/TD-14761 2022-07-23 16:03:19 +08:00
wangmm0220 d6399cafc3 feat: add interface for tmq writing raw data 2022-07-23 15:59:29 +08:00
Xiaoyu Wang 8ad1489c66 fix: semantic check when last(*) and column are together 2022-07-23 15:06:12 +08:00
Xiaoyu Wang 8af30d11c9 fix: semantic check when last(*) and column are together 2022-07-23 13:36:49 +08:00
Xiaoyu Wang ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Xiaoyu Wang c54daccf2d fix: plan problem caused by project eliminate optimize 2022-07-21 14:35:36 +08:00
Xiaoyu Wang 37ec05a715 fix: memory leak problems of parser and planner 2022-07-20 17:20:29 +08:00
Xiaoyu Wang 1a19f1f5f6 fix: float overflow check 2022-07-19 21:00:00 +08:00
Xiaoyu Wang 6d5d6746f2 feat: sql command 'show tags from table_name' 2022-07-19 18:51:06 +08:00
Xiaoyu Wang 5988fc0e4a feat: sql command 'show tags from table_name' 2022-07-19 15:31:44 +08:00
Xiaoyu Wang b7e5780c44 feat: sql statement likes 'select * from (select 1)' 2022-07-18 16:55:31 +08:00
shenglian zhou de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
Xiaoyu Wang e5e9252388 some problems of planner 2022-07-16 17:40:54 +08:00
shenglian zhou 97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
Xiaoyu Wang 20a49e3055
Merge pull request #14978 from taosdata/feature/3.0_debug_wxy
fix: database options 'strict' and 'cachelast' syntax adjustments
2022-07-16 14:50:31 +08:00
Xiaoyu Wang 7c585d8ed9 fix: database options 'strict' and 'cachelast' syntax adjustments 2022-07-16 11:47:26 +08:00
Ganlin Zhao 624e7b7183 Merge branch '3.0' into feat/agg_client_api 2022-07-16 10:53:57 +08:00
Xiaoyu Wang 52327cc2fb fix: multi-rows function validity check 2022-07-16 09:44:52 +08:00
Xiaoyu Wang d99b682f76 fix: multi-rows function validity check 2022-07-15 17:58:37 +08:00
Ganlin Zhao 7d5c496e10 fix comment 2022-07-15 16:46:13 +08:00
Ganlin Zhao 30e09c4b19 fix(query): fix when select percentile() has no
from table clause report error issue
2022-07-15 16:41:19 +08:00
Xiaoyu Wang aec4c2313a fix: multi-rows function validity check 2022-07-15 16:17:00 +08:00
shenglian-zhou 42c1e5e053
Merge pull request #14923 from taosdata/szhou/fix/td-17405
fix: multi result function is not allowed when appear in clauses other than select
2022-07-15 10:06:37 +08:00
slzhou 21a32b36e9 fix: multi result function is not allowed when appear in clauses other than select 2022-07-15 09:32:54 +08:00
Xiaoyu Wang 979b20189d feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 09:07:19 +08:00
Xiaoyu Wang 31e29dfc38 feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 08:43:40 +08:00
Minglei Jin 92ae35fd3f
Merge pull request #14886 from taosdata/fix/TD-17328-v2
fix: use calcTypeBytes for table altering
2022-07-14 13:56:56 +08:00
Minglei Jin c7e64933d0 fix: use calcTypeBytes for table altering 2022-07-14 10:43:54 +08:00
wangmm0220 3b4c2826b4 Merge branch '3.0' into feature/TD-13041 2022-07-14 10:22:15 +08:00
Xiaoyu Wang bc1251e0cb
Merge pull request #14855 from taosdata/feature/3.0_debug_wxy
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-14 10:09:32 +08:00
wangmm0220 2647a3d9ee fix: json null 2022-07-13 21:00:54 +08:00
wangmm0220 56ec0a3920 fix: json null 2022-07-13 20:42:49 +08:00
wangmm0220 d3cdd75b94 Merge branch '3.0' into feature/TD-13041 2022-07-13 19:40:26 +08:00
dapan1121 f69a995ea7
Merge pull request #14861 from taosdata/fix/TD-16763
fix: fix natural timestamp issue
2022-07-13 19:03:49 +08:00
Xiaoyu Wang 9887c63c5d feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 19:03:40 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
wangmm0220 cd051d40c3 fix:confilct from 3.0 2022-07-13 16:03:39 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
wangmm0220 0857ab3531 fix:core dump if consumer multi vgroup message with sequence:create/alter/delete/create or create/delete/create 2022-07-13 11:39:32 +08:00
wangmm0220 2b442621e8 feat:get child table name in tmq meta 2022-07-12 18:58:33 +08:00
Xiaoyu Wang 759bc7c434 feat: the 'null' value for the user is of type 'varchar(0)' 2022-07-12 16:51:37 +08:00
Xiaoyu Wang 8b89492101 fix: some problems of parser 2022-07-12 15:11:55 +08:00
wangmm0220 f9d5c809c9 fix:conflict from 3.0 2022-07-11 19:06:36 +08:00
wangmm0220 a196298640 fix:disable colName in tag 2022-07-11 18:07:46 +08:00
Shengliang Guan a846bb9381 refactor: rename cacheLastRow to cacheLast 2022-07-11 15:45:40 +08:00
Xiaoyu Wang 67fcb2d3c5
Merge pull request #14754 from taosdata/feature/3.0_debug_wxy
fix: a problem of cross database join
2022-07-11 14:56:28 +08:00
Cary Xu c59478ec71 enh: tsma/rsma code optimization 2022-07-11 14:20:57 +08:00
Xiaoyu Wang 6110b7e4ca fix: a problem of cross database join 2022-07-11 13:52:24 +08:00
Xiaoyu Wang 0bc700eb82 feat: sql command 'trim database' 2022-07-11 10:53:06 +08:00
Xiaoyu Wang 5708d497ce fix: syntax issue with '(select ... limit) statement' 2022-07-11 10:07:11 +08:00
wangmm0220 b1c290f6dc fix:conflicts 2022-07-10 18:57:34 +08:00
wangmm0220 607f8163d3 feat:add logic for get_tmq_meta_json 2022-07-10 18:54:58 +08:00
Xiaoyu Wang a64a0320a0 fix: some problem of parser and planner 2022-07-10 15:21:16 +08:00
Xiaoyu Wang 2454298b0b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 10:24:55 +08:00
WANG MINGMING 30b1af3feb
Merge pull request #14700 from taosdata/feature/TD-13041
feat:write meta from tmq to taosd
2022-07-10 10:22:51 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
wangmm0220 6b46423a97 feat:write meta from tmq to taosd 2022-07-08 18:37:47 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
dapan1121 81d80add98 feat: insert from query 2022-07-08 11:13:34 +08:00
Xiaoyu Wang 0fd55077f5 feat: sql command 'insert ... select' 2022-07-08 09:33:28 +08:00
Xiaoyu Wang 0bf399a67e merge 3.0 2022-07-06 18:53:54 +08:00
Xiaoyu Wang 025b7782e1 feat: add db option 'cachelastsize' 2022-07-06 18:47:33 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
Xiaoyu Wang c1eef9911b feat: sql command 'insert ... select' 2022-07-06 16:16:54 +08:00
Haojun Liao 916dbebb00 other: merge 3.0 2022-07-06 13:49:39 +08:00
Xiaoyu Wang a67eb1a9a0 eat: sql command 'insert ... select' 2022-07-06 11:55:47 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
Xiaoyu Wang 3dbb5554a5 fix: last(*)/frist(*), etc. do not return the tag column 2022-07-05 16:31:44 +08:00
Xiaoyu Wang 24d0fc4515 fix: adjust parsing of negative numbers 2022-07-05 15:38:39 +08:00
Xiaoyu Wang d223a6624b fix: execution plan problem in the mode of using qnode as much as possible 2022-07-05 14:55:32 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Xiaoyu Wang ba056f7fbb
Merge pull request #14508 from taosdata/feature/3.0_debug_wxy
fix: automatically supplement primary key columns when creating stream
2022-07-05 09:27:52 +08:00
Xiaoyu Wang 7c5419b43e fix: fix: increase the tag value overflow check when creating table 2022-07-04 21:12:15 +08:00
Xiaoyu Wang 57dae9fcda fix: increase the tag value overflow check when creating table 2022-07-04 20:29:19 +08:00
Xiaoyu Wang ac34cde0af fix: increase the validity check of the rollup parameter in the create table statement 2022-07-04 19:27:27 +08:00
Shengliang Guan 07fa747429 fix: valgrind error 2022-07-04 18:30:10 +08:00
Xiaoyu Wang 047f65935d fix: automatically supplement primary key columns when creating stream 2022-07-04 17:21:42 +08:00
Xiaoyu Wang 2cff2e9228 fix: some problems of parser and planner 2022-07-04 15:12:34 +08:00
Xiaoyu Wang 831ef7de23 fix: some problems of parser and planner 2022-07-04 14:46:08 +08:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
Xiaoyu Wang 1d13c712c7 fix: some problems of parser and planner 2022-07-02 19:49:38 +08:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
Xiaoyu Wang 7a53bae352 merge 3.0 2022-07-01 20:05:15 +08:00
Xiaoyu Wang d1eef6880b fix: csum/diff/mavg support subquery 2022-07-01 19:59:28 +08:00
Xiaoyu Wang ec7bfd9eba fix: csum/diff/mavg support subquery 2022-07-01 17:17:49 +08:00
Xiaoyu Wang a94e5f9bec fix: csum/diff/mavg support subquery 2022-07-01 15:47:07 +08:00
Xiaoyu Wang e235c9830d merge 3.0 2022-07-01 13:35:07 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Shengliang Guan 1b3fde4a60 refactor: stable mgmt 2022-07-01 11:12:08 +08:00
dapan1121 582ef5a832
Merge pull request #14391 from taosdata/hotfix/tagnull
fix: fix null as tag value issue
2022-06-30 20:37:18 +08:00
Xiaoyu Wang 8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
dapan1121 cda2f844ce fix: fix json tag null issue 2022-06-30 18:12:04 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
dapan1121 7ef4d3f03a fix: fix null as tag value issue 2022-06-30 15:39:30 +08:00
Xiaoyu Wang 6141bb03da feat: insert from csv 2022-06-30 15:04:54 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
Xiaoyu Wang 11a8f7f04d feat: sql command 'flush database' 2022-06-29 18:20:27 +08:00
Xiaoyu Wang ae076af4f1 feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()' 2022-06-29 11:41:32 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
Xiaoyu Wang 9c68bde6e9 feat: tail function rewrite to statement 2022-06-26 23:50:13 +08:00
Xiaoyu Wang d4175cd8f8 merge 3.0 2022-06-26 14:57:34 +08:00
Xiaoyu Wang 7b60b3223b feat: tail function rewrite to statement 2022-06-26 14:44:58 +08:00
WANG MINGMING 0e8319f70a
Merge pull request #14236 from taosdata/feature/TD-16524
fix:memory error
2022-06-25 14:48:04 +08:00
wangmm0220 7acf012253 fix:memory error 2022-06-25 13:51:43 +08:00
Xiaoyu Wang e187f42902 feat: support partition by expression and aggregate function output together 2022-06-25 09:42:50 +08:00
Xiaoyu Wang fb1e845256 feat: support partition by expression and aggregate function output together 2022-06-25 08:44:45 +08:00
Xiaoyu Wang b857d390e7 merge 3.0 2022-06-24 21:13:11 +08:00
Xiaoyu Wang 853f1df3ab feat: support partition by expression and aggregate function output together 2022-06-24 21:07:12 +08:00
dapan1121 f7ece71ff7
Merge pull request #14204 from taosdata/enh/showvariables
enh: refactor show variables
2022-06-24 16:41:48 +08:00
Xiaoyu Wang ab23faed63 fix: planner memory leak 2022-06-24 15:52:13 +08:00
dapan1121 94a2b6d945 enh: refactor show variables 2022-06-24 15:18:40 +08:00
Xiaoyu Wang 28d66616e1 fix: fix invalid write 2022-06-24 10:48:49 +08:00
Xiaoyu Wang 0b9eb79bf7 merge 3.0 2022-06-23 18:08:47 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
dapan1121 b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
WANG MINGMING 9012834531
Merge branch 'feature/3.0_wxy' into 3.0 2022-06-23 10:16:58 +08:00
slzhou 849cb8d1b3 feat: split session and state window on stable 2022-06-23 08:52:47 +08:00
dapan1121 66cfe3a3fc feat: show dnode variables 2022-06-22 17:17:18 +08:00
Xiaoyu Wang acd1bbd8e3 merge 3.0 2022-06-22 17:00:11 +08:00
Xiaoyu Wang a5ca4965a4 feat: some sql syntax adjustments 2022-06-22 16:35:14 +08:00
WANG MINGMING 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
Xiaoyu Wang 269e9ed505
Merge pull request #14093 from taosdata/feature/3.0_debug_wxy
feat: sql function 'last_row' and sql command 'select constant'
2022-06-22 10:54:47 +08:00
Xiaoyu Wang 5661f88742 feat: sql command 'select constant' 2022-06-22 10:25:53 +08:00
Xiaoyu Wang eeab56e318 feat: sql command 'select constant' 2022-06-22 09:54:31 +08:00
Zhiqiang Wang 04771a6d82
Merge pull request #14079 from taosdata/fix/ZhiqiangWang/TD-16357-fix-sim-test-error
test: fix sim test error
2022-06-21 21:50:01 +08:00
wangmm0220 e7faf69981 feat:support tagCond & tagIndexCond 2022-06-21 20:53:19 +08:00
afwerar 9dff7b93c6 test: fix sim test error 2022-06-21 20:04:55 +08:00
Xiaoyu Wang 45a806f789 feat: sql function 'last_row' 2022-06-21 19:52:26 +08:00
dapan1121 88b48ec46c Merge branch '3.0' into feature/showcreate 2022-06-21 17:40:52 +08:00
dapan1121 be2935cba6 feat: show create table 2022-06-20 20:58:36 +08:00
Xiaoyu Wang 5c185b909a feat: sql command 'show local variables' and 'show dnode variables' 2022-06-20 20:36:15 +08:00
Xiaoyu Wang b4057d657e feat: group by tags optimize 2022-06-20 15:42:31 +08:00
dapan1121 88aff7bae1 Merge branch '3.0' into feature/showcreate 2022-06-20 13:35:18 +08:00
Xiaoyu Wang 9e8058dd5d feat: sql function 'interp' 2022-06-20 12:00:57 +08:00
Xiaoyu Wang c963f92dda
Merge pull request #13990 from taosdata/feature/3.0_debug_wxy
feat: sql function 'interp'
2022-06-19 20:09:15 +08:00
Xiaoyu Wang bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
WANG MINGMING 45a247c062
Merge pull request #13933 from taosdata/feature/TD-16524
feat: add ttl/comment function
2022-06-19 11:18:14 +08:00
Xiaoyu Wang 927464113b feat: tag condition split 2022-06-18 20:15:47 +08:00
dapan1121 2dc7bcbefc show create db 2022-06-18 19:50:53 +08:00
wangmm0220 746f4759b0 fix:merge from 3.0 2022-06-18 19:40:36 +08:00
Xiaoyu Wang 22d1422b49 feat: sql command 'show table distributed' 2022-06-18 18:37:18 +08:00
Xiaoyu Wang 3599b26526
Merge pull request #13943 from taosdata/feature/3.0_debug_wxy
feat: rollup options adjust
2022-06-18 16:26:48 +08:00
Xiaoyu Wang 4e680bf1ac feat: information_schema.user_table_distributed execution plan 2022-06-18 15:10:46 +08:00
WANG MINGMING a64013461f
Merge branch '3.0' into feature/TD-16524 2022-06-18 11:11:54 +08:00
Xiaoyu Wang a06b329bee feat: sql command 'show create database', 'show create table', 'show create stable' and 'alter local' 2022-06-17 21:16:13 +08:00
Xiaoyu Wang 64f8a9cea8 merge 3.0 2022-06-17 18:45:17 +08:00
Xiaoyu Wang aea4f9c69b feat: rollup options adjust 2022-06-17 17:27:42 +08:00
wangmm0220 470cee9e3d fix: comment & ttl 2022-06-17 16:15:03 +08:00
dapan1121 b864da2a9c fix app release issue 2022-06-17 15:26:45 +08:00
WANG MINGMING b3d2daeb72
Merge branch '3.0' into feature/TD-16524 2022-06-17 14:51:33 +08:00
wangmm0220 8ace8dfd8b feat:add ttl/comment function & fix global version shadows a variable 2022-06-17 14:47:37 +08:00
Xiaoyu Wang 30db51ab21 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-17 14:47:25 +08:00
Xiaoyu Wang 2df98609e8 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-17 13:55:25 +08:00
wangmm0220 2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
wangmm0220 e28e92ea35 feat:add ttl 2022-06-16 20:44:25 +08:00
Xiaoyu Wang f350ade453 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 19:45:09 +08:00
Xiaoyu Wang e224d40480 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 16:58:55 +08:00
Xiaoyu Wang 97ac79f557 feat: rollup grammar adjust 2022-06-16 11:13:59 +08:00
dapan1121 69eb9daddb
Merge pull request #13851 from taosdata/feature/showqueries
feat: support some show and kill commands
2022-06-16 09:15:02 +08:00
wangmm0220 f2a19c98ef feat:add test for operator encode/decode 2022-06-15 20:35:45 +08:00
Shengliang Guan 1b15c3439a
Merge pull request #13859 from taosdata/fix/dnode
feat: increase enable and sysinfo limits for user privilege
2022-06-15 18:24:32 +08:00
dapan1121 8f16cc08e7
Merge pull request #13844 from taosdata/hotfix/TD-16540
fix: fix get table index crash issue
2022-06-15 16:26:45 +08:00
Xiaoyu Wang 11564a3dc7 fix: use 'duration' instead of 'days' for create database 2022-06-15 15:24:22 +08:00
Shengliang Guan 5ea1f3512f feat: increase enable and sysinfo limits for user privilege 2022-06-15 14:43:30 +08:00
Xiaoyu Wang 19ab15b19f feat: super table join 2022-06-15 13:49:29 +08:00
dapan1121 7de08aaadc add db vg refresh 2022-06-15 13:26:12 +08:00
dapan1121 96f8a0da42 Merge branch '3.0' into feature/showqueries 2022-06-15 11:34:54 +08:00
dapan1121 947aecb74f show queries/connection; kill connection 2022-06-15 11:27:53 +08:00
wangmm0220 174ae5ee6b feat:add logic for ttl 2022-06-14 19:06:14 +08:00
Xiaoyu Wang 0226e39595 fix: some problems of parser 2022-06-14 17:13:30 +08:00
Xiaoyu Wang ac2a4678f0 fix: some problems of parser 2022-06-14 15:56:58 +08:00
Xiaoyu Wang 1676bfe5cf fix: some problems of parser 2022-06-14 15:43:56 +08:00
Xiaoyu Wang 1674e41dee merge 3.0 2022-06-13 20:14:04 +08:00
Xiaoyu Wang f080f321dd merge 3.0 2022-06-13 20:06:29 +08:00
Xiaoyu Wang 3954edb366 feat: avg function rewrite 2022-06-13 18:36:23 +08:00
Xiaoyu Wang 1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
dapan1121 2eed1d4f2f
Merge pull request #13690 from taosdata/feature/qnode
feat: support mnode/vnode epset update
2022-06-13 14:02:06 +08:00
WANG MINGMING 0f417eb584
Merge pull request #13743 from taosdata/feature/TD-14761
fix:disable schemaless database parameters & fix insert error in multi thread in schemaless
2022-06-11 23:38:06 +08:00
wangmm0220 6e45140db4 fix:disable schemaless database parameters 2022-06-11 21:40:57 +08:00
Xiaoyu Wang d1e0327d19 fix: handle the memory leak of parser 2022-06-11 21:32:29 +08:00
wangmm0220 9bccbbf865 fix:error in multi thread in schemaless 2022-06-11 19:40:56 +08:00
Xiaoyu Wang fc4b959a12 feat: sma index optimize 2022-06-11 18:21:47 +08:00
dapan1121 0046593d4f
Merge branch '3.0' into feature/qnode 2022-06-11 17:58:53 +08:00
Xiaoyu Wang e17396be9c fix: some problems of parser 2022-06-11 15:44:49 +08:00
dapan1121 9fc369f050 fix compile issue 2022-06-11 11:24:20 +08:00
dapan1121 23e26d569b Merge branch '3.0' into feature/qnode 2022-06-11 11:21:27 +08:00
Xiaoyu Wang cd31496882 feat: sma index optimize 2022-06-10 21:13:06 +08:00
dapan1121 0e9203ebf6 Merge branch '3.0' into feature/qnode 2022-06-10 17:09:11 +08:00
dapan1121 1b196df8ed update epset 2022-06-10 17:07:24 +08:00
Xiaoyu Wang c31eb5231a feat: sma index optimize 2022-06-10 16:53:05 +08:00
Xiaoyu Wang 46bac2f579 fix: a problem of interval distributed split 2022-06-10 14:28:58 +08:00
Xiaoyu Wang 317cc8fc13 feat: sma index optimize 2022-06-10 10:16:18 +08:00
Xiaoyu Wang 8908c365a0 merge 3.0 2022-06-09 13:28:55 +08:00
Xiaoyu Wang 31dc553390 feat: sma index optimize 2022-06-09 13:24:04 +08:00
dapan1121 d4c7154cde Merge branch '3.0' into feature/qnode 2022-06-09 09:10:37 +08:00
dapan1121 ef18a45d99 in data type convert 2022-06-09 09:09:48 +08:00
dapan1121 deaa295fb5
Merge branch '3.0' into feature/3_liaohj 2022-06-08 20:44:01 +08:00
dapan1121 cd56e3b11f collect db table list 2022-06-08 15:30:57 +08:00
dapan1121 308f6a5682 Merge branch '3.0' into feature/qnode 2022-06-08 08:57:58 +08:00
dapan1121 f5da576a89 fix in compare issue 2022-06-08 08:57:20 +08:00
Xiaoyu Wang c2477b4ed8
Merge pull request #13557 from taosdata/feature/3.0_wxy
feat: vgroup manage command
2022-06-07 17:14:57 +08:00
Xiaoyu Wang 2bf16fbf43 feat: vgroup manage command 2022-06-07 15:02:41 +08:00
Xiaoyu Wang 6dc64627cd feat: vgroup manage command 2022-06-07 11:53:32 +08:00
dapan1121 16b84f575f Merge branch '3.0' into featuer/delete 2022-06-07 09:13:47 +08:00
WANG MINGMING 72914955b5
Merge pull request #13530 from taosdata/feature/TD-13041
fix: error in json and add test cases for json
2022-06-06 23:44:01 +08:00
dapan1121 33a7a83d65 feature delete data 2022-06-06 20:59:36 +08:00
Haojun Liao aa143beda4 fix(query): fix invalid free. 2022-06-06 19:27:51 +08:00
wangmm0220 0232394386 fix: fix error in json and add test cases for json 2022-06-06 17:55:14 +08:00
Xiaoyu Wang 1c3e02aa1f
Merge pull request #13476 from taosdata/feature/3.0_wxy
feat: sql command 'delete from'
2022-06-05 19:15:38 +08:00
Xiaoyu Wang 55d41c8f5c feat: sql command 'delete from' 2022-06-05 15:48:06 +08:00
Haojun Liao 52ae8f0efa other: merge 3.0 2022-06-05 15:45:01 +08:00
Xiaoyu Wang d261c17a4d fix: a problem of parser async 2022-06-04 21:31:07 +08:00
Xiaoyu Wang 74026205a7 feat: sql command 'delete from' 2022-06-04 19:54:55 +08:00
Haojun Liao 4b9ea626ae Merge branch '3.0' into feature/3_liaohj 2022-06-03 00:18:54 +08:00
Haojun Liao 343f912ddd Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj
# Conflicts:
#	source/client/inc/clientInt.h
#	source/client/src/clientImpl.c
#	source/client/src/clientMsgHandler.c
2022-06-02 17:27:51 +08:00
Haojun Liao 84158d861d enh(query): query APIs are built on top of async APIs. 2022-06-02 16:54:35 +08:00
WANG MINGMING 0ac78291ae
Merge pull request #13384 from taosdata/feature/TD-14761
feat:add schemaless param from db
2022-06-02 15:18:29 +08:00
dapan1121 7251634534 Merge branch '3.0' into feature/qnode 2022-06-02 12:39:14 +08:00
dapan1121 a10643a074 update table meta after alter table 2022-06-02 12:34:35 +08:00
wangmm0220 10807abbc8 fix:fix error in get db name for schemaless parameters 2022-06-02 11:43:57 +08:00
WANG MINGMING 9cb385f0b8
Merge pull request #13388 from taosdata/3.0
3.0
2022-06-01 20:07:09 +08:00
wangmm0220 0ecd49205f feat:merge from 3.0 2022-06-01 18:59:01 +08:00
wangmm0220 fea92600a1 fix:fix memory error in Address Sanitizer 2022-06-01 18:08:46 +08:00
wangmm0220 7ad1e97987 fix:fix compile error in windows 2022-06-01 13:55:56 +08:00
dapan1121 f5ce8c9df8 Merge branch '3.0' into feature/qnode 2022-06-01 13:15:33 +08:00
dapan1121 d86d8803be stmt new api 2022-06-01 13:14:28 +08:00
wangmm0220 19b0932781 feat:merge from 3.0 2022-05-31 23:46:04 +08:00
wangmm0220 d95ec693c0 feat:add new logic for new tag format 2022-05-31 21:05:43 +08:00
wangmm0220 f89ce48e66 feat:add new logic for new tag format 2022-05-31 20:18:02 +08:00
Liu Jicong c8694874db
Merge pull request #13324 from taosdata/feature/tq
feat(tmq): support drop cgroup
2022-05-31 20:09:11 +08:00
Liu Jicong 77757f3ef9 feat(tmq): support drop cgroup 2022-05-31 19:52:40 +08:00
Liu Jicong d68ff9641f fix(parser): extract db name 2022-05-31 19:27:12 +08:00
wangmm0220 816cea07f9 feat:add new logic for new tag format 2022-05-31 17:49:33 +08:00
Liu Jicong 0fdb225d7e fix: parser 2022-05-31 16:49:52 +08:00
Liu Jicong c3296fe890 merge from 3.0 2022-05-31 16:44:27 +08:00
Xiaoyu Wang 9a6776c321 fix: error in data precision of super table query 2022-05-31 15:11:26 +08:00
Xiaoyu Wang ce166fb146 fix: error in data precision of super table query 2022-05-31 15:07:15 +08:00
Liu Jicong 2248bc4207 Merge branch '3.0' into feature/topic_grammar 2022-05-30 23:31:22 +08:00
Xiaoyu Wang a37782e49b fix: problems of some function parameters with negative numbers 2022-05-30 19:59:15 +08:00
Xiaoyu Wang 2dd1771f39 fix: problems of some function parameters with negative numbers 2022-05-30 19:08:14 +08:00
wangmm0220 f7c21c4502 feat:add schemaless db paras 2022-05-30 18:00:03 +08:00
Xiaoyu Wang fdd00a6582 feat: sql command 'create topic as {database | stable| query}' 2022-05-30 11:59:23 +08:00
Cary Xu fdf7d77856 fix: bug fix for tag refactor 2022-05-29 20:28:54 +08:00
Cary Xu 174eb2d862 fix: add more debug logs 2022-05-28 20:13:59 +08:00
Xiaoyu Wang 4432fa930f feat: parser adapts asynchronous interface 2022-05-28 19:56:06 +08:00
Cary Xu 292d579932 feat: adapt for interface 2022-05-28 18:05:50 +08:00
Cary Xu 9b4c9e4802 enh: tag refactor for normal tags 2022-05-28 17:16:04 +08:00
Xiaoyu Wang b5db96b717 feat: parser adapts asynchronous interface 2022-05-28 15:11:37 +08:00
Xiaoyu Wang 1005fb8850 feat: parser adapts asynchronous interface 2022-05-27 17:02:40 +08:00
Xiaoyu Wang d0c11c5bba feat: parser adapts asynchronous interface 2022-05-27 17:00:37 +08:00
Liu Jicong 05a0774b6d feat(tmq): add sub type 2022-05-27 14:06:28 +08:00
Haojun Liao 5028c5d7e6
Merge pull request #13036 from taosdata/feature/3_liaohj
fix(query): remove redundant definition of stream table in mnode.
2022-05-26 20:36:53 +08:00
Haojun Liao 6229ba0a19 test: update unit test case. 2022-05-26 20:06:22 +08:00
Haojun Liao 62f915c1ab fix(query): remove redundant definition of stream table in mnode. 2022-05-26 19:08:55 +08:00
dapan1121 47ea043d5f
Merge pull request #13017 from taosdata/feature/qnode
feat: scheduler async api
2022-05-26 18:00:21 +08:00
Hongze Cheng b911b5ba1c
Merge pull request #13026 from taosdata/feat/two_versions
feat: seperate data schema version and tag schema version
2022-05-26 17:13:44 +08:00
Xiaoyu Wang 884d166811
Merge pull request #13024 from taosdata/feature/3.0_wxy
fix: some problems of rollup sma
2022-05-26 17:01:03 +08:00
Hongze Cheng fe22f0f6d3 use two version in server and refact 2022-05-26 08:29:52 +00:00
dapan1121 22470344e0 scheduler async api test 2022-05-26 14:23:07 +08:00
Xiaoyu Wang 7989190b5e fix: some problems of rollup sma 2022-05-26 14:16:36 +08:00
Liu Jicong a0f3138888 fix(stream): tb name error 2022-05-26 11:16:35 +08:00
dapan1121 5635dcf09e
Merge pull request #12983 from taosdata/feature/qnode
feat: catalog async api test
2022-05-26 09:15:34 +08:00
dapan1121 a8d3162cd9 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-05-26 09:03:56 +08:00
Xiaoyu Wang 070f60409b feat: sql command 'drop cgroup' 2022-05-25 21:20:11 +08:00
dapan1121 55ec2aa008 catalog async test 2022-05-25 20:56:21 +08:00
Xiaoyu Wang 21f1321ea8 fix: some problems of parser 2022-05-24 17:37:53 +08:00
Xiaoyu Wang a44b71f258 fix: problem of useless col optimize 2022-05-24 10:54:00 +08:00
wangmm0220 1245f2e5c0 fix:error in json judgement 2022-05-23 22:14:51 +08:00
wangmm0220 aca3da385b fix:fix json error 2022-05-23 20:46:15 +08:00
wangmm0220 e7194116e7 merge:from 3.0 2022-05-23 20:32:33 +08:00
wangmm0220 82a659c307 fix:add json test case 2022-05-23 17:53:11 +08:00
dapan1121 5fc9aa5ec1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_constant 2022-05-23 16:17:59 +08:00
wangmm0220 cf00cc3850 fix:fix json error 2022-05-23 15:13:36 +08:00
Xiaoyu Wang 7a215a238f fix: some prblems of parser and planner 2022-05-21 20:58:12 +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
Xiaoyu Wang bec1c2463c fix: some prblems of parser and planner 2022-05-21 16:13:54 +08:00
Xiaoyu Wang 7feeea974c feat: add scenarios that trigger metadata refresh 2022-05-20 18:22:40 +08:00
Xiaoyu Wang 079f2fb93e feat: the scan subplan adds the 'dbFName' attribute for metadata refresh 2022-05-20 12:47:23 +08:00
Xiaoyu Wang d2da0c0c7f fix: some problems of parser and planner 2022-05-19 19:19:30 +08:00
Xiaoyu Wang ff43adee77 fix: some problems of parser and planner 2022-05-19 18:09:47 +08:00
Xiaoyu Wang 87f1612743
Merge pull request #12692 from taosdata/feature/3.0_wxy
fix: some problems of parser and planner
2022-05-19 14:54:55 +08:00
Xiaoyu Wang 29bdba7298 fix: some problems of parser and planner 2022-05-19 14:26:10 +08:00
afwerar 51721dfc47 fix(os): win run error 2022-05-19 10:37:11 +08:00
Xiaoyu Wang 6f4c0a2e8f fix: some problems of parser and planner 2022-05-18 20:28:14 +08:00
Xiaoyu Wang 8eadd68218 fix: some problems of parser for stmt mode 2022-05-17 20:08:13 +08:00
Xiaoyu Wang c9428fca0e fix: some problems of parser for stmt mode 2022-05-17 18:52:51 +08:00
Xiaoyu Wang d5d73250fe fix: sql command 'alter table' 2022-05-17 14:12:06 +08:00
Xiaoyu Wang 9a3e1f03af feat: sql command 'alter table' 2022-05-16 18:59:14 +08:00
Xiaoyu Wang b0fba34f52 feat: sql command 'alter table' 2022-05-16 15:49:01 +08:00
Hongze Cheng d32174632e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/alter_table 2022-05-16 01:23:51 +00:00
Cary Xu 069ce051f0 feat: move sma module from tsdb to vnode 2022-05-15 20:17:20 +08:00
Hongze Cheng da75e3d19f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/alter_table 2022-05-14 14:40:18 +00:00
Hongze Cheng 65edd3296e feat: alter super table 2022-05-14 14:29:04 +00:00
Xiaoyu Wang 71c63a9bb3 fix: some problems of parser and planner 2022-05-14 20:41:05 +08:00
Xiaoyu Wang e0e3e5c4c4 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-05-14 19:25:56 +08:00
Xiaoyu Wang 60e8bc24cd fix: some problems of parser and planner 2022-05-14 19:17:53 +08:00
Xiaoyu Wang a5210ee155
Merge pull request #12466 from taosdata/feature/3.0_wxy
fix: some problems of parser and planner
2022-05-14 13:17:20 +08:00
Xiaoyu Wang 84018cdbd2 fix: some problems of parser and planner 2022-05-14 12:21:57 +08:00
Xiaoyu Wang f0df0da98f fix: some problems of parser and planner 2022-05-14 11:59:23 +08:00
Xiaoyu Wang 422f65abf6
Merge pull request #12462 from taosdata/feature/feat--tag-index_wxy
fix: 'create table using' problem
2022-05-14 10:39:38 +08:00
Xiaoyu Wang e9042e709d fix: 'create table using' problem 2022-05-14 10:36:19 +08:00
Xiaoyu Wang e0a51d43e7 fix: 'union [all]' syntax problems 2022-05-14 09:42:52 +08:00
Haojun Liao 5dadb26070 fix(query): set the correct state value key index. 2022-05-13 18:18:54 +08:00