surendralilhore opened a new issue, #12034: URL: https://github.com/apache/gluten/issues/12034
### Backend VL (Velox) ### Bug description Starting from Spark 4.1, [SQLConf.get.getConf(SQLConf.MAP_KEY_DEDUP_POLICY)](https://github.com/apache/spark/blob/3c1a8423d8d330facbfd25b55c80fc01c32f357c/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L5277) returns an enum value instead of a String. The existing comparison against the `.toString` of the `EXCEPTION` variant would always evaluate to not-equal (comparing enum != String), incorrectly rejecting `str_to_map` offloading even when the policy is set to `EXCEPTION`. Add `.toString` on the left side so both operands are compared as Strings, restoring correct behavior across all Spark versions. ### Gluten version main branch ### Spark version spark-4.0.x ### Spark configurations _No response_ ### System information _No response_ ### Relevant logs ```bash ``` -- 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]
