alamb commented on code in PR #8423: URL: https://github.com/apache/arrow-datafusion/pull/8423#discussion_r1422406476
########## datafusion/sqllogictest/test_files/timestamps.slt: ########## @@ -46,6 +46,25 @@ 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 cast(now() as date) = today(); +---- +true + Review Comment: 🤔 this seems to fail on CI now ########## datafusion/sqllogictest/test_files/timestamps.slt: ########## @@ -46,6 +46,25 @@ 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 cast(now() as date) = today(); +---- +true + Review Comment: 🤔 this seems to fail on CI now -- 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]
