private <I, F extends EncodingFormatFactory<I>> EncodingFormat<I> discoverEncodingFormat(
            Context context, Class<F> formatFactoryClass) {
        FactoryUtil.TableFactoryHelper helper = FactoryUtil.createTableFactoryHelper(this, context);
        if (formatFactoryExists(context, formatFactoryClass)) {
            return helper.discoverEncodingFormat(formatFactoryClass, FactoryUtil.FORMAT);
        } else {
            return null;
        }
    }
File system {@link TableFactory}.

<p>1.The partition information should be in the file system path, whether it's a temporary table
or a catalog table. 2.Support insert into (append) and insert overwrite. 3.Support static and
dynamic partition inserting.

copy from flink-table-runtime-blink:1.13.2-rc2
Add inlong metric option and inlong audit option for computing metric
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/filesystem/src/main/java/org/apache/inlong/sort/filesystem/FileSystemTableFactory.java