LuciferYang opened a new pull request, #13149: URL: https://github.com/apache/gluten/pull/13149
## What changes are proposed in this pull request? The per-thread switch `gluten.enabledForCurrentThread` was parsed with a raw `String.toBoolean`, so a non-boolean value such as `"yes"` failed with `IllegalArgumentException: For input string: "yes"` — the message names neither the property nor the expected type, and unlike the global config switch it bypasses the config layer's validation. The parse now throws an `IllegalArgumentException` naming the property and the offending value. ## How was this patch tested? Error-message text on the parse-failure path; no behavior change on valid input. ## Was this patch authored or co-authored using generative AI tooling? Yes. Generated-by: Claude Opus. -- 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]
