Skip to content

error while read compressed stream Magic is not correct: 10 #591

@victortony

Description

@victortony

when i use
ClickHouseStatement sth = (ClickHouseStatement) connection.createStatement(); sth.write() .table("table1") .option("format_csv_delimiter", "\t") .data(new File("/path/to/testfile.txt"), ClickHouseFormat.TabSeparatedRaw, ClickHouseCompression.none) .send();

the exception throws which says that error while read compressed stream Magic is not correct: 10
the content of testfile.txt is

122334 sjjabbd0999999 20210309
122345 sjjabbd0999988 20210309

Will you please help me to check what problem with the my code, thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions