private static void setupConfOptions(
            Configuration conf,
            ObjectIdentifier tablePath,
            CatalogTable table,
            ResolvedSchema schema) {
        // table name
        conf.setString(FlinkOptions.TABLE_NAME.key(), tablePath.getObjectName());
        // hoodie key about options
        setupHoodieKeyOptions(conf, table);
        // compaction options
        setupCompactionOptions(conf);
        // hive options
        setupHiveOptions(conf, tablePath);
        // read options
        setupReadOptions(conf);
        // write options
        setupWriteOptions(conf);
        // infer avro schema from physical DDL schema
        inferAvroSchema(conf, schema.toPhysicalRowDataType().notNull().getLogicalType());
    }
Sets up the config options based on the table definition, for e.g, the table name, primary key.

@param conf      The configuration to set up
@param tablePath The table path
@param table     The catalog table
@param schema    The physical schema
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hudi/src/main/java/org/apache/inlong/sort/hudi/table/HoodieTableFactory.java