[MCOL-4276] LOAD DATA INFILE DOES NOT WORK - TABLE DATA IS MUNGED Created: 2020-08-25 Updated: 2023-07-02 Resolved: 2023-07-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Justin Swanhart | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | None | ||
| Description |
|
> Create a text file with the following values: |
| Comments |
| Comment by Justin Swanhart [ 2020-08-25 ] |
|
I tested LOAD DATA INFILE both with and without enclosures, and it munges the data EVERY TIME. cpimport loaded the data properly. The file is formatted properly. The file can be loaded on InnoDB. Do not delete this bug. LOAD DATA INFILE does not work. Tested on Ubuntu 18 LTE. |
| Comment by Valerii Kravchuk [ 2020-08-25 ] |
|
See https://jira.mariadb.org/browse/MCOL-4103 and try not to use utf8mb4 in this context. |
| Comment by Justin Swanhart [ 2020-08-25 ] |
|
Note that the database is in STRICT mode, and it loads the data and leaves it in a bad state, it should have rolled back the LOAD DATA INFILE. Everything after LO_OrderPriority is munged. There are no NULL values in the file, there are no negative values in the file. It is the SSB lineorder table created by the ssb data generator. It should not have committed the data with saturated values, and it should not have written any "saturated" values, since there are not bad values in the table. It loads perfectly into InnoDB, but can not be loaded into columnstore. |
| Comment by Justin Swanhart [ 2020-08-25 ] |
|
Valerii: it works from cpimport though - and none of the columns have anything but latin1 characters. And the data loads into InnoDB. |
| Comment by Todd Stoffel (Inactive) [ 2023-07-02 ] |
|
Tested in Community Server 11.1.1 with ColumnStore 23.02.3 and this is no longer a problem. |