You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2019/01/23 12:25:00 UTC
[jira] [Resolved] (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 ]
Wenchen Fan resolved SPARK-26653.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Issue resolved by pull request 23597
[https://github.com/apache/spark/pull/23597]
> 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
> Assignee: Maxim Gekk
> Priority: Minor
> Fix For: 3.0.0
>
>
> 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