Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Need BADFILE option like oracle in LOAD DATA INFILE
There is already one open bug for warnings: MDEV-6166
Attachments
Issue Links
- relates to
-
MDEV-6166 Store all of LOAD DATA INFILE's warnings
-
- Open
-
- links to
Example structure of "badfile" table using table discovery
create table data (name varchar(10) not null,birthyear year not null, weight float not null) charset=utf8mb4
attempted insert
insert into data values ('Ash', '2004',4), ('Jovi', '2010', '30kg')
Data truncated for column 'weight' at row 2
*db<>fiddle here
Unresolved questions:
Multiple error tables possible or error file, or filename as composite PK with line number.