-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Description
I'm trying to generate test cases for expression through LLM. In this issue, I'll track all issues and error cases found by this method. The description will included all sub-issues, and the failed test cases will be added to the comment.
Some of them may be duplicated, I didn't search the github before creating the issue (sorry). Feel free to close them if you find it's duplicated.
-
REGEXP_LIKE
shouldn't accept arguments with mixed collation #59411 - The argument range of
REGEXP_LIKE
is not compatible with MySQL #59412 - Cast from utf8mb4 to latin1 is not compatible with MySQL #59413
-
ROUND
has different result with MySQL for even positive precision #59414 -
~BINARY
will have different result with MySQL #59415 -
REGEXP_INSTR
is not compatible with MySQL for some cases #59416 - Shouldn't allow zero month in datetime string #59417
- Implicit casting rule is not compatible with MySQL for
BIN(current_date)
#59418 -
GET_FORMAT
returns empty string instead ofNULL
for unknown format #59419 -
GET_FORMAT
should be case insensitive for formats #59420 -
EXTRACT
is not compatible with MySQL for truncated value #59421 - The
DATE_FORMAT
is not compatible with MySQL for 0 date #59423 -
DATE_FORMAT
is not compatible with MySQL for empty foramt #59424 -
REGEXP_REPLACE
is not compatible with MySQL for empty string #59425 -
REGEXP_REPLACE
doesn't support regex1(?=2)
#59426 -
SEC_TO_TIME
has different precision compared with MySQL #59428 -
ADDDATE
is not compatible with MySQL when encoutering the zero time #59429 -
CONVERT_TZ
is not compatible with MySQL for edging value #59430 -
MINUTE
cannot return correct minutes for truncated value #59431 -
TIME
returns zero time instead of NULL for invalid time #59432 -
STR_TO_DATE
fail to parse 'Tuesday, 23 May 2023' for '%W, %d %M %Y' #59433 -
UNIX_TIMESTAMP
doesn't support all formats which are supported by MySQL #59434 -
ADDTIME
returns datetime instead of time #59435 -
PERIOD_DIFF
failed to validate incorrect argument #59436 -
TIMESTAMP
should returnNULL
for zero time #59437 -
TIMESTAMP
shouldn't shift timezone #59438 - The return type of
TIMESTAMPADD
is not correct. #59439 -
TO_SECONDS
is not compatible with MySQL for invalid truncated values. #59440 -
BIN
should returnNULL
for empty string #59441 - The result of
BIN
is not compatible with MySQL when the argument is truncated #59442 -
FORMAT
has incorrect result #59443 -
WEEK
should return week even when themode
isNULL
#59444 -
TIME_FORMAT
should returnNULL
for empty format #59445 -
OCT
should returnNULL
for empty string #59446 -
LPAD
andRPAD
shouldn't return NULL for empty padstr #59447 - The implicit casting rule of
FIELD
is not compatible with MySQL #59448 - The implicit casting for
QUOTE
function is not compatible with MySQL #59449 - The implicit casting rule for
TO_BASE64
is not compatible with MySQL #59450 -
SUBTIME
should returnTIME
even if the argument looks likeDATETIME
#59451 -
SUBTIME
returns incorrect result for edging cases #59452 -
FIND_IN_SET
is not compatible with MySQL #59453 - The implicit casting rule for
WEIGHT_STRING
is not correct #59454 -
FORMAT_BYTES
is not compatible with MySQL #59455 -
is_ipv4_mapped
,IS_IPV4
,IS_IPV4_COMPAT
,IS_IPV6
should returnNULL
forNULL
argument #59456 -
IS_UUID
andUUID_TO_BIN
shouldn't trim the argument #59457 -
IS_IPV4_COMPAT
gives wrong result for all zero value #59458 -
NAME_CONST
accepts different kind of arguments compared with MySQL #59459 -
json_replace
should accept number value as json #59460 -
INET6_NTOA
should returnnull
for invalid address #59461 -
JSON_LENGTH
,JSON_DEPTH
,JSON_INSERT
,JSON_QUOTE
shouldn't implicitly cast argument to json #59462 -
JSON_SEARCH
returns incorrect result for some special value #59463 -
JSON_QUOTE(1/0)
should returnNULL
#59464 -
JSON_ARRAY_APPEND
returns incorrect value for array arguments #59465 - The result of
UNCOMPRESSED_LENGTH
is different with MySQL #59617 - The
COERCIBILITY
of variables are different from MySQL #59618 - The
JSON_SET
returns wrong result for empty object #59619 - TiDB returns error instead of warning for some truncated error #59620
- interval is truncated to wrong value #59621
-
TIMEDIFF
might give wrong result when casting values #59622 -
JSON_SCHEMA_VALID
returns wrong result for strange schema #59623 - Should return warning instead of error for truncated argument in
sec_to_time
. #59624 - The character set of the result of
NOT
is binary, which is different from MySQL #59785 - TiDB can specify table which will be updated in the FROM clause #59786
- The behavior of
NO_UNSIGNED_SUBTRACTION
is not consistent with MySQL #59787 -
NO_BACKSLASH_ESCAPES
doesn't work for DDL in generated column #59788 -
DATE_SUB
gives wrong result for near zero date #59789 - Using
NO_ZERO_IN_DATE
without strict mode has some incompatible behaviors with MySQL #59790
joechenrh, longfangsong, Defined2014, wnykuang, MimeLyc and 12 more
Metadata
Metadata
Assignees
Labels
No labels