presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/SortingColumn.java/SortingColumn/fromMetastoreApiOrder
class SortingColumn:    public static SortingColumn fromMetastoreApiOrder(org.apache.hadoop.hive.metastore.api.Order order, String tablePartitionName)
    {
        return new SortingColumn(order.getCol(), Order.fromMetastoreApiOrder(order.getOrder(), tablePartitionName));
    }