westonpace commented on issue #11934:
URL: https://github.com/apache/arrow/issues/11934#issuecomment-1010308884
I poked around at this a bit. The error seems to be that write_dataset is
creating files with the application/xml content type and then
`minio.s3::save_object` is trying to parse the object as XML because of this
content type. I'm not entirely sure why application/xml is being set (I'm
pretty sure we default in Arrow to not setting the content type at all) so I'll
look into that a bit more.
If I hardcode the C++ to set the content-type to something else
(application/parquet) then minio.s3::save_object works fine.
```
(base) pace@pace-desktop:~$ mc stat myminio/bucket/test/part-0.parquet
Name : part-0.parquet
Date : 2022-01-11 09:41:14 HST
Size : 1.0 KiB
ETag : 6b320c21546ccf5bdb5920a709562598-1
Type : file
Metadata :
Content-Type: application/xml
```
--
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]