LINEAR HASH Partitioning Type
Explore LINEAR HASH partitioning, a variation of HASH that uses a powers-of-two algorithm for faster partition management at the cost of distribution.
Syntax
PARTITION BY LINEAR HASH (partitioning_expression)
[PARTITIONS(number_of_partitions)]Description
Example
CREATE OR REPLACE TABLE t1 (c1 INT, c2 DATETIME)
PARTITION BY LINEAR HASH(TO_DAYS(c2))
PARTITIONS 5;Last updated
Was this helpful?

