0 votes
in Hive by
Why do we need buckets?

1 Answer

0 votes
by

Basically, for performing bucketing to a partition there are two main reasons:

A map side join requires the data belonging to a unique join key to be present in the same partition.

It allows us to decrease the query time. Also, makes the sampling process more efficient.

...