@Override
      public List<Object[]> run(List<String> input) throws Exception {
        String filter = "" + PARTITIONS + ".\"PART_NAME\" in (" + makeParams(input.size()) + ")";
        List<String> columns = Arrays.asList("\"PART_ID\"", "\"PART_NAME\"", "\"SD_ID\"", "\"WRITE_ID\"");
        return getPartitionFieldsViaSqlFilter(table.getDatabase().getCatalogName(), table.getDatabase().getName(),
                table.getTableName(), columns, filter, input, Collections.emptyList(), null);
      }
Alter partitions in batch using direct SQL
@param table the target table
@param partNames list of partition names
@param newParts list of new partitions
@param queryWriteIdList valid write id list
@return
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java