Builds suggested partitioning from the primary keys of the table.
Usage
cache_make_partitioning(x, primary_keys = cache_get_attributes(x)$primary_keys)
Examples
x <- data.frame(a = c(1, 2, 3), b = c("a", "b", "c"))
cache_make_partitioning(x, primary_keys = "a")
#> floor(a/10000)
# expression a/10000