in Big Data | Hadoop by
Why do we perform partitioning in Hive?

1 Answer

0 votes

Partitioning provides granularity in a Hive table and therefore, reduces the query latency by scanning only relevant partitioned data instead of the whole data set.

For example, we can partition a transaction log of an e – commerce website based on month like Jan, February, etc. So, any analytics regarding a particular month, say Jan, will have to scan the Jan partition (sub – directory) only instead of the whole table data.

Related questions

0 votes
asked Sep 7, 2019 in Big Data | Hadoop by john ganales
+1 vote
asked Feb 23, 2020 in Big Data | Hadoop by rahuljain1
0 votes
asked Jan 10, 2020 in Big Data | Hadoop by sharadyadav1986