Skip to main content

Module partition

Module partition 

Source
Expand description

Splitting a query into range partitions on a numeric column.

Structs§

PartitionQuery
Request to split a query into num range partitions on an integer column.

Functions§

get_col_range
Return the minimum and maximum of column col in the result of query.
get_col_range_with_pre_queries
Like get_col_range, but runs pre_execution_queries first (MySQL and Postgres only).
get_part_query
Return query restricted to rows where col is in [lower, upper).
partition
Split the query described by part into partition queries.