public static String getPrefilledColumnValue( HiveColumnHandle columnHandle, HivePartitionKey partitionKey, Path path) { if (partitionKey != null) { return partitionKey.getValue(); } if (isPathColumnHandle(columnHandle)) { return path.toString(); } throw new PrestoException(NOT_SUPPORTED, "unsupported hidden column: " + columnHandle); }