added hives insert query