[MCOL-1786] Handle "true" keyword for numeric data types in cpimport Created: 2018-10-10 Updated: 2018-11-21 Resolved: 2018-11-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | cpimport |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.2.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Gagan Goel (Inactive) | Assignee: | Zdravelina Sokolovska (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, relnote | ||
| Issue Links: |
|
||||||||
| Sprint: | 2018-20 | ||||||||
| Description |
|
I noticed that the cpimport utility currently does not handle "true" keyword. Inserting rows into a table with numeric columns assigned "true" values via the mariadb client works fine, but cpimport is converting these to 0 when imported via a text file. Here is an example:
Now inserting 2 records from a text file into this table using cpimport:
The new contents of the table:
I am assuming this is not intended behaviour. |
| Comments |
| Comment by Gagan Goel (Inactive) [ 2018-10-10 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PR 591 fixes this. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Zdravelina Sokolovska (Inactive) [ 2018-11-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
t7.csv: [root@um1 ~]# cpimport tt t7 t7.csv Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> select * from tt.t7 ;
-----
----- MariaDB [(none)]> |