You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
infer_expression_type types a FieldReference from the first segment alone: type_inference.py returns schema.types[segment.struct_field.field] and never follows StructField.child. A nested reference such as row.f0.f0 is therefore typed as the outer struct, not the inner field.
This applies to every root type. Since #292 it is also reachable through lambda parameters: the spec's lambda_param_nested_struct.textproto example (person.address.city) with its parameter typed as the documented Person struct, infers the whole person struct, where it should infer city's string.
Activity