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


##########
datafusion/core/tests/sql/timestamp.rs:
##########
@@ -1065,3 +1065,23 @@ async fn cast_to_timestamp_micros_twice() -> Result<()> {
 
     Ok(())
 }
+
+#[tokio::test]
+async fn to_timestamp_i32() -> Result<()> {
+    let ctx = SessionContext::new();
+
+    let sql = "select to_timestamp(cast (1 as int));";

Review Comment:
   Can we please add `to_timestamp_seconds(..)`, 
`to_timestamp_milliseconds(..)` etc here?



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to