private List<String> getPartitionKeys() {
        /*
         * if (table != null) { return
         * table.getPartitionKeys().stream().map(FieldSchema::getName).collect(Collectors.toList()); }
         */
        return catalogTable.getPartitionKeys();
    }
Table sink to write to Hive tables.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hive/src/main/java/org/apache/inlong/sort/hive/HiveTableSink.java