Spark Driver also uses hive thrift server as an execution engine. Both spark and hive drivers are eligible for executing the same cube query. Right now, Jdbc has Query cost 0.0 and Hive driver has 1.0. Spark driver also uses same query cost as hive driver which is 1.0.
We can introduce a weighted driver selector which will submit configured % of queries to spark driver for execution.