You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2019/01/20 17:29:00 UTC

[jira] [Updated] (SPARK-26653) Use Proleptic Gregorian calendar in parsing JDBC lower/upper bounds

     [ https://issues.apache.org/jira/browse/SPARK-26653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Gekk updated SPARK-26653:
-------------------------------
    Summary: Use Proleptic Gregorian calendar in parsing JDBC lower/upper bounds  (was: Use Timestamp/DateFormatter in JDBCRelation)

> Use Proleptic Gregorian calendar in parsing JDBC lower/upper bounds
> -------------------------------------------------------------------
>
>                 Key: SPARK-26653
>                 URL: https://issues.apache.org/jira/browse/SPARK-26653
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Priority: Minor
>
> JDBCRelation should use java.time classes to convert textual representation of TimestampType and DateType to bound values. In particular, the method should be re-implemented:
> https://github.com/apache/spark/blob/115fecfd840d58ce3211bf1dd7b130cb862730a5/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCRelation.scala#L177-L181
> Ideally the method should be able to support at least the same patterns as Cast expression. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org