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 2020/04/13 05:31:00 UTC
[jira] [Resolved] (SPARK-31398) Speed up reading dates in ORC
[ https://issues.apache.org/jira/browse/SPARK-31398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-31398.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 28169
[https://github.com/apache/spark/pull/28169]
> Speed up reading dates in ORC
> -----------------------------
>
> Key: SPARK-31398
> URL: https://issues.apache.org/jira/browse/SPARK-31398
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Maxim Gekk
> Assignee: Maxim Gekk
> Priority: Major
> Fix For: 3.0.0
>
>
> Currently, ORC datasource converts values of DATE type to java.sql.Date and the result to days since the epoch in Proleptic Gregorian calendar. ORC datasource does such conversion whenÂ
> spark.sql.orc.enableVectorizedReader is set to false.
> The conversion to java.sql.Date is not necessary because we can use DaysWritable which performs rebasing in much more optimal way.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org