jackylee-ch opened a new pull request, #917: URL: https://github.com/apache/paimon-rust/pull/917
The unknown-argument check only ran for the six REST management procedures (`management_parameters` gated the guard), so a mistyped optional argument to a tag or index procedure was silently dropped. `create_tag(..., snapshotid => 5)` tags the latest snapshot instead of snapshot 5, and `create_global_index(..., index_typ => 'bitmap')` builds the default btree — no error either time. A later `rollback_to` on that tag then restores the wrong data. Java rejects a CALL argument that no parameter declares (`ProcedureBase`), which is why the guard was added (#837); it was just never extended past the management set. This declares the parameters of all eight tag/index procedures and runs the same check for every procedure through one `reject_unknown_args` helper. `drop_global_index` still routes `partitions`/`dry_run` to their existing "not supported yet" errors rather than reporting them unknown. -- 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]
