@Override
      public List<Partition> run(List<String> input) throws MetaException {
        return getPartitionsByNames(catName, dbName, tblName, partNames, false, args);
      }
Gets partitions by using direct SQL queries.
@param catName Metastore catalog name.
@param dbName Metastore db name.
@param tblName Metastore table name.
@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