List of usage examples for com.amazonaws.services.glue.model PartitionInput getParameters
public java.util.Map<String, String> getParameters()
These key-value pairs define partition parameters.
From source file:com.facebook.presto.hive.metastore.glue.converter.GlueInputConverter.java
License:Apache License
public static PartitionInput convertPartition(PartitionWithStatistics partitionWithStatistics) { PartitionInput input = convertPartition(partitionWithStatistics.getPartition()); PartitionStatistics statistics = partitionWithStatistics.getStatistics(); if (!statistics.getColumnStatistics().isEmpty()) { throw new PrestoException(NOT_SUPPORTED, "Glue metastore does not support column level statistics"); }//from w w w. ja va2 s . co m input.setParameters(updateStatisticsParameters(input.getParameters(), statistics.getBasicStatistics())); return input; }