[MDEV-18161] LOAD DATA INFILE failed "DATA TRUNCATED FOR COLUMN [0] AT ROW 1" Created: 2019-01-07 Updated: 2019-01-07 Resolved: 2019-01-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.2.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Margaret Tarbet | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
FreeBSD 11.0 Release running on Supermicro 2558 board w/16GB, ZFS 3-way mirror |
||
| Description |
|
I'm trying to LOAD DATA INFILE because doing inserts is taking forever. But it fails, complaining that the data in the first column of the first row is being truncated. No error number. The data is from geonames.org, one line per record, that I massaged to add dquotes around fields, tabs in between, and a newline to terminate lines. The SQL command is The table def is |
| Comments |
| Comment by Elena Stepanova [ 2019-01-07 ] |
|
Please paste the actual error you are getting as is, rather than the verbal description of it, and the row from the data file. If there is confidential information in it, you can obfuscate it, but keep the lengths of the values intact. |
| Comment by Margaret Tarbet [ 2019-01-07 ] |
|
Error message: Line from file (there are tabs between fields - they just don't show here): |
| Comment by Margaret Tarbet [ 2019-01-07 ] |
|
Scratch this...operator error. |