Multiple Group By fields Not Working in Spark

I am Using Orientdb-spark connector to execute my query in spark.When I executed the query in orientdb studio i get correct results but when I executed via Spark I get Wrong result set because some functions like group by with multiple fields, unwind and Division of number are not working when executed in spark.I am using orientdb 3.0.14 and spark-orientdb 1.4. And my Query language is sql. Is there any solution for this problem?