rdblue commented on PR #5439: URL: https://github.com/apache/iceberg/pull/5439#issuecomment-1207500016
> Alright, in that case, it doesn't make sense to implement this in the actual code. I'll create a wrapper for any FileIO that will first create the directory. I don't think I follow. The expectation is that `OutputStream.create` will create the file and any necessary directory structure above it. That's the default behavior for HDFS, S3, and other object stores, so I don't think that we need a generic wrapper. We may need to ensure that directories exist for some URI schemes in specific implementations (maybe arrow doesn't do this?) but I don't think we could make a generic wrapper that does it. At least, I don't see what a generic wrapper would call. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
