[Python][Parquet] ParquetWriter reports incorrect schema when specified at wrong order
Open
Component: Parquet
Component: Python
Type: bug
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the bug, including details regarding any error messages, version, and platform.
When I try to write a table to a `ParquetWriter`, specifying schema in a different order gives an error:
```
ValueError: Table schema does not match schema used to create file:
table:
cmdline: list
child 0, item: string
time: double
lock: string vs.
file:
time: double
cmdline: list
child 0, item: string
lock: string
```
### Component(s)
Parquet, Python
Contributor guide
Assessment
This issue has not been assessed yet.