简体   繁体   English

有关SERDEPROPERTIES的Hive JSON SERDE文档吗?

[英]Is there a Hive JSON SERDE Documentation on SERDEPROPERTIES?

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' . 当我使用JSON格式存储数据创建一个hive表时,我使用了org.apache.hive.hcatalog.data.JsonSerDe,其中一个SERDEPROPERTIES是'serialization.format' = '1'

However I cannot find any documentation on this property that lists what format 1 is and what other options are. 但是,我找不到有关此属性的任何文档,其中列出了1格式以及其他选项。 I'd also like to know what other options there are for the SERDEPROPERTIES. 我也想知道SERDEPROPERTIES有哪些其他选择。

I've been search online and reading all related links in Hive's LanguageManual DDL page and still can't find anything. 我一直在网上搜索并阅读Hive的LanguageManual DDL页面中的所有相关链接,但仍然找不到任何内容。 Could anyone point me to the right direction? 有人能指出我正确的方向吗? Appreciate it. 欣赏它。

The SERDEPROPERTIES feature is a convenient mechanism that SerDe implementations can exploit to permit user customization. SERDEPROPERTIES功能是一种方便的机制,SerDe实现可以利用它来允许用户自定义。 It allows the user to define properties that will be passed to the SerDe. 它允许用户定义将传递给SerDe的属性。 The SerDe interprets those properties as it sees fit. SerDe在其认为合适的情况下解释这些属性。 Hive doesn't know or care what they mean. 蜂巢不知道或不关心它们的含义。 Thanks. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM