homework-jianmu/tests/system-test/2-query
sima a54019211f feat:[TS-4893] Support MYSQL functions.
Add more functions:
 - Numeric Functions: PI(),ROUND(),TRUNC(),EXP(),LN(),SIGN(),DEGREES(),RADIANS().
 - String Functions: CHAR(),ASCII(),POSITION(),TRIM(),REPLACE(),REPEAT().
 - Date and Time Functions: WEEKDAY(),DAYOFWEEK(),WEEK(),WEEKOFYEAR().
 - Aggregate Functions: VAR_POP().
Modify some functions:
 - ROUND(): support round to given decimal places.
 - CHAR_LENGTH(): support calculate multi-byte character's length.
 - TIMEDIFF(): result will be negative when expr1 < expr2.
 - STDDEV(): add alias name STDDEV_POP().
 - SUBSTR(): add alias name SUBSTRING().
             support new syntax SUBSTRING/SUBSTR(expr FROM pos [FOR len]).
2024-08-14 09:19:25 +08:00
..
Now.py add cases 2023-08-25 09:42:42 +08:00
Timediff.py add test case 2023-06-26 09:42:13 +08:00
To_iso8601.py fix:[TD-30730] Modify precision rules for input parameters of function to_iso8601 and add test. 2024-06-27 08:42:59 +08:00
To_unixtimestamp.py test: modify expect data type from str to datetime 2023-09-11 19:10:57 +08:00
Today.py fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
abs.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
agg_group_AlwaysReturnValue.py fix: join test case 2024-06-11 15:36:41 +08:00
agg_group_NotReturnValue.py add test case 2024-05-07 17:21:10 +08:00
agg_null.py add hyperloglog to requirements.txt 2024-08-08 19:39:43 +08:00
and_or_for_byte.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
apercentile.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
arccos.py update 2022-11-18 18:14:52 +08:00
arcsin.py update 2022-11-18 18:14:52 +08:00
arctan.py update 2022-11-18 18:14:52 +08:00
avg.py TD-30354: update test case 2024-05-31 16:09:08 +08:00
backslash_g.py add test cases for TD-28164 2024-01-08 17:19:48 +08:00
between.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
blockSMA.py coverage: update coverage script file and BlockSMA trigger is 1 2024-01-10 19:59:44 +08:00
bottom.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
case_when.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
cast.py add pk cases 2024-05-10 11:17:01 +08:00
ceil.py fix:[TD-31113] return 0.0 instead of -0.0 when using round() and ceil() 2024-07-31 14:00:06 +08:00
char_length.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
check_tsdb.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
columnLenUpdated.py test:repire test case for windows 2023-08-07 18:32:58 +08:00
compa4096_tsma.json fix(stream):fix memory leak and update test cases. 2024-06-11 16:34:47 +08:00
compact-col.py fix: add test case 2023-12-28 10:55:50 +08:00
concat.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
concat2.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
concat_ws.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
concat_ws2.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
cos.py update 2022-11-18 18:14:52 +08:00
count.py adj test case 2024-06-06 17:39:17 +08:00
countAlwaysReturnValue.py fix ci 2024-04-16 14:25:20 +08:00
count_interval.py fix: time window computation error 2024-01-10 16:19:20 +08:00
count_null.py add test cases 2023-05-24 01:30:48 -07:00
count_partition.py fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
count_test.csv fix count return negative value when loading sma 2024-04-29 10:43:26 +08:00
count_test.sql fix count return negative value when loading sma 2024-04-29 10:43:26 +08:00
csum.py add test case 2024-04-03 13:56:52 +08:00
db.py test case 2024-07-26 14:48:55 +08:00
diff.py fix: type overflow 2024-07-09 14:48:21 +08:00
distinct.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
distribute_agg_apercentile.py cos/multi-write: default s3_keeplocal to 3650 days 2024-04-08 14:27:22 +08:00
distribute_agg_avg.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
distribute_agg_count.py fix errors 2022-11-29 22:14:46 +08:00
distribute_agg_max.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
distribute_agg_min.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
distribute_agg_spread.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
distribute_agg_stddev.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
distribute_agg_sum.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
elapsed.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
explain.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
fill.py fix fill order by returned wrong values 2024-08-12 15:27:15 +08:00
fill_with_group.py fix fill order by returned wrong values 2024-08-12 15:27:15 +08:00
first.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
floor.py update 2022-11-18 18:14:52 +08:00
func_to_char_timestamp.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
function_diff.py fix: case issue 2024-03-23 20:24:50 +08:00
function_null.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
function_stateduration.py update 2022-11-18 17:18:01 +08:00
geometry.py add test case for jira td28365 by charles 2024-03-20 09:11:44 +08:00
group_partition.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
hint.py fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
histogram.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
hyperloglog.py Merge branch '3.0' into fix/TD-20140 2022-11-04 09:44:28 +08:00
insert_null_none.py test:modify failed cases in ci 2023-01-13 10:30:43 +08:00
insert_select.py Keep the last data with the same timestamp when inserting 2023-12-06 15:20:05 +08:00
interp.py add test case 2024-07-22 11:34:52 +08:00
interval_limit_opt.py add test case for TS-4236 2024-08-07 19:20:07 +08:00
interval_limit_opt_2.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
interval_unit.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
irate.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
join.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
join2.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
json_tag.py fix ci error 2024-03-31 03:16:54 +00:00
json_tag_large_tables.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
last+last_row.py add pk cases 2024-05-08 18:57:26 +08:00
last.py Fix: not use last row scan when select tbname and last 2024-01-08 19:49:15 +08:00
last_and_last_row.py Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
last_cache_scan.py fix(test/query): keep cache query consistent with none model 2024-02-20 11:14:28 +08:00
last_row.py fix fill ts test case 2024-07-01 08:59:01 +08:00
last_row_interval.py fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
leastsquares.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
length.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
like.py Merge pull request #24351 from taosdata/test/3.0/TD-28171 2024-01-09 09:21:23 +08:00
limit.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
log.py update 2022-11-18 18:14:52 +08:00
logical_operators.py test:fix test case logical_operators failed while use param '-R' 2024-08-06 15:19:17 +08:00
lower.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
ltrim.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
match.py checkout regex pattern at client 2024-07-12 11:48:48 +08:00
mavg.py fix: case issue 2024-03-23 20:24:50 +08:00
max.py add test cases 2023-04-11 15:47:27 +08:00
max_min_data.py test: refine query cases 2023-02-07 10:39:05 +08:00
max_min_last_interval.py add test cases 2023-02-10 15:08:34 +08:00
max_partition.py fix test case 2024-07-04 19:34:12 +08:00
megeFileSttQuery.json test:add testcase of the same ts data 2023-11-01 18:17:32 +08:00
megeFileSttQueryUpdate.json test:add testcase of the same ts data 2023-11-01 18:17:32 +08:00
mergeFileSttQuery.py test:add testcase of data that set stt block is ahead of data block 2024-02-05 15:26:18 +08:00
min.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
mode.py fix test case 2023-03-22 09:58:58 +08:00
multi_res_function.py fix: multiresFunction 2024-04-09 15:22:16 +08:00
nestedQuery.py fix: case issues 2024-03-26 08:42:17 +08:00
nestedQueryInterval.py Merge branch '3.0' into fix/xsren/TD-28204/whereOptimizeConditional 2024-01-16 14:28:37 +08:00
nestedQuery_26.py test: refine query cases 2023-03-30 10:18:53 +08:00
nestedQuery_math.py test: refine query cases 2023-03-30 10:18:22 +08:00
nestedQuery_str.py test: refine query cases 2022-10-24 11:24:33 +08:00
nestedQuery_time.py test: refine query cases 2022-10-24 11:24:06 +08:00
normal.py fix: timezone test case 2024-08-09 10:02:09 +08:00
odbc.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
orderBy.py fix: orderby function first hit column 2024-01-23 15:37:50 +08:00
out_of_order.py merge main 2023-04-04 14:50:58 +08:00
para_tms.py fix: case issues 2024-03-26 08:42:17 +08:00
para_tms2.py fix: case issues 2024-03-26 08:42:17 +08:00
partition_by_col.py fix partition_by_col interval not loading blocks caused crash 2024-05-16 09:48:00 +08:00
partition_by_col_agg.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
partition_expr.py fix: add test case 2024-01-22 10:11:38 +08:00
partition_limit_interval.py test case 2024-06-12 13:23:09 +08:00
percentile.py add test cases 2023-02-22 14:08:26 +08:00
pk_error.py fix(test/pk_error): order by t & ts 2024-04-23 14:39:41 +08:00
pk_func.py feat: add test case for wrong pk data type 2024-04-15 13:56:56 +08:00
pk_func_group.py feat: add test case for pk func partition by tbname 2024-03-29 17:20:28 +08:00
pk_varchar.py fix: add test case for varchar primary key 2024-04-15 14:49:47 +08:00
pow.py update 2022-11-18 18:14:52 +08:00
primary_ts_base.py modify cases time cost 2024-07-03 19:23:10 +08:00
primary_ts_base_1.py add pk cases 2024-05-13 11:51:12 +08:00
primary_ts_base_2.py add pk cases 2024-05-13 11:51:16 +08:00
primary_ts_base_3.py add pk cases 2024-05-13 11:51:19 +08:00
primary_ts_base_4.py add pk cases 2024-05-13 10:32:05 +08:00
primary_ts_base_5.py add pk cases 2024-05-13 10:32:01 +08:00
project_group.py fix project with bool condition node 2024-07-30 14:56:55 +08:00
projectionDesc.py fix: add order by string case 2023-03-03 11:54:25 +08:00
qnodeCluster.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
queryQnode.py fix: windows test (#20256) 2023-03-16 10:18:06 +08:00
query_cols_tags_and_or.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
round.py feat:[TS-4893] Support MYSQL functions. 2024-08-14 09:19:25 +08:00
rtrim.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
sample.py fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
select_index.py test: refine query cases 2022-11-23 16:37:18 +08:00
select_null.py feat: (errcode) ttime.c 2024-07-23 09:13:42 +08:00
sin.py update 2022-11-18 18:14:52 +08:00
slimit.py test:repire test case for windows 2023-08-07 18:32:58 +08:00
smaBasic.py test:replace clock_gettime in cases for win 2023-09-06 17:36:55 +08:00
smaTest.py test: adjust asan case 2022-11-24 11:45:40 +08:00
sml-TD19291.py feat:[TD-19291]Schemaless table name can be composed based on rule 2023-10-17 15:34:16 +08:00
sml.py fix:error 2023-12-07 15:17:15 +08:00
sml_TS-3724.py fix:test case error 2023-12-07 17:19:10 +08:00
spread.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
sqrt.py update 2022-11-18 18:14:52 +08:00
stablity.py enh:support join type 2024-03-25 15:19:16 +08:00
stablity_1.py fix test cases 2022-11-15 14:37:10 +08:00
state_window.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
statecount.py fix: statecount function checkou arg full equal 2024-01-25 10:19:51 +08:00
stateduration.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
stbJoin.py fix: binary copy and case issue 2024-03-22 11:02:21 +08:00
stddev.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
substr.py feat:[TS-4893] Support MYSQL functions. 2024-08-14 09:19:25 +08:00
sum.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
systable_func.py merge main to 3.0 2023-06-26 18:43:00 +08:00
tagFilter.py fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
tail.py fix: case issues 2024-03-26 08:42:17 +08:00
tan.py update 2022-11-18 18:14:52 +08:00
tbname.py add test case 2024-04-11 18:07:10 +08:00
tbname_vgroup.py enhance: add join test case 2023-11-10 17:00:10 +08:00
td-28068.py feat:[TS-5137] Support group/partition by position and alias. 2024-07-31 15:30:31 +08:00
test_td28163.py add tests for fix fill asc/desc 2024-07-30 14:59:08 +08:00
test_ts4382.py update test case test_ts4382.py for special testing and alter_database.py for arm64 2024-01-23 17:36:06 +08:00
test_ts4403.py add test case for ts-4403 2023-12-28 18:05:28 +08:00
test_ts4467.py Update test_ts4467.py 2024-02-19 10:29:00 +08:00
timeerror.py fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
timetruncate.py fix:[TD-30730] Modify precision rules for input parameters of function timetruncate and add test. 2024-06-27 08:42:59 +08:00
timezone.py fix: revert test case 2023-12-04 19:18:20 +08:00
tms_memleak.py fix: add test case 2024-02-22 16:32:09 +08:00
top.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
ts-4233.py test: support for windows using 'taos -s' 2023-12-19 15:51:27 +08:00
ts-4348-td-27939.py Add test cases for TS-4348 and TD-27939 2024-01-02 19:26:59 +08:00
ts_3405_3398_3423.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
tsbsQuery.py fix: unify tag value parsing syntax 2024-03-10 22:14:57 +08:00
tsma.py 1. lock not released when return 2024-08-12 08:53:27 +08:00
tsma2.py 1. lock not released when return 2024-08-12 08:53:27 +08:00
ttl_comment.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
twa.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
txt.txt update 2022-11-18 18:14:52 +08:00
union.py fix: case issues 2024-03-26 08:42:17 +08:00
union1.py fix select from union all caused crash 2024-05-27 16:20:13 +08:00
union2.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
union3.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
union4.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
unique.py fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
upper.py test:add replica parameters for all testcase 2022-11-02 17:33:44 +08:00
varbinary.py test: save case.sql when case is failed and set default saved sqlfile True 2024-01-05 17:07:24 +08:00
varchar.py fix: union all cast func resType check error 2023-10-20 10:36:52 +08:00