wgtmac commented on issue #307: URL: https://github.com/apache/iceberg-cpp/issues/307#issuecomment-3519607213
We have two libraries: `libiceberg` and `libiceberg-bundle`. `libiceberg` only uses interfaces of `FileIO`, `Reader` and `Writer` and downstream projects are responsible for implementing these. `ArrowFileSystemFileIO` (from `libiceberg-bundle`) is just an example to demonstrate how we can do that with the Arrow library. Since `libiceberg` only deals with metadata json file so `FileIO` simply depends on simple read and write operations. `libiceberg-bundle` itself knows that the `FileIO` implementation is actually the `ArrowFileSystemFileIO` so the best practice is to down cast `FileIO` to `ArrowFileSystemFileIO` so we can have access to `arrow::fs::FileSystem` which is required by the Parquet reader and writers without conversion. -- 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]
