IRealization.getCost() should return a meaningful value and QueryRouter will choose a cheapest realization.
Currently all cube's cost is 50 by default and not adjustable on GUI I believe. You may adjust cube's metadata directly. When costs are equal, the cube with minimal dimensions and metrics will be selected. On Thu, Jun 25, 2015 at 4:35 PM, dong wang <[email protected]> wrote: > for the code: org.apache.kylin.query.routing.QueryRouter.selectRealization > > if we have more than one suitable cube candidates, is it possible for users > to set some property such as weight under the "cube" tab on the web for > each cube to decide which cube is best to be selected manually? >
