@Override
      public List<Partition> run(List<Long> input) throws MetaException {
        return getPartitionsByPartitionIds(catName, dbName, tblName, input, isAcidTable, args);
      }
Gets partitions by using direct SQL queries.
@param filter The filter.
@param isAcidTable True if the table is ACID
@param args additional arguments for getting partitions
@return List of partitions.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java