Skip to content

[Bug] The default format of the manifest files is inconsistent. #96

@ChaomingZhangCN

Description

@ChaomingZhangCN

Search before asking

  • I searched in the issues and found nothing similar.

Paimon-cpp version

The default format of the manifest files is inconsistent.

core_options.cpp

PAIMON_RETURN_NOT_OK(parser.ParseObject<FileFormatFactory>(
        Options::MANIFEST_FORMAT, /*default_identifier=*/"orc", &impl->manifest_file_format));
PAIMON_RETURN_NOT_OK(parser.ParseFileSystem(fs_scheme_to_identifier_map, specified_file_system,
                                            &impl->file_system));

CoreOptions.java

public static final ConfigOption<String> MANIFEST_FORMAT =
        key("manifest.format")
                .stringType()
                .defaultValue(CoreOptions.FILE_FORMAT_AVRO)
                .withDescription("Specify the message format of manifest files.");

Minimal reproduce step

When generating a plan for a table written in Java.

What doesn't meet your expectations?

Invalid: create orc file batch reader failed for file xxx, with Not an ORC file error

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions