austin362667 opened a new pull request, #12484: URL: https://github.com/apache/datafusion/pull/12484
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> Closes #12473. ## Rationale for this change Well explained in the issue. ## What changes are included in this PR? 1. Add `sorted_literals` when displaying `LiteralGuarantee` to ensure literals part of each guarantee element is deterministic. (Enough for Andy's case) 2. Add sorted `guarantees` to make sure the whole guarantees vector is deterministic. (Optional if more than one `required_guarantees`) ## Are these changes tested? Yes, I tested by using the code in `advanced_parquet_index` from `dattafusion-example`. Not sure is it necessary to add a specific test. ## Are there any user-facing changes? No, only if you EXPLAIN and display a physical plan, the results will be deterministic. -- 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]
