Hive queries for get gradient table wrt maf vs rpm