alamb commented on code in PR #9181:
URL: https://github.com/apache/arrow-datafusion/pull/9181#discussion_r1487974457


##########
datafusion/sqllogictest/test_files/timestamps.slt:
##########
@@ -2657,16 +2657,19 @@ PT123456S
 query T
 select to_char(arrow_cast(123456, 'Duration(Second)'), null);
 ----
-NULL
+PT123456S

Review Comment:
   Postgres seems to think this should be null
   ```sql
   postgres=# select to_char(interval '1 day', null);
    to_char
   ---------
   
   (1 row)
   ```



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