Skip to main content

unwrap_dictionary

Function unwrap_dictionary 

Source
fn unwrap_dictionary(data_type: &DataType) -> &DataType
Expand description

The type a column names once its dictionary encoding is taken off.

A label column is dictionary-encoded in the existing planner’s plan and plain text in the fused plan’s. That is the one difference between the two answers for the same column that an expression can carry: a cast reproduces the encoding, and the values stay the same strings.