Hi I am using apache calcite and I write query contain ranking but the VolcanoPlanner on apache calcite give exception on cost of ranking ,
the code :