You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/03/23 04:08:00 UTC
[jira] [Commented] (SPARK-19459) ORC tables cannot be read when
they contain char/varchar columns
[ https://issues.apache.org/jira/browse/SPARK-19459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410781#comment-16410781 ]
Apache Spark commented on SPARK-19459:
--------------------------------------
User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/19235
> ORC tables cannot be read when they contain char/varchar columns
> ----------------------------------------------------------------
>
> Key: SPARK-19459
> URL: https://issues.apache.org/jira/browse/SPARK-19459
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.2, 2.1.0
> Reporter: Herman van Hovell
> Assignee: Herman van Hovell
> Priority: Major
> Fix For: 2.1.1, 2.2.0
>
>
> Reading from an ORC table which contains char/varchar columns can fail if the table has been created using Spark. This is caused by the fact that spark internally replaces char and varchar columns with a string column, this causes the ORC reader to use the wrong reader, and that eventually causes a ClassCastException.
--
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