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

David Chen updated HIVE-5976:
-----------------------------

    Attachment: HIVE-5976.5.patch

I have fixed the test failure for alter_file_format. The failure was caused by 
the fact that the SerDe of the table was not set when the 
StorageFormatDescriptor does not specify a SerDe, as is the case for text and 
sequencefile. To fix this, I added a new HiveConf variable, HIVEDEFAULTSERDE, 
which is set to LazySimpleSerDe by default.

Another source of the failure is if INPUTFORMAT, OUTPUTFORMAT, and SERDE are 
set using SET FILEFORMAT, the SerDe is not applied.

[~brocknoland] - I noticed that AvroSerDe is not included in this patch. Was 
this because we only want to port the current "native" storage formats for this 
patch and make Avro a native storage format in a separate patch? I am thinking 
that AvroSerDe's requirement for a schema URL or schema literal to be set might 
cause some complications.

> Decouple input formats from STORED as keywords
> ----------------------------------------------
>
>                 Key: HIVE-5976
>                 URL: https://issues.apache.org/jira/browse/HIVE-5976
>             Project: Hive
>          Issue Type: Task
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: HIVE-5976.2.patch, HIVE-5976.3.patch, HIVE-5976.3.patch, 
> HIVE-5976.4.patch, HIVE-5976.5.patch, HIVE-5976.patch, HIVE-5976.patch, 
> HIVE-5976.patch, HIVE-5976.patch
>
>
> As noted in HIVE-5783, we hard code the input formats mapped to keywords. 
> It'd be nice if there was a registration system so we didn't need to do that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to