-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[branch-2.0](function) fix date_format and from_unixtime core when meet long format string (#35883) #37178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
… format string (apache#35883) before: crash now: ```sql mysql> SELECT DATE_FORMAT('2011-06-24', '%f %V %f %l %V %I %S %p %w %r %j %f %l %I %D %w %j %D %e %s %V %f %D %M %s %X %U %v %c %u %x %r %j %a %h %s %m %a %v %u %b'); +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | date_format(cast('2011-06-24' as DATETIMEV2(0)), '%f %V %f %l %V %I %S %p %w %r %j %f %l %I %D %w %j %D %e %s %V %f %D %M %s %X %U %v %c %u %x %r %j %a %h %s %m %a %v %u %b') | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | NULL | +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.80 sec) ```
b54ad9d to
04b7fc5
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 50468 ms |
TPC-DS: Total hot run time: 205120 ms |
ClickBench: Total hot run time: 31.17 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
…et long format string (apache#35883) (apache#37178) pick apache#35883
Proposed changes
pick #35883
before:
crash
now: