-
Notifications
You must be signed in to change notification settings - Fork 6.2k
integrate lightning with LOAD DATA to support more file types and storage #40499
Copy link
Copy link
Closed
Labels
affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.report/customerCustomers have encountered this bug.Customers have encountered this bug.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Metadata
Metadata
Assignees
Labels
affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.report/customerCustomers have encountered this bug.Customers have encountered this bug.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Enhancement
LOAD DATA can load csv/parquet/sql type data files, with some compression, from s3/gcs...
work breakdown:
syntax
For CSV-like data source files, we support loading it from cloud storage when no LOCAL keyword, and we add NULL DEFINED BY clause to better support different NULL patterns.
format can be
delimited data(when format is omitted, default to this format),sql file,parquet.delimited datais normal MySQL format. when format issql file,parquet, there cannot befields...lines...ignoreLines...clauseload data option clause
allowed option include
local/tidbmodedisk-quota, only works on physical modechecksum, only works on physical modeanalyze, only works on physical moderegion-concurrencystrict-formatmax-errorsmore details will be posted later