Hi Raajay, #1 No, there is no API for this. #2 If you enable Logging (BaseSemanticAnalyzer) then CalcitePlanner will print out the plan with cost.
John From: Raajay <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Monday, August 10, 2015 at 8:48 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Hive CBO - Calcite Interface nterface for Hive to get the absolute cost (based on Hive Cost Factory) of a operator tree returned by Calcite ?
