You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far, we only have integration test(e.g. fullstack-test, mock-test, sqllogic with randgen cases) and poor unit test to ensure correctness of scalar expressions, which has low test coverage and cannot help us find bugs automatically.
IMO, test of TiFlash scalar expressions should cover:
for all the input argument, should tests 3 types of input column: column_vector, column_constant, column_null
for all the input argument, the value of intput should include min_value, max_value, empty_value and other corner cases.
So far, we only have integration test(e.g. fullstack-test, mock-test, sqllogic with randgen cases) and poor unit test to ensure correctness of scalar expressions, which has low test coverage and cannot help us find bugs automatically.
IMO, test of TiFlash scalar expressions should cover:
Tracking lists of tests:
+
#3495-
*
/
floor
#3496ceil
#3497abs
#3498mod
#3525sqrt
#3499log
#3500log2
#3501log10
#3502ln
#3503exp
#3504pow
#3505sign
#3506radians
#3507degrees
#3508conv
#3509crc32
#3510round
#3526like
#3511substring
#3527ascii
#3512length
#3513trim
#3531position
#3528format
#3529ltrim
#3532rtrim
#3533left
#3515right
#3516char_length
#3514substring_index
#3530extract
upper
#3534lower
#3535concat
#3518concat_ws
#3517replace
strcmp
#3769date_format
from_unixtime
#3602date
#3522year
#3519month
#3520day
#3521datediff
#3523timestampdiff
#3524hour
minute
second
micro_second
date_add/add_date
date_sub/sub_date
unix_timestamp
#3603str_to_date
#3557sysdate
<
>
=
<=
>=
!=
and
or
not
ifnull
#3604if
#3605case when
#3606coalesce
#3607bitand
#3608bitor
#3609bitnot
#3610bitxor
#3611in
isnull
json_length
inet_ntoa
inet_aton
inet6_ntoa
inet6_aton
The text was updated successfully, but these errors were encountered: