HyukjinKwon opened a new pull request, #48456:
URL: https://github.com/apache/arrow/pull/48456

   ### Rationale for this change
   
   
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 
but did not implement the logic to handle nested types.
   
   ### What changes are included in this PR?
   
   This PR implements the nested handling for the sanitising the field names 
ParquetWriter (flavor='spark')
   
   ### Are these changes tested?
   
   Unittests were added, and manually tested via:
   
   ```
   pytest python/pyarrow/tests/parquet/test_basic.py -k 'sanitized_spark' -v
   ```
   
   ### Are there any user-facing changes?
   
   Yes. It sanitize the field names when `ParquetWriter` is used with `flavor` 
set to `'spark'`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to