ryux1 opened a new pull request, #19850: URL: https://github.com/apache/hudi/pull/19850
### Describe the issue this Pull Request addresses Closes #19638. Procedure filters only resolve a deliberately bounded set of functions. Previously, validation checked column names but not function names, so an unsupported or misspelled function survived as an `UnresolvedFunction`; per-row evaluation then failed and converted every row to a non-match. Users received an empty result instead of a useful error. ### Summary and Changelog - Define the function names supported by the evaluator's existing resolution table. - Collect unresolved function references during filter preflight and reject unsupported names. - Return a deterministic error listing both unsupported and supported functions. - Flip the pinned regression to verify rejection of multiple unsupported functions while retaining a supported-function control. ### Impact Invalid procedure filters now fail fast with an actionable message instead of silently returning no rows. Supported filters and the evaluator's function set are unchanged. ### Risk Level Low. The change only strengthens the existing validation path used before procedure-filter evaluation. Function-name matching follows the evaluator's existing lowercase, first-name-part behavior. `git diff --check` passes, and a source-derived comparison confirms that the allowlist matches every function-name branch in the resolver. The local environment does not contain Java or Maven, so hosted CI is required for Scala compilation and test execution. ### Documentation Update None; this corrects error handling for an existing internal filtering utility. ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [x] Adequate tests were added if applicable Developed with assistance from OpenAI Codex. -- 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]
