hive-serde

What is the difference between 'InputFormat, OutputFormat' & 'Stored as' in Hive?

泄露秘密 提交于 2019-11-30 15:34:17
问题 Im new to Bigdata and currently learning Hive. I understood the concept of InputFormat & OutputFormat in Hive as part of SerDe. I also understood that 'Stored as' is used to store a file in a particular format just like InputFormat. But I don't understand what is the significant difference between using the 'InputFormat, OutputFormat' & 'Stored as'. Any help is appreciated. 回答1: Hive has a lot of options of how to store the data. You can either use external storage where Hive would just wrap

What is the difference between 'InputFormat, OutputFormat' & 'Stored as' in Hive?

為{幸葍}努か 提交于 2019-11-30 14:39:32
Im new to Bigdata and currently learning Hive. I understood the concept of InputFormat & OutputFormat in Hive as part of SerDe. I also understood that 'Stored as' is used to store a file in a particular format just like InputFormat. But I don't understand what is the significant difference between using the 'InputFormat, OutputFormat' & 'Stored as'. Any help is appreciated. Hive has a lot of options of how to store the data. You can either use external storage where Hive would just wrap some data from other place or you can create standalone table from start in hive warehouse . Input and