Skip to main content

partition_of

Function partition_of 

Source
pub fn partition_of(
    schema: &TableSchema,
    record: &HaysonRecord,
) -> Result<String, HaysonPartitionError>
Expand description

The partition record belongs to: UNPARTITIONED for a table with no partitionBy, and the value of the named field otherwise.