fix a bug of handling query in HiveAuthzPrivileges