Fix executable UDF command parameter validation#107983
Conversation
|
Workflow [PR], commit [42c2808] Summary: ✅
AI ReviewSummaryThis PR fixes the dead validation branch in executable UDF command-parameter parsing so empty or otherwise invalid placeholder names are no longer registered as command parameters, and it extends the integration test to cover the empty-name variants that were previously missing. I did not find any remaining correctness, compatibility, or test-coverage gaps in the current diff. Final Verdict✅ Approve. No new inline findings. |
The previous test only covered a non-empty invalid placeholder name
(`{test parameter:UInt64}`). The fix to `extractParametersFromCommand`
also rejects empty (`{:UInt64}`) and blank (`{ :UInt64}`) placeholder
names, as the changelog promises. Add `executable` UDF configs for both
cases and assert the specific `number of parameters does not match.
Expected 0. Actual 1` error for all three invalid-name variants, so the
test proves the full contract.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Merged fresh The only public-CI red was Also resolved the addressed (and now outdated) review thread about the dashed parameter name — the test config now uses a space ( The remaining |
|
Re-checked the branch and the fresh CI run (commit Both CI reds are unrelated, pre-existing master-wide flakes — neither touches executable-UDF command-parameter parsing: 1.
2.
@groeneai, the No code change is needed on this PR — it is ready to merge once CI settles. |
|
@alexey-milovidov The
I am tracking #108854 to confirm the desync stops on |
|
Re-checked the completed CI run on commit All three CI reds are unrelated, pre-existing master-wide flakes — none touches executable-UDF command-parameter parsing: 1. 2. 3.
@groeneai, the No code change is needed on this PR — it is correct, approved, and ready to merge once the flakes clear. |
|
Merged fresh The re-merge is worthwhile now (unlike at the time of the earlier triage) because the fixers for the three flake reds have since landed in
So the fresh run should clear reds #1 and #3 deterministically. The remaining possibility is the generic No code change is needed — the fix is correct, approved, and ready to merge once CI settles. |
LLVM Coverage ReportChanged lines: Changed C/C++ lines covered: 0/5 (0.00%) · Uncovered code |

Closes: #52023
Changelog category :
Changelog entry :
Fixed executable user-defined function command parameter parsing so placeholders with empty or invalid names are not accepted as parameters.
Version info
26.7.1.419