spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-16605) Spark2.0 cannot "select" data from a table stored as an orc file which has been created by hive while hive or spark1.6 supports
Date Thu, 09 Nov 2017 20:14:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-16605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dongjoon Hyun updated SPARK-16605:
----------------------------------
    Fix Version/s: 2.2.1

> Spark2.0 cannot "select" data from a table stored as an orc file which has been created
by hive while hive or spark1.6 supports
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16605
>                 URL: https://issues.apache.org/jira/browse/SPARK-16605
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: marymwu
>             Fix For: 2.2.1, 2.3.0
>
>         Attachments: screenshot-1.png
>
>
> Spark2.0 cannot "select" data from a table stored as an orc file which has been created
by hive while hive or spark1.6 supports
> Steps:
> 1. Use hive to create a table "tbtxt" stored as txt and load data into it.
> 2. Use hive to create a table "tborc" stored as orc and insert the data from table "tbtxt"
. Example, "create table tborc stored as orc as select * from tbtxt"
> 3. Use spark2.0 to "select * from tborc;".-->error occurs,java.lang.IllegalArgumentException:
Field "nid" does not exist.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message