@SuppressWarnings("unchecked")
  static <T> T executeWithArray(Query query, Object[] params, String sql) throws MetaException {
    return (T)executeWithArray(query, params, sql, -1);
  }
Helper utilities used by DirectSQL code in HiveMetastore.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDirectSqlUtils.java