Description
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.
Attachments
Attachments
Issue Links
- duplicates
-
SPARK-14387 Enable Hive-1.x ORC compatibility with spark.sql.hive.convertMetastoreOrc
- Resolved