pub fn referenced_field_paths(
expr: &Expression,
scope: &DType,
) -> VortexResult<FieldPathSet>Expand description
Returns the rooted field paths referenced by an expression.
Iterating the returned set (via IntoIterator) yields the prefix-minimal covering set: when
one referenced path is a prefix of another, only the prefix is kept. A standalone root
expression is represented by FieldPath::root, which conservatively selects all fields.
Scalar functions other than GetItem and Select conservatively reference each complete child
output.