nuno-faria opened a new pull request, #24774: URL: https://github.com/apache/datafusion/pull/24774
## Which issue does this PR close? - Closes #24773. ## Rationale for this change Minor fix to show a valid field name only once in the "Valid fields" error message. ## What changes are included in this PR? - Add `unique` when collecting valid fields for the `FieldNotFound` error at `normalize_with_schemas_and_ambiguity_check`. Since multiple levels of schema are tested in that function, the same field can appear multiple times. ## Are these changes tested? Yes. ## Are there any user-facing changes? No. -- 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]
