Jan 10, 2020 in Big Data | Hadoop
Q: Why do we perform partitioning in Hive?

1 Answer

0 votes
Jan 10, 2020

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
Apr 24, 2020 in Big Data | Hadoop
0 votes
Jan 11, 2020 in Big Data | Hadoop
...