marioloko commented on PR #3013: URL: https://github.com/apache/arrow-rs/pull/3013#issuecomment-1304564802
If we want to hide the `CodecOptions` probably we have to create a `ReadProperties` struct. Which in this case is only a wrap around `CodecOptions` but different config could be included, the restrictions for fields in this struct is to be `Send` and `Sync`, and to be read only. In contrast with `ReadOptions` which consumes the fields and is not `Send` nor `Sync`. This problem also implies implementing setters multiple times, but we can use the same `ReadPropertiesPtr` for `SerializedPageReader` and `SerializedRowGroupReader`. @tustvold what do you think? -- 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]
