October 2018
Beginner
220 pages
5h 33m
English
Apache Parquet offers columnar data storage on Apache Hadoop. Parquet was developed by Twitter and Cloudera together to handle the problem of storing large data with high columns. We have already seen the advantages of columnar storage over row-based storage. Parquet offers advantages in performance and storage requirements with respect to traditional storage. The Parquet format is supported by Apache Hive, Apache Pig, Apache Spark, and Impala. Parquet achieves compression of data by keeping similar values of data together.
Now, let us try and create a Parquet-based table in Apache Hive:
create table if not exists students_p ( student_id int, name String, gender String, dept_id int) stored as parquet;
Now, let us try and load ...
Read now
Unlock full access