How can I set tblproperties on hive table?

cesar_ortiz
New Altair Community Member
I want to create a hive table in PARQUET format but also compressed with SNAPPY. Can't find the way with the Store in Hive operator.
Any help would be appreciated
Any help would be appreciated
Tagged:
0
Answers
-
@cesar_ortiz
Store in Hive has a parameter 'custom storage' If selected, a new parameter called 'impala file format' there you could select 'PARQUET '.
Hope this helps.0 -
@Pavithra_Rao
The parameter 'hive file format' also has the option for PARQUET, ORC, AVRO,… but I wanted to change the compression algorithm.
After experimenting with hive CLI, I realized the Store in Hive operator creates the table in Parquet with the default compression algorithm, in this case, Snappy. Good enough for the moment but would be nice to have the option to change to gzip or lzo.
Thanks for your help1