[Python] Handle nested field names when sanitizing table at ParquetWriter when flavor='spark'
Open
Component: Python
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the enhancement requested
https://github.com/apache/arrow/blob/7a36fcc8b7456bea52911f9601b26be51d16265a/python/pyarrow/parquet/core.py#L743
This was first introduced in https://github.com/apache/arrow/commit/4a6a6cb47dcf832213f1fb31f2325ad10a3864bd and we should also check nested field names
### Component(s)
Python
Contributor guide
Assessment
This issue has not been assessed yet.