[ https://issues.apache.org/jira/browse/SPARK-24322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li updated SPARK-24322: ---------------------------- Labels: correctness (was: ) > Upgrade Apache ORC to 1.4.4 > --------------------------- > > Key: SPARK-24322 > URL: https://issues.apache.org/jira/browse/SPARK-24322 > Project: Spark > Issue Type: Bug > Components: Build > Affects Versions: 2.4.0 > Reporter: Dongjoon Hyun > Priority: Major > Labels: correctness > > ORC 1.4.4 (released on May 14th) includes nine fixes. This issue aims to > update Spark to use it. > https://issues.apache.org/jira/issues/?filter=12342568&jql=project%20%3D%20ORC%20AND%20resolution%20%3D%20Fixed%20AND%20fixVersion%20%3D%201.4.4 > For example, ORC-306 fixes the timestamp issue. > {code} > scala> spark.version > res0: String = 2.3.0 > scala> spark.sql("set spark.sql.orc.impl=native") > scala> Seq(java.sql.Timestamp.valueOf("1900-05-05 > 12:34:56.000789")).toDF().write.orc("/tmp/orc") > scala> spark.read.orc("/tmp/orc").show(false) > +--------------------------+ > |value | > +--------------------------+ > |1900-05-05 12:34:55.000789| > +--------------------------+ > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org