@Override
    public DynamicTableSink createDynamicTableSink(Context context) {
        Configuration conf = FlinkOptions.fromMap(context.getCatalogTable().getOptions());
        adaptPathIfSyncMeta(context);
        return super.createDynamicTableSink(context);
    }
The DynamicTableSourceFactory and DynamicTableSinkFactory implements for hudi table.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hudi/src/main/java/org/apache/inlong/sort/hudi/table/HudiTableInlongFactory.java