Skip to content

lightning: support import compressed csv/sql files to save cost #38514

@lichunzhu

Description

@lichunzhu

Feature Request

Is your feature request related to a problem? Please describe:

Dumpling has already supported export compressed csv files in pingcap/dumpling#7.
We want lightning to support this format's compressed files.

Describe the feature you'd like:

make lightning support import compressed csv/sql files to save cost

Task

  • Compress Reader supports reading lzo/snappy/gzip type compressed files
  • Compress Writer supports writing lzo/snappy/gzip type compressed files
  • Dumpling compress adds lzo/snappy
  • Lightning file router default regular support for file name parsing compression
  • Lightning reads files with compression reader
  • Lightning disables splitting of large files in compressed CSV files
  • Lightning support breakpoint read for compressed files
  • Additional changes to the Lightning file router documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/dumplingThis is related to Dumpling of TiDB.component/lightningThis issue is related to Lightning of TiDB.type/feature-requestCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions