Writing a table to parquet, then reading it back fails if:
- One of the columns is a dictionary (came from a pandas Categorical), and
- Passing the table's schema to `read_table`
Failing on attempt to cast int64 into dictionary (full stack trace below).
This seems related to ARROW-11157 - but even if losing the categorical type when reading from parquet, the reader should not barf when reading with the schema.
Minimal example of failing code: