Commit Graph

397 Commits

Author SHA1 Message Date
Haojun Liao a39fbb1fd6 [td-1319] 2020-09-14 13:23:12 +08:00
yihaoDeng 5ed10d3a4c suppport cmd show-create-table and show-create-db 2020-09-13 21:18:55 +00:00
Haojun Liao 2b1519c167 [td-1319] 2020-09-12 15:50:04 +08:00
Bomin Zhang 139dabf151 td-804: fix infinite SQL parse retry 2020-09-03 18:47:47 +08:00
Shengliang Guan 6d7509c7f5 Merge branch 'develop' into patch/td-804 2020-09-03 13:48:36 +08:00
Shengliang Guan ad04bca69f
Merge pull request #3360 from taosdata/feature/query
Feature/query
2020-09-03 11:04:35 +08:00
Haojun Liao 8137a287b9 [td-225] fix last query bug and add some function definitions. 2020-09-03 10:28:02 +08:00
Bomin Zhang ab0d29f9a1 td-804: pass all smoke test 2020-09-03 09:43:35 +08:00
Bomin Zhang 89d87300d3 fix td-804 2020-09-01 18:04:05 +08:00
haojun Liao f1f3d9aa60
Merge pull request #3311 from taosdata/feature/TD-1230
Feature/td 1230
2020-09-01 11:56:42 +08:00
Bomin Zhang e967332096 td-1099: natual interval in stream and bug fix 2020-08-31 17:12:50 +08:00
yihaoDeng 17b99416a2 TD-934 2020-08-31 05:28:43 +00:00
Bomin Zhang fb19257a99 td-1099: parse natual month/year 2020-08-29 15:47:39 +08:00
yihaoDeng 0bb8ca7d1b TD-1230 2020-08-28 18:35:12 +00:00
Shengliang Guan 9e97c25d3c
Merge pull request #3132 from taosdata/feature/query
Feature/query
2020-08-28 10:26:46 +08:00
Haojun Liao 76ad0bc70e [td-255] add check for memory allocation failure. 2020-08-27 18:32:34 +08:00
Haojun Liao 53a7e3d62b [td-225] add test case for join query. 2020-08-26 15:51:52 +08:00
Shengliang Guan 37c11dd8db TD-1090 first version of windows 32 client 2020-08-25 16:10:23 +08:00
Haojun Liao 73fcf1e1ce [td-1151] 2020-08-25 15:56:51 +08:00
Haojun Liao ba9ef1377d [td-1151] add test cases and fix the found bugs. 2020-08-24 15:36:06 +08:00
Haojun Liao 3ff538c6cc [td-225] merge develop 2020-08-22 10:52:00 +08:00
Haojun Liao aea35d6b23 [td-225] fix bugs. 2020-08-08 10:35:57 +08:00
Haojun Liao 562e62e933 [td-225] add check after killing query. 2020-08-07 17:44:32 +08:00
Haojun Liao b1173807fa [td-225] merge develop 2020-08-06 11:06:40 +08:00
Haojun Liao 846704de87 [td-473] 2020-08-06 10:36:41 +08:00
Bomin Zhang c2ec729727 resolve compiler warning in windows 2020-08-05 18:02:29 +08:00
Haojun Liao 4e2ed952ec [td-225] fix bugs in join query. 2020-07-29 18:51:27 +08:00
Haojun Liao e8f9f503fc [td-225] fix bugs in join query. 2020-07-29 18:04:20 +08:00
Haojun Liao cf509b85e1 [td-225] fix compiler error, refactor codes. 2020-07-29 14:19:58 +08:00
Haojun Liao b4fce76b27 [td-225] fix bugs in query. and refactor some codes. 2020-07-21 00:04:07 +08:00
Haojun Liao 7466267bde Merge branch 'develop' into feature/query 2020-07-20 15:49:19 +08:00
Haojun Liao 3cf5b7697b [td-225] source files rename. 2020-07-20 00:02:51 +08:00
Haojun Liao 55e3352d7b [td-225] refactor codes. opt resbuf perf. rename sources file 2020-07-19 23:29:17 +08:00
Shengliang Guan fdfa789cbc replace ipList and ipSet to epSet 2020-07-18 12:13:01 +00:00
yihaoDeng 246ea1df24 modify from ip to ep 2020-07-18 10:31:31 +00:00
dengyihao 599df650ae
Merge branch 'develop' into hotfix/TD-884 2020-07-18 21:34:52 +08:00
yihaoDeng 3c4e620f31 bugfix 2020-07-18 05:41:19 +00:00
yihaoDeng c877418df0 support multi thread update mnode and dnode 2020-07-17 00:31:23 +00:00
Haojun Liao c8159c56c6 [td-805] opt query perf 2020-07-16 10:55:15 +08:00
Haojun Liao 9e0ac1ebef [td-225] fix compiler error. 2020-07-11 17:01:35 +08:00
Shengliang Guan 00274ef52f
Merge pull request #2641 from taosdata/feature/query
Feature/query
2020-07-11 15:07:51 +08:00
Haojun Liao f1b6c0027b [td-225] opt query perf 2020-07-10 15:59:05 +08:00
Bomin Zhang 0d097101a5 TD-593: enlarge stream query time range
for streams, query time range is changed from interval window
to full stream time range.
2020-07-09 10:45:46 +08:00
Haojun Liao 1b4fa8da1c [td-225] refactor 2020-07-02 23:08:14 +08:00
Haojun Liao c9c3834449 [td-225] refactor code 2020-07-02 23:02:09 +08:00
Haojun Liao 92d81c703c [td-808] build submit block along with table schema. 2020-06-30 15:23:50 +08:00
Haojun Liao afcc90a4b4 [td-719] 2020-06-24 23:54:15 +08:00
Haojun Liao f851d0c4f1 [td-225] update the api in query process functions. remove the tsrpcheadsize in msg to vnode.refactor some codes. 2020-06-22 01:44:06 +08:00
Shengliang Guan d9e980d14e
Merge pull request #2385 from taosdata/feature/query
Feature/query
2020-06-20 16:02:48 +08:00
Haojun Liao 9d82654dfc [td-225] 2020-06-20 15:17:36 +08:00
Shengliang Guan a05a0806a4 [TD-674] defect found in coverity scan 2020-06-20 05:09:59 +00:00
Haojun Liao d3e969d428 [td-225] refactor insert codes 2020-06-20 11:23:26 +08:00
Haojun Liao bdee045c56 [td-225] add cancel query support, fix bugs in load file blocks when column has already been updated. 2020-06-18 18:40:35 +08:00
Haojun Liao 0d0dc66539 Merge branch 'develop' into feature/query 2020-06-17 13:57:32 +08:00
Haojun Liao 53cf7201b8 [td-225] fix bugs in join query. 2020-06-17 11:51:01 +08:00
Bomin Zhang e258f1ace0 fix td-320 2020-06-15 11:49:29 +08:00
Bomin Zhang daafb42e08 td-459: TSDB_DB_NAME_LEN 2020-06-09 14:48:57 +08:00
Haojun Liao d459dd7f2a [td-225] merge with develop branch 2020-06-08 17:42:49 +08:00
Haojun Liao 86a63d250e [td-225] 2020-06-08 17:23:45 +08:00
Haojun Liao a3b1dbb845 [td-225] fix bugs in group by normal columns 2020-06-08 14:50:47 +08:00
Bomin Zhang 51de20d2e0 td-449: more cases passedcurrently, only below four cases fail:* agg_stream.sim ('us' ?)* column_stream.sim ('us' ?)* table_replica1_vnoden.sim (crash)* new_stream.sim (failed at line 101) 2020-06-06 14:56:58 +08:00
Bomin Zhang 81ea4a8a86 first test case passed 2020-06-06 14:45:22 +08:00
dengyihao 5fb0758920 delete unused variable 2020-06-05 18:29:52 +08:00
Shengliang Guan dac3710a68 merge with develop 2020-06-05 12:06:09 +08:00
Shengliang Guan 7a8ab98ff1 [TD-464] show connections 2020-06-04 10:01:11 +00:00
Tao Liu 8fa42af9ea merge from develop 2020-06-04 08:35:57 +00:00
Hongze Cheng 9db2c4bb5e Merge branch 'develop' into feature/2.0tsdb 2020-06-04 02:39:34 +00:00
Hui Li be02133311 [TD-489] 2020-06-03 12:15:29 +08:00
Haojun Liao 7e4c7e7c51 [td-90] add protocol to update the tags value of tables. 2020-06-02 15:47:24 +08:00
Haojun Liao 0944c0cd84 [td-314] [td-437] refactor C API. 2020-06-01 23:30:10 +08:00
Haojun Liao c454def8b7 [td-225] update the intermediate result size 2020-06-01 11:44:23 +08:00
Haojun Liao db7261235c [td-225] fix bugs found in script 2020-05-31 23:45:24 +08:00
Haojun Liao a506907c6a [td-225] merge develop branch 2020-05-31 00:05:07 +08:00
Shengliang Guan 3528ed61d0 [TD-335] rename mgmt to mnode 2020-05-28 07:09:53 +00:00
Haojun Liao bfcdbf76d6 [td-225] fix bugs in interp query 2020-05-28 14:43:03 +08:00
Haojun Liao e1a34a1bf7 [td-225]fix bugs in fill for super table query 2020-05-25 19:13:15 +08:00
Haojun Liao 0c4b90f3b4 [td-225] refactor codes 2020-05-25 11:51:50 +08:00
Bomin Zhang 69e831ff1b fix TD-394 2020-05-22 15:37:57 +08:00
Haojun Liao 0152521fd1 Merge branch 'develop' into feature/query 2020-05-19 10:33:13 +08:00
Haojun Liao a67c4713d5 [td-225]refactor: change name 2020-05-18 22:47:41 +08:00
Haojun Liao af407cb50f [td-225] fix bugs in case of ts disorder in mem/imem and data in file 2020-05-17 16:34:37 +08:00
Bomin Zhang 9570328908 TD-333: boundary check 2020-05-16 11:03:27 +08:00
hjLiao 9376be5fa5 [td-225] fix bugs for fill operation in both table/super table query 2020-05-16 01:51:50 +08:00
localvar 9dd3e62b4b build VgroupTableInfo 2020-05-12 16:45:51 +08:00
jtao1735 feb4bbcde0 support RpcIpSet change 2020-05-11 13:10:56 +00:00
hjxilinx 5476ccaad2 [td-225] use the dnodeConn instead of mgmtConn and vnodeConn 2020-05-08 17:13:11 +08:00
jtao1735 7ee0fe519b Merge branch 'develop' into feature/unified 2020-05-07 12:35:50 +00:00
hjxilinx 27c481c886 [td-225] 2020-05-07 15:25:13 +08:00
hjxilinx a12e0d7320 [td-225]fix bug for arithmetic calculation on aggregated results. 2020-05-07 00:18:35 +08:00
jtao1735 62b135b50f Merge branch 'develop' into feature/unified 2020-05-06 01:14:11 +00:00
hjxilinx f6067e1b31 [td-168] fix bug in var string handling 2020-05-05 16:02:58 +08:00
jtao1735 e0537fb144 Merge branch 'develop' into feature/unifie
d
2020-05-05 00:09:22 +00:00
jtao1735 b6225968b1 second draft 2020-05-04 07:10:05 +00:00
hjxilinx d226214f50 Merge branch 'develop' into feature/query 2020-05-03 15:08:49 +08:00
jtao1735 2d2a784220 initialize SCqCfg structure
remove two unsed fields in tsclient.h
2020-05-03 00:13:06 +00:00
hjxilinx 9e280acb7e [td-168] 2020-05-02 15:33:33 +08:00
hjxilinx c59d762a35 [td-186] fix bugs for stable join query. 2020-04-30 18:25:33 +08:00
hjxilinx 41d414eaa7 [td-186] fix bugs for last_row. 2020-04-29 11:17:15 +08:00
hjxilinx 5389bdaabc [td-186] fix bugs in table join. 2020-04-28 13:06:23 +08:00
hjxilinx c03e84c1bd [td-186]support query on tags/tbname 2020-04-28 11:25:11 +08:00
hjxilinx d6647dd60c [td-186] add select on tags support 2020-04-27 14:01:54 +08:00
hjxilinx b93fbf7c9f [td-186] 2020-04-27 00:42:31 +08:00
hjxilinx ba6acfd498 [TD-197] fix bugs in arithmetic expression calculation 2020-04-25 23:01:13 +08:00
hjxilinx 59c6434a0d [td-187] 1. support group by query, 2. fix memory leaks in client side. 3. refactor mgmtConn 2020-04-24 22:32:23 +08:00
hjxilinx 2ea4875df2 [td-171] fix bugs in select * for super table. 2020-04-24 15:29:46 +08:00
hjxilinx e424202e57 [td-171] refactor codes 2020-04-23 15:06:20 +08:00
hjxilinx 5e221d7231 [td-171] refactor codes 2020-04-23 14:00:46 +08:00
hjxilinx 47c2796bf7 [td-171] refactor client code 2020-04-23 12:22:39 +08:00
hjxilinx 59a77a3657 Merge branch 'develop' into feature/query 2020-04-23 11:56:23 +08:00
hjxilinx 64545fb9a3 [td-171] add filter support, refactor the client side parse functions 2020-04-22 17:14:39 +08:00
slguan 273cc32249 [TD-148] change ip sets 2020-04-21 13:27:03 +08:00
slguan 1774b5623b [TD-68] [TD-69] refactor tlog 2020-04-19 22:29:37 +08:00
hjxilinx 0d2b5ca6c7 [td-98] fix bugs in super table group by query 2020-04-17 01:16:41 +08:00
hjxilinx 6fc7c108b4 [td-98] update vgroup info 2020-04-16 16:24:38 +08:00
hjxilinx 130d4cd20c [td-98] add the group by support for super table query 2020-04-16 11:08:39 +08:00
hjxilinx 5fd9705d45 [td-98] fix bugs while query/insert mixed up in sql requests. 2020-04-11 11:30:26 +08:00
hjxilinx 3f9d5ccaa4 [td-98] fix bug for query table, tag query cond serialization, 2020-04-10 23:15:33 +08:00
hjxilinx 44620e056c [td-98] support iplist 2020-04-07 15:57:48 +08:00
hjxilinx 72add021b7 [TD-98]fix memory leaks during query and fix query bugs. 2020-04-06 16:29:11 +08:00
hjxilinx a3af16e8a8 [TD-98] suppress compiler warnings. 2020-04-05 16:40:08 +08:00
hjxilinx 9d3ce4d51b [td-99] 2020-04-04 11:34:54 +08:00
hjxilinx 0019048a13 [td-32] change the synchronized query execution method. 2020-04-04 01:08:53 +08:00
hjxilinx c269b6d474 [TD-32] fix error in retrieve data 2020-03-27 01:59:26 +08:00
hjxilinx de5fb15206 [td-32] fix bugs and refactor codes 2020-03-24 16:13:11 +08:00
hjxilinx 50705f3d11 [td-32] fix bugs in inserting data 2020-03-21 23:18:46 +08:00
hjxilinx a64646e241 [TD-32] refactor codes 2020-03-21 00:59:25 +08:00
hjxilinx 46e58d52b1 [TD-32] refactor codes. 2020-03-21 00:49:26 +08:00
hjxilinx ca859544ef [TD-32] 1. add tsdb query processing functions. 2. refactor connect to employ async way. 3. change some variables' name 2020-03-21 00:01:40 +08:00
hjxilinx f9241ef121 [TD-32] refactor the table meta 2020-03-19 22:48:18 +08:00
hjxilinx 5d4f826b7b [TD-32] fix bugs in get table meta (parsing query sql) 2020-03-19 22:06:50 +08:00
hjxilinx d182854456 [TD-32] refactor the table meta 2020-03-19 16:45:36 +08:00
hjxilinx 03346d0ccc [TD-32] refactor the tablemeta 2020-03-18 22:47:20 +08:00
hjxilinx 0cd2043cfd refactor codes. 2020-03-14 18:43:07 +08:00
hjxilinx b9888eafb9 refactor:move function to other files 2020-03-14 18:18:25 +08:00
hjxilinx 80217813fd file rename, move query functions to different module. 2020-03-14 18:05:42 +08:00
slguan 39bdc75bf7 Merge branch '2.0' into refact/slguan
# Conflicts:
#	src/client/src/tscServer.c
2020-03-08 22:13:21 +08:00
slguan d01a0c59e0 fix compile error for rpc interface changed 2020-03-08 20:07:27 +08:00
hjxilinx cacd0b71d5 remove the sync function at the client side 2020-03-08 17:08:04 +08:00
hjxilinx bb1a615c46 add query module, remove some functions from utility and tsclient module 2020-03-08 16:39:25 +08:00
slguan a21c508b36 Merge branch 'develop' into 2.0
# Conflicts:
#	src/client/inc/tsclient.h
#	src/client/src/tscSQLParser.c
#	src/client/src/tscServer.c
#	src/client/src/tscUtil.c
#	src/system/detail/src/vnodeShell.c
2020-02-29 16:11:16 +08:00
hjxilinx df3c457341 fix bugs in regression tests. 2020-02-26 14:20:05 +08:00
hjxilinx ae453f8094 [tbase-849] 2020-02-24 23:56:51 +08:00
slguan 3f972b90a6 refact for user manage 2020-02-24 21:05:49 +08:00
slguan 7cedf4afd6 rename meter to table 2020-02-24 14:48:14 +08:00
slguan 03da5549ce get meta message 2020-02-24 14:27:07 +08:00
slguan 07e6caa32c shell can connect to server 2020-02-22 18:58:43 +08:00
slguan d2605d0ece connect from client to mgmt 2020-02-22 11:46:59 +08:00
slguan a241006dd0 server in mgmtShell 2020-02-22 10:37:32 +08:00
slguan 32e7e0e7d8 cmake file for rpc unittest 2020-02-19 17:03:06 +08:00
slguan cb1c3a174b rename tsdb.h 2020-02-14 23:18:14 +08:00
hjxilinx 110b1d830c refactor code for sliding query processing 2020-02-12 15:50:32 +08:00
slguan 31f8cf3ff5 Organize mgmtUtil.c file 2020-02-10 21:15:37 +08:00
hjxilinx c8d03c01f6 merge dev branch 2020-02-03 15:21:01 +08:00
hjxilinx 8c2766e3e6 support the sliding query [tbase-266] 2020-01-30 15:55:09 +08:00
hjxilinx 29df3ea39b support order for super table projection query. #1166. [tbase-1477] 2020-01-21 14:11:05 +08:00
slguan 64337a45ba
Merge pull request #1159 from taosdata/feature/subscribe
subscription
2020-01-20 10:27:44 +08:00
hjxilinx 4bf606a582 add order by ts support for super table query 2020-01-19 17:10:22 +08:00
hjxilinx 46ecd3b2b8 refactor codes and fix some memory leaks. 2020-01-10 13:02:34 +08:00
hjxilinx 5ddc7b4578 fix memory leaks and refactor some codes 2020-01-09 22:30:14 +08:00
hjxilinx d37ead6e30 merge code, and fix memory leaks 2020-01-09 18:38:46 +08:00
lihui 821b3cbc12 [#1102] 2020-01-08 06:16:05 -04:00
hjxilinx 3cc8eb0917 add the union support in sql parser: refactor some codes. #1032. [TBASE-1140] 2020-01-08 13:12:59 +08:00
hjxilinx 82706e1b41 add the union support in sql parser: fix bugs and refactor some codes. #1032. [TBASE-1140] 2020-01-08 13:03:48 +08:00
hjxilinx 7358e65db6 fix bugs during union all processing 2020-01-06 17:43:53 +08:00
fangpanpan 7dbd807af6
Merge pull request #1084 from taosdata/feature/lihui
[#1083]
2020-01-06 12:50:15 +08:00
lihui e30edca2bd [#1083] 2020-01-06 12:15:06 +08:00
hjxilinx dd41425f37 refactor some codes 2020-01-06 12:11:59 +08:00
haojun Liao d6f8f02eca
increase the value range for pSql->numOfSubs
increase the value range for pSql->numOfSubs from uint8_t to uint16_t
2020-01-06 11:38:26 +08:00
localvar 051af216a5 tbase-1422: free resource 2020-01-06 11:27:23 +08:00
localvar 517fb88329 subscription (WIP) 2020-01-06 11:25:41 +08:00
hjxilinx 5295955b72 add the union support in sql parser: refactor some codes. #1032. [TBASE-1140] 2020-01-06 10:49:14 +08:00
hjxilinx 35a534ec9a add the union support in sql parser: fix some bugs. #1032. [TBASE-1140] 2020-01-03 18:30:24 +08:00
hjxilinx f20169933b add the union support in sql parser: fix some bugs. #1032. [TBASE-1140] 2020-01-02 19:16:02 +08:00
hjxilinx c982714173 add the union support in sql parser. refactor some codes. fix bug in join query caused by feature update #1032. [TBASE-1140] 2020-01-01 23:00:23 +08:00
hjxilinx e15aa9b1f9 add the union support in sql parser. #1032. [TBASE-1140] 2019-12-31 23:33:48 +08:00
hjxilinx c18b6b1ba4 add the union support in sql parser. #1032. [TBASE-1140] 2019-12-30 11:18:16 +08:00
lihui c159dd8ad7 [TBASE-1360] 2019-12-19 17:37:30 +08:00
hjxilinx d2ef1dad53 [tbase-1287] 2019-12-10 12:16:10 +08:00
hjxilinx c12fb22e0a suppress compile warnings 2019-12-09 02:09:17 +08:00
hjxilinx 2f9d055696 [tbase-1282] 2019-12-07 18:40:14 +08:00
hjxilinx 8de14a0c7d [tbase-1282] 2019-12-06 10:08:42 +08:00
hjxilinx ae9a948ba3 [tbase-897] 2019-12-04 18:35:10 +08:00
hjxilinx 3b97e52cd6 [jira none] 2019-11-27 19:29:28 +08:00
hjxilinx f0b93abbde [tbase-874] 2019-11-27 18:47:59 +08:00
hjxilinx 6c2cf34693 refactor some codes. 2019-11-25 13:23:05 +08:00
haojun Liao 8742300cd5
Merge pull request #756 from taosdata/feature/lihui
[TBASE-1215]
2019-11-22 10:41:01 +08:00
lihui aeb19d1eb0 [TBASE-1215] 2019-11-21 19:24:06 +08:00
hjxilinx a797219bd6 [tbase-1210] 2019-11-21 16:45:38 +08:00
lihui 3980d488e3 [TBASE-1199] 2019-11-20 13:27:28 +08:00
hjxilinx acce71dbf3 [TBASE-1099] fix bug referred in issue #699, refactor some codes 2019-11-11 16:08:49 +08:00
slguan c2e91fcb75 Adjust code structure 2019-11-07 18:12:26 +08:00
slguan 1dcdccb73a enable the client to compile under darwin 2019-10-11 14:06:49 +08:00
slguan 148b783534 fix the issue #433 2019-08-29 17:59:53 +08:00
slguan fe6672d79b fix the issue #264 #253 #251 2019-08-02 16:52:22 +08:00
slguan bd3db150e5 Windows client, #51 #38 #32 #12 2019-07-26 19:15:31 +08:00
slguan 7c927553c0 Processing Stream Computing Problems in Microsecond Accuracy Database 2019-07-11 19:06:41 +08:00
hzcheng 57492cc12d TDengine first commit 2019-07-11 16:36:16 +08:00