LuciferYang opened a new issue, #13700:
URL: https://github.com/apache/gluten/issues/13700

   When `spark.gluten.costModel` names a built-in cost model that the backend 
registers no coster for, the error does not say so. The ClickHouse backend only 
registers `LegacyCoster`, so the `rough` kind is never initialized and is 
missing from `LongCostModel.Kind.values()`. Setting 
`spark.gluten.costModel=rough` there makes `GlutenCostModel.find` treat `rough` 
as a class name and fail with `ClassNotFoundException: rough`. Even when the 
kind is known, `LongCostModel.Registry.get` returns an empty coster chain, and 
the failure only surfaces later as `Cost not found for node: ...`.
   
   Gluten could reject such a cost model when it is looked up and name the 
config.
   
   This issue was written with the assistance of AI (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]

Reply via email to