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

▼ Show 1 Answer

0 votes
by

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.

Learn More with Madanswer

Related questions

0 votes
asked Apr 24, 2020 in Big Data | Hadoop by Hodge
...