private static void setupReadOptions(Configuration conf) {
        if (!conf.getBoolean(FlinkOptions.READ_AS_STREAMING)
                && (conf.getOptional(FlinkOptions.READ_START_COMMIT).isPresent()
                        || conf.getOptional(FlinkOptions.READ_END_COMMIT).isPresent())) {
            conf.setString(FlinkOptions.QUERY_TYPE, FlinkOptions.QUERY_TYPE_INCREMENTAL);
        }
    }
Sets up the read options from the table definition.
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hudi/src/main/java/org/apache/inlong/sort/hudi/table/HoodieTableFactory.java