adamreeve opened a new issue, #55446: URL: https://github.com/apache/arrow/issues/55446
The directory and filename dataset partitioning methods both accept a `segment_encoding` parameter, which defaults to URI encoding. However, this is only used when reading datasets, and writing ignores this option and always uses no encoding. This means that it's impossible to write certain values that aren't valid path segments, and also means values can round-trip incorrectly if they contain values that would be interpreted as percent-encoded during reading. This behaviour is also inconsistent with Hive partitioning, which encodes path segment values by default. Related to #34905, which is specific to Hive partitioning and has the opposite problem, where encoding is always used when writing and can't be opted out of. Fixing this would also solve #33507. -- 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]
