spark-snowflake
spark-snowflake copied to clipboard
Support spark.sql.datetime.java8API.enabled
Support Spark's spark.sql.datetime.java8API.enabled
property when true
. This expects dates and timestamp to be java.time.LocalDate
and java.time.Instant
respectively rather than the java.sql
equivalents.
Any update on when we may be able to get this in?
I've simplified this using SQLConf.get.datetimeJava8ApiEnabled
rather than passing around isJava8Time
flag, if that's more preferable as it results in a smaller diff.
Any update on when this change could be reviewed? Perhaps @sfc-gh-bli you'd be able to take a look?
@sfc-gh-sshankar @sfc-gh-ema @sfc-gh-bli is this something either of you are able to look at? This is currently blocking our ability to use the Snowflake Spark connector with the latest Java 8 API for dates and timestamps.
Going to close this given https://issues.apache.org/jira/browse/SPARK-38437.