File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/integrations/datafusion/src/physical_plan Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ mod tests {
422422
423423 #[ test]
424424 fn test_to_timestamp_comparison_creates_predicate ( ) {
425- let sql = "TO_TIMESTAMP(ts) >= timestamp '2023-01-05T00:00:00'" ;
425+ let sql = "ts >= timestamp '2023-01-05T00:00:00'" ;
426426 let predicate = convert_to_iceberg_predicate ( sql) . unwrap ( ) ;
427427 let expected_predicate =
428428 Reference :: new ( "ts" ) . greater_than_or_equal_to ( Datum :: string ( "2023-01-05T00:00:00" ) ) ;
@@ -431,7 +431,7 @@ mod tests {
431431
432432 #[ test]
433433 fn test_to_timestamp_comparison_to_cast_creates_predicate ( ) {
434- let sql = "TO_TIMESTAMP(ts) >= CAST('2023-01-05T00:00:00' AS TIMESTAMP)" ;
434+ let sql = "ts >= CAST('2023-01-05T00:00:00' AS TIMESTAMP)" ;
435435 let predicate = convert_to_iceberg_predicate ( sql) . unwrap ( ) ;
436436 let expected_predicate =
437437 Reference :: new ( "ts" ) . greater_than_or_equal_to ( Datum :: string ( "2023-01-05T00:00:00" ) ) ;
You can’t perform that action at this time.
0 commit comments