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
{{ message }}
Repository navigation
[Bug]: [Python] ReadFromParquet(as_rows=True) yields dicts for struct fields declared as Row #41100
For a Parquet file with a struct column, ReadFromParquet(..., as_rows=True) (the mode Beam YAML's ReadFromParquet uses) declares the field as a nested row in element_type, but each element holds a plain dict for that field. Code that relies on the declared schema, such as row.address.city in a Map or a Beam YAML MapToFields expression, fails at runtime with AttributeError: 'dict' object has no attribute 'city'.
The schema for as_rows=True is derived from the Arrow schema, so struct columns become nested row types, but the row values are built from Arrow data without converting nested struct values (which to_pylist() returns as dicts) into the corresponding row type. Nested struct values should be converted to the declared row type (recursively, including structs inside lists) so elements match element_type.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Activity
[CLI] Sync agent-simulation fixes: fast local runs, SQL NULL semantic…