Omega359 commented on code in PR #9388:
URL: https://github.com/apache/arrow-datafusion/pull/9388#discussion_r1506735096


##########
datafusion/core/tests/sql/explain_analyze.rs:
##########
@@ -730,7 +730,7 @@ async fn parquet_explain_analyze() {
     let ctx = SessionContext::new();
     register_alltypes_parquet(&ctx).await;
 
-    let sql = "EXPLAIN ANALYZE select id, float_col, timestamp_col from 
alltypes_plain where timestamp_col > to_timestamp('2009-02-01T00:00:00'); ";
+    let sql = "EXPLAIN ANALYZE select id, float_col, timestamp_col from 
alltypes_plain where timestamp_col > arrow_cast('2009-02-01T00:00:00', 
'Timestamp(Second, None)');";

Review Comment:
   Done.



##########
datafusion/core/tests/parquet/row_group_pruning.rs:
##########
@@ -112,7 +112,7 @@ impl RowGroupPruningTest {
 async fn prune_timestamps_nanos() {
     RowGroupPruningTest::new()
         .with_scenario(Scenario::Timestamps)
-        .with_query("SELECT * FROM t where nanos < to_timestamp('2020-01-02 
01:01:11Z')")
+        .with_query("SELECT * FROM t where nanos < 
arrow_cast('2020-01-02T01:01:11', 'Timestamp(Nanosecond, None)')")

Review Comment:
   Done



-- 
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]

Reply via email to