Skip to content

[Bug]: parquet load does not support empty file. #23601

Closed

Description

@Ariznawlll

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

9df85e1

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

create table empty_table(col1 int, col2 decimal);

load data infile {'filepath'='/Users/ariznawl/test/test_script/parquet/mo_parquet_compression_test/empty_test.parquet', 'format'='parquet'} into table test.empty_table;

Image

please contact me privately for parquet file.

Expected Behavior

No response

Steps to Reproduce

as above

Additional information

No response

Activity

  1. added this to the MO-202601 milestone on Jan 26, 2026
  2. added
    kind/bug
    on Jan 26, 2026
  3. added theissue type on Jan 26, 2026
  4. added
    severity/s0
    on Jan 26, 2026
  5. Ariznawlll commented on Jan 27, 2026

    @Ariznawlll
    CollaboratorAuthor

    问题总结:

    1. parquet文件为空,parquet文件的列名与mo表的列名数量一致,可以load成功(现在不行);

    2. parquet文件为空,如果parquet文件的列数量不一致,load失败(现在可以)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions