Omkar-Wagholikar commented on PR #27546: URL: https://github.com/apache/datafusion/pull/27546#issuecomment-7249076310
Thanks @alamb these are fair concerns. The motivation is basically just the issue:#25253 On the risk: you're right that created_by can be overridden (WriterProperties::set_created_by, and DataFusion exposes it too). The change only applies when created_by is exactly parquet-rs/datafusion with a legacy version, and every other or unparseable value keeps the 56.0.0 behavior. The wrong-result case needs a file that claims a legacy writer but has counts missing for another reason, such as a tampered footer. If you'd still rather not trust created_by, I could put this behind an opt-in config (default off), so only users who know their files come from legacy writers enable it. Or I'm happy to close this if you and @jayzhan211 think the risk isn't worth it. Which would you prefer? -- 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]
