Commit Graph

16101 Commits

Author SHA1 Message Date
Shuduo Sang b12668ff7f
[TD-3639] <fix>: compare timestamp with datetime in python (#5990)
By this commit, It will close TD-3639.

It will not require test case to write *correct* datetime string to pass
a test case. One test could use seconds, milliseconds or microseconds to
check data.

That means the three tests are equivalent:

```python
.checkData(0, 0, "2020-01-01 00:00:00")
.checkData(0, 0, "2020-01-01 00:00:00.000")
.checkData(0, 0, "2020-01-01 00:00:00.000000")
```

Co-authored-by: Huo Linhe <linhehuo@gmail.com>
2021-04-30 22:45:59 +08:00
Yiqing Liu 8956167651
Eliminate false alarms (#5991) 2021-04-30 21:05:08 +08:00
zyyang a7e41f2c86
Hotfix/td 3986 (#5982)
* change

* [TD-3986]<test>: modify the subscribe test cases
2021-04-30 18:05:29 +08:00
Elias Soong cd5767f40a
Merge pull request #5989 from taosdata/docs/Update-Latest-Feature
Docs/update latest feature
2021-04-30 17:33:29 +08:00
Shuduo Sang 5d493f11b3
Hotfix/sangshuduo/td 3851 taosdemo performance boost (#5968)
* [TD-3851]<fix>: taosdemo performance boost.

* change few default values.

* [TD-3851]<fix>: taosdemo performance boost.

change max sql len default value to 1024*1024

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 17:32:57 +08:00
zyyang 15d7c39702
Merge branch 'develop' into docs/Update-Latest-Feature 2021-04-30 17:32:12 +08:00
Elias Soong b437febaa0 [TD-3984] <docs>: describe "union all" clause. 2021-04-30 17:24:58 +08:00
Haojun Liao b0ab4573bb [td-3967]update the sim. 2021-04-30 17:14:57 +08:00
Haojun Liao d78ac9848c [td-3967]1) refactor. 2021-04-30 17:12:20 +08:00
Haojun Liao eb0114620d [td-255]fix bug found by regression test. 2021-04-30 16:44:43 +08:00
Shuduo Sang 2f069d9068
Hotfix/sangshuduo/td 3968 taosdemo datalen 16k (#5971)
* [TD-3968]<fix>: taosdemo data length should be 16*1024

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

fix data buffer issue.

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

commend out unused func for debugging purpose in the future

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

comment off unused function

* [TD-3968]<fix>: taosdemo datalen more than 16k.

comment off unused array.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 16:42:29 +08:00
Haojun Liao 6216f6c519 [td-225] fix bug found by regression test. 2021-04-30 16:38:37 +08:00
wu champion 4a6a4f9e71 [TD-4000] <test> verify teature of TD-3948 2021-04-30 16:23:43 +08:00
Yiqing Liu 460768f067
[TD-4032]Eliminate false alarms (#5978)
* [TD-4032]Eliminate false alarms

* update rules
2021-04-30 14:20:12 +08:00
yihaoDeng 52b739abe0 [TD-3747]enhance performance on win 2021-04-30 14:09:34 +08:00
yihaoDeng a2bdc746c1 Merge branch 't37' 2021-04-30 14:04:03 +08:00
Shuduo Sang a080f2c917
Hotfix/sangshuduo/td 4001 for develop (#5965)
* [TD-4001]<fix>: taosdemo restful segfault.

due to gethostbyname() is not thread-safe.

* fix uninitialized variable when invalid mode.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 14:00:08 +08:00
yihaoDeng 364fb1df6d Merge branch 'master' of https://github.com/taosdata/TDengine into ma 2021-04-30 13:47:09 +08:00
yihaoDeng 687d3b4c33 [TD-3614] avoid tcp send failure 2021-04-30 13:45:40 +08:00
Shuduo Sang 7dbf75ae66
Hotfix/sangshuduo/td 3968 taosdemo datalen 16k for develop (#5976)
* [TD-3968]<fix>: taosdemo datalen should be 16*1024

fix data buffer issue.

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

commend out unused func for debugging purpose in the future

* [TD-3968]<fix>: taosdemo datalen should be 16*1024

comment off unused function

* [TD-3968]<fix>: taosdemo datalen more than 16k.

comment off unused array.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 13:25:25 +08:00
Shuduo Sang 11685b7b61
change few default values. (#5967)
* change few default values.

* [TD-3851]<fix>: taosdemo performance boost.

change max sql len default value to 1024*1024

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 13:02:11 +08:00
zyyang 7c4617a7d4
Hotfix/td 3962 (#5927)
* [TD-3962]<fix>: fix insert special character error in preparedStatement

* change

* change

* change

* change

* change

* change

* [TD-3962]<test>: add test cases for insert special character

* change

* change
2021-04-30 11:43:39 +08:00
zyyang 5eac06b287
merge taos-jdbcdriver-2.0.28 all changes to master branch (#5974)
* merge taos-jdbcdriver-2.0.28 all changes to master branch

* change version in cmake/install.inc
2021-04-30 11:41:24 +08:00
yihaoDeng 7f75b2836b [TD-3994] avoid rpc failure 2021-04-30 11:30:12 +08:00
Haojun Liao bdc887741e [td-3967] 2021-04-30 10:47:42 +08:00
Haojun Liao c64fd41be7 [td-3967]refactor. 2021-04-30 10:46:13 +08:00
Shuduo Sang 2670b0ad65
Hotfix/sangshuduo/td 4025 fix travis ci broken for develop (#5975)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

cherry pick from master.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 10:20:16 +08:00
Shuduo Sang 160516665c
Hotfix/sangshuduo/td 4025 fix travis ci broken (#5973)
* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8 and pip, setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

install python3.8, and install pip and setuptools

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-30 09:50:15 +08:00
Haojun Liao 2742159fde [td-3967]1). fix escape char error in sql. 2) refactor. 2021-04-29 23:16:33 +08:00
lichuang 073d7b1f08 [TD-3963]tsdbRepo config hot change 2021-04-29 08:40:28 +00:00
Elias Soong e8522fa0e1 [TD-3944] <docs>: update default value for "offlineThreshold". 2021-04-29 16:01:55 +08:00
Elias Soong 5545e058c0 Merge branch 'develop' into docs/Update-Latest-Feature 2021-04-29 15:11:37 +08:00
Haojun Liao 006d59bfd7 [td-3299] 2021-04-29 15:05:54 +08:00
Elias Soong 645afbf93f
Merge pull request #5964 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: fix lib name typo.
2021-04-29 14:47:17 +08:00
Elias Soong 192aad33c9 [TD-2639] <docs>: fix lib name typo. 2021-04-29 14:46:35 +08:00
Shuduo Sang 2617bf2b1c
[TD-4001]<fix>: taosdemo restful segfault. (#5962)
* [TD-4001]<fix>: taosdemo restful segfault.

due to gethostbyname() is not thread-safe.

* fix uninitialized variable when invalid mode.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-29 14:24:11 +08:00
Elias Soong 18179cd746
Merge pull request #5963 from taosdata/docs/Update-Latest-Feature
[TD-2639] <docs>: fix url link format.
2021-04-29 14:15:13 +08:00
Elias Soong af33307861 [TD-2639] <docs>: fix url link format. 2021-04-29 14:14:39 +08:00
haojun Liao b77422727c
Merge pull request #5936 from taosdata/dependabot/maven/tests/comparisonTest/cassandra/cassandratest/commons-io-commons-io-2.7
Bump commons-io from 2.4 to 2.7 in /tests/comparisonTest/cassandra/cassandratest
2021-04-29 13:31:20 +08:00
haojun Liao 198645bee0
Merge pull request #5937 from taosdata/dependabot/maven/tests/comparisonTest/opentsdb/opentsdbtest/commons-io-commons-io-2.7
Bump commons-io from 2.4 to 2.7 in /tests/comparisonTest/opentsdb/opentsdbtest
2021-04-29 13:30:57 +08:00
haojun Liao 8f07f0887f
Merge pull request #5953 from taosdata/hotfix/TD-3984
[TD-3984]union issues
2021-04-29 13:27:03 +08:00
haojun Liao 9c01cec7e0
Merge pull request #5955 from taosdata/hotfix/TD-3996
[TD-3996]udc query issue
2021-04-29 13:20:16 +08:00
Shuduo Sang 761b11f141
Hotfix/sangshuduo/td 3985 for develop (#5961)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

* replace potential overflow of int32 to int64

* replace potential int32 overflow variables to int64.

* replace potential int32 overflow variables to int64.

* change max of int16 to int64 after type changed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-29 12:26:55 +08:00
Shuduo Sang 879bacd8e1
Hotfix/sangshuduo/td 3985 taosdemo timestamp step overflow (#5960)
* [TD-3985]<fix>: taosdemo timestamp step overflow.

* fix specified subscribe test.

* replace potential overflow of int32 to int64

* replace potential int32 overflow variables to int64.

* replace potential int32 overflow variables to int64.

* change max of int16 to int64 after type changed.

Co-authored-by: Shuduo Sang <sdsang@taosdata.com>
2021-04-29 11:42:44 +08:00
Steven Li 7e1b1b1f9b Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 23:11:28 +00:00
Steven Li 34eb7e255a Used Python generator to simplify crash_gen IPC processing of STDOUT/STDERR 2021-04-28 23:11:19 +00:00
huili 0a6b76e3e7
Merge pull request #5938 from taosdata/test/TD-2039
[TD-2039] <test> verify the bug of TD-2039
2021-04-28 16:43:31 +08:00
Haojun Liao ac9ae238ab [td-225]fix the bug found by regression test. 2021-04-28 16:41:19 +08:00
Steven Li fbadcfb542 Merge remote-tracking branch 'origin/master' into feature/crash_gen2 2021-04-28 08:37:22 +00:00
Steven Li 5d1d5cadc2 Refactored crash_gen to have the TdeSubProcess own the SvcMgrThread object, also switched to Pylance 2021-04-28 08:36:56 +00:00