Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParquetAvroFileOperations does not set dataSupplier #5115

Closed
clairemcginty opened this issue Dec 13, 2023 · 0 comments
Closed

ParquetAvroFileOperations does not set dataSupplier #5115

clairemcginty opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working parquet

Comments

@clairemcginty
Copy link
Contributor

clairemcginty commented Dec 13, 2023

Parquet-Avro will default to using a SpecificData model, which breaks GenericRecord reads if there's an available class on the classpath with the same name as the Avro schema due to SpecificData's class lookup implementation. In contrast, ParquetAvroIO in scio-parquet always sets dataSupplier for generic reads.

I put up a branch with a sample repro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parquet
Projects
None yet
Development

No branches or pull requests

3 participants