Herman van Hovell created SPARK-19459:
-----------------------------------------

             Summary: 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.1.0, 2.0.2
            Reporter: Herman van Hovell
            Assignee: Herman van Hovell


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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to