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
When the Blaze switch is turned on, the YYYY-MM-DD HH: mm format date string cast to date returns a null object This is inconsistent with the result of Spark without Blaze enabled.
To Reproduce
Steps to reproduce the behavior:
-- one : create tableCREATETABLEdefault.test_01 (
access_time STRING COMMENT '最近访问时间')
stored as orc;
-- two:insert data with YYYY-MM-DD HH: mm format
insert overwrite default.test_01values('2022-03-22 22:27')
-- three:open blazesetspark.blaze.enable=true;
-- four: selectselect
access_time,cast('2022-03-22 22:27'asdate),cast(access_time asdate)
fromdefault.test_01 ;
-- The return result is as follows: the second and third columns have the same input, but different outputs
access_time | CAST(2022-03-2222:27ASDATE) | access_time
2022-03-2222:27 | 2022-03-22 | null
Expected behavior
Looking forward to receiving the correct results
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Spark3.4.3
The text was updated successfully, but these errors were encountered:
Describe the bug
When the Blaze switch is turned on, the YYYY-MM-DD HH: mm format date string cast to date returns a null object This is inconsistent with the result of Spark without Blaze enabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Looking forward to receiving the correct results
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Spark3.4.3
The text was updated successfully, but these errors were encountered: