vaibhawvipul commented on PR #335: URL: https://github.com/apache/datafusion-comet/pull/335#issuecomment-2083478311
Thanks @andygrove , setting timestamp as UTC worked! Any idea about this error? ``` test("cast string to timestamp") { withSQLConf( (SQLConf.SESSION_LOCAL_TIMEZONE.key -> "UTC"), (CometConf.COMET_CAST_STRING_TO_TIMESTAMP.key -> "true")) { val values = Seq("2020-01-01T12:34:56.123456", "T2").toDF("a") castTest(values, DataTypes.TimestampType) } } ``` <img width="1256" alt="Screenshot 2024-04-29 at 10 23 06 PM" src="https://github.com/apache/datafusion-comet/assets/10995936/4839a762-eae4-41c4-afec-942014e8a9d2"> -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org