Commit Graph

15209 Commits

Author SHA1 Message Date
tickduan edd05ea486 INT64_MIN default to ltime 2021-05-31 19:49:47 +08:00
dapan1121 3c01a2816f
Update tscPrepare.c
fix compile issue
2021-05-31 19:23:16 +08:00
Shengliang Guan 122241014a change D_TD_COMMUNITY_VERSION to _STORAGE 2021-05-31 18:53:51 +08:00
bryanchang0603 a3c11889bf Merge branch 'develop' into test/TD-4439 2021-05-31 18:39:23 +08:00
Shengliang Guan d19d4a2554
Merge pull request #6308 from taosdata/test/m-TD-4447
[TD-4447]<test>import the same csv twice
2021-05-31 18:35:31 +08:00
Shengliang Guan 1787cdfbd3
Merge pull request #6304 from taosdata/feature/crash_gen2
Adjust table locking in crash_gen to expose consistency issues
2021-05-31 18:34:42 +08:00
Elias Soong ad46a6be6a
Merge pull request #6316 from taosdata/docs/Update-Latest-Feature
Docs/update latest feature
2021-05-31 17:50:31 +08:00
Elias Soong fd06a567ed [TD-2639] <docs>: fix example about transaction in SQL execution. 2021-05-31 17:49:11 +08:00
Haojun Liao 64efcb996d [td-255] fix compiler error. 2021-05-31 17:15:23 +08:00
dapan1121 0684dd5298 fix bug 2021-05-31 16:45:49 +08:00
haojun Liao dde99cbbff
Merge pull request #6282 from taosdata/feature/td-4243-2
[TD-4243]<enhance>:remove _block_dist() special dedicated column index and reduce memory usage by approximate percentile
2021-05-31 16:31:31 +08:00
haojun Liao 3f1a30a33e
Merge pull request #6275 from taosdata/feature/TD-4400
[TD-4400]apitest for prepare
2021-05-31 16:29:21 +08:00
liuyq-617 23217b7ee6 [TD-4447]<test>import the same csv twice 2021-05-31 08:24:23 +00:00
Haojun Liao 524a132948 [td-255]merge develop. 2021-05-31 15:52:32 +08:00
tickduan d5965c461a must ltime >0 to replace 2021-05-31 15:51:43 +08:00
dapan1121 37bde37c85 fix join time precision issue 2021-05-31 15:48:53 +08:00
Haojun Liao c284d848da [td-4446]<fix>: fix repeat import caused crash. 2021-05-31 15:36:48 +08:00
liuyq-617 ed9ff8917c [TD-4447]<test>import the same csv twice 2021-05-31 07:33:08 +00:00
lichuang 3ac7f05f98 [TD-3963]add community version macro in cmakefile,change keep option base on version 2021-05-31 15:12:52 +08:00
Shuduo Sang 597e11a449
Hotfix/sangshuduo/td 4353 taosdemo subscribe resub (#6302)
* [TD-4353]<fix>: taosdemo resub if resubAfterConsume != -1

* fix but resubafter use endafter section.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-31 15:05:27 +08:00
Haojun Liao e969616f58 [td-255]update the sql.c 2021-05-31 14:48:37 +08:00
Haojun Liao ea0b5b9bb9 [td-4312] 2021-05-31 14:43:41 +08:00
Steven Li cd76a29533 Adjust table locking in crash_gen to expose same-connection consistency issues, supporting TD-4444 2021-05-31 06:22:20 +00:00
Shengliang Guan 184f3976b9
Merge pull request #6252 from taosdata/fix/TD-4324
Fix/td 4324
2021-05-31 14:10:42 +08:00
Shuduo Sang d7d38d88af
Hotfix/sangshuduo/td 4353 taosdemo subscribe resub for develop (#6303)
* [TD-4353]<fix>: taosdemo resub if resubAfterConsume != -1

* fix but resubafter use endafter section.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-31 13:39:09 +08:00
lichuang 5276ccc334 [TD-1568]fix tdMergeDataCols bug 2021-05-31 11:56:19 +08:00
Haojun Liao 5262f92733 [td-4321] 2021-05-31 11:43:47 +08:00
Shuduo Sang 7f3fab4993
Feature/sangshuduo/td 4068 taosdemo stmt for master (#6300)
* [TD-4068]<feature>: taosdemo support stmt.

for easy merge purpose. disabled in master.

* fix clang compile error.

* fix memory leak, add more macros. change sqlcount to int

* fix rest segfault.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-31 11:39:32 +08:00
bryanchang0603 39342aec9b [TD-4439] moldifying the test case 2021-05-31 11:16:56 +08:00
bryanchang0603 50d9a1c5a5 [TD-4439] add test case 2021-05-31 11:11:02 +08:00
Shuduo Sang 61fc181487
Feature/sangshuduo/td 4068 taosdemo stmt (#6299)
* merge with develop branch.

change query/tests/CMakeLists.txt to allow unused function and variable.

* refactor data generating.

* refactor.

* refactor.

* refactor.

* refactor.

* refactor

* add prepare stmt function.

* refactor get rand timestamp.

* fix windows compile error.

* copy logic of generate data for stmt.

* insert data basically works now.

* fix windows compile issue.

* [TD-4068]<feature>: taosdemo stmt interface.

stb batch insert works.

* [TD-4068]<feature>: taosdemo support stmt.

normal table insert works.

* [TD-4068]<feature>: taosdemo support stmt.

interlace write works.

* add compile macro to make taosdemo same with master branch.

* fix clang compile error.

* fix memory leak.

* add more macro.

* fix rest segfault.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-31 11:01:38 +08:00
Kaili Xu 282eaa3974 sync with master and restore log format 2021-05-31 10:54:22 +08:00
Kaili Xu f805fdeaad Merge branch 'develop' into fix/TD-4324
sync with develop
2021-05-31 10:45:21 +08:00
Shengliang Guan 1e3d94cc3a
Merge pull request #6297 from taosdata/hotfix/crashgen
[TD-4360]: Change the log output level from error to info
2021-05-31 10:00:05 +08:00
huili f3d95d67ae
Merge pull request #6260 from taosdata/xiaoping/test_case
[TD-4122]<test>: add test case
2021-05-31 09:42:11 +08:00
huili a7e1c34895
Merge pull request #6292 from taosdata/xiaoping/add_test_case
[TD-4420]<test>: add test case
2021-05-31 09:42:02 +08:00
dapan1121 2ce08b2791 Merge branch 'develop' into feature/TD-4400 2021-05-31 08:16:02 +08:00
Haojun Liao 3b22abb108 [td-255] refactor code. 2021-05-31 00:26:07 +08:00
haojun Liao a176484f08
Merge pull request #6298 from taosdata/fix/develop_typo
Update tscSubquery.c
2021-05-31 00:09:54 +08:00
haojun Liao f58dbc2f4e
Update tscSubquery.c 2021-05-31 00:09:20 +08:00
Shengliang Guan 9291d422c5 [TD-4360]: Change the log output level from error to info 2021-05-30 23:34:12 +08:00
Shengliang Guan 647bb54bfc
Merge pull request #6280 from taosdata/feature/TD-4384
[TD-4384]<fix>: fixed an uninitialized bug
2021-05-30 23:22:11 +08:00
Shengliang Guan 7af1fccb5d
Merge pull request #6284 from taosdata/feature/TD-1920
[TD-1920]load mininal modules,and disable sync wal when compact mnode wal
2021-05-30 23:21:13 +08:00
Shengliang Guan 779ae053ad
Merge pull request #6285 from taosdata/fix/TD-4417
[TD-4417]<fix>: return database not ready if vnode status & role not …
2021-05-30 23:19:11 +08:00
haojun Liao 2e116e2d96
Merge pull request #6261 from taosdata/hotfix/td-4243
[TD-4243]<fix>:fix coredump when select _block_dist() from table
2021-05-30 23:11:33 +08:00
shenglian zhou c60cf34575 [TD-4243]<fix>:fix coredump when select _block_dist() from table 2021-05-30 10:41:08 +08:00
Shuduo Sang 7946d97e33
Feature/sangshuduo/td 4068 taosdemo stmt for master (#6296)
* [TD-4068]<feature>: taosdemo support stmt.

for easy merge purpose. disabled in master.

* fix clang compile error.

* fix memory leak, add more macros. change sqlcount to int

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-30 07:03:23 +08:00
Shuduo Sang 32fba9d015
Feature/sangshuduo/td 4068 taosdemo stmt (#6295)
* merge with develop branch.

change query/tests/CMakeLists.txt to allow unused function and variable.

* refactor data generating.

* refactor.

* refactor.

* refactor.

* refactor.

* refactor

* add prepare stmt function.

* refactor get rand timestamp.

* fix windows compile error.

* copy logic of generate data for stmt.

* insert data basically works now.

* fix windows compile issue.

* [TD-4068]<feature>: taosdemo stmt interface.

stb batch insert works.

* [TD-4068]<feature>: taosdemo support stmt.

normal table insert works.

* [TD-4068]<feature>: taosdemo support stmt.

interlace write works.

* add compile macro to make taosdemo same with master branch.

* fix clang compile error.

* fix memory leak.

* add more macro.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-30 07:02:51 +08:00
Shuduo Sang daa5205052
Hotfix/sangshuduo/td 4406 taosdemo auto create tables (#6294)
* [TD-4406]<fix>: taosdemo auto create table.

* fix child table exists or auto create logic.

* reduce redundant conditions.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-05-30 07:02:30 +08:00
shenglian zhou 1baeebe908 [TD-4243]<enhance>: block_dist percentile approximation to reduce memory usage especially for super table 2021-05-30 01:23:38 +08:00