Weijun-H commented on code in PR #8423: URL: https://github.com/apache/arrow-datafusion/pull/8423#discussion_r1422749019
########## datafusion/sqllogictest/test_files/timestamps.slt: ########## @@ -46,6 +46,30 @@ statement ok create table ts_data_secs as select arrow_cast(ts / 1000000000, 'Timestamp(Second, None)') as ts, value from ts_data; +########## +## Current date Tests +########## + +query B +select cast(now() as date) = current_date(); +---- +true + +query B +select now() = current_date(); +---- +false + +query B +select current_date() = today(); +---- +false Review Comment: Why it is false? ```suggestion query B select current_date() = today(); ---- true ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
