spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dzcxzl (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-23230) Error by creating a data table when using hive.default.fileformat=orc
Date Fri, 26 Jan 2018 12:45:00 GMT
dzcxzl created SPARK-23230:
------------------------------

             Summary: Error by creating a data table  when using hive.default.fileformat=orc
                 Key: SPARK-23230
                 URL: https://issues.apache.org/jira/browse/SPARK-23230
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.1, 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.2, 2.0.1, 2.0.0
            Reporter: dzcxzl


When hive.default.fileformat is other kinds of file types, create textfile table cause a serda
error.
 We should take the default type of textfile and sequencefile both as org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.
{code:java}
set hive.default.fileformat=orc;
create table tbl( i string ) stored as textfile;
desc formatted tbl;

Serde Library org.apache.hadoop.hive.ql.io.orc.OrcSerde
InputFormat  org.apache.hadoop.mapred.TextInputFormat
OutputFormat  org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat{code}



--
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


Mime
View raw message