Reputation: 1405
When I create a hive table with data stored in JSON format, I used the org.apache.hive.hcatalog.data.JsonSerDe and one of the SERDEPROPERTIES is 'serialization.format' = '1'
.
However I cannot find any documentation on this property that lists what format 1 is and what other options are. I'd also like to know what other options there are for the SERDEPROPERTIES.
I've been search online and reading all related links in Hive's LanguageManual DDL page and still can't find anything. Could anyone point me to the right direction? Appreciate it.
Upvotes: 7
Views: 1614
Reputation: 1948
The SERDEPROPERTIES feature is a convenient mechanism that SerDe implementations can exploit to permit user customization. It allows the user to define properties that will be passed to the SerDe. The SerDe interprets those properties as it sees fit. Hive doesn’t know or care what they mean. Thanks.
Upvotes: 0