[MCOL-1792] Timestamp --> Datetime insert: milliseconds are wrongly inserted in CS Created: 2018-10-11 Updated: 2023-10-26 Resolved: 2018-11-09 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Kotsinova (Inactive) | Assignee: | Elena Kotsinova (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Sprint: | 2018-20 | ||||||||
| Description |
|
Using PDI bulk adapter the following issue is found: Result observed in CS after load is: Expected: Notes: PDI job script is attached. |
| Comments |
| Comment by Jens Röwekamp (Inactive) [ 2018-10-11 ] | |
|
It's a bug in mcsapi and therefore affecting PDI, remote cpimport and the Informatica PowerCenter adapters alike. elena.kotsinova: I added a test in mcsapi (which currently fails) and your test to PDI (which currently fails). As its a bug in the C++ part of mcsapi I'll hand it over to you LinuxJedi For QA:
Please test on Windows 10, one Debian / Ubuntu and CentOS 7. | |
| Comment by Andrew Hutchings (Inactive) [ 2018-11-05 ] | |
|
Jens' test had a flaw in it:
Should evaluate to 000042 since you only specified 42 microsesconds. The issue with this bug is if the string "00:01:15.42" had been specified this should convert to 420000 since this is 0.42 seconds. But it was converting to 000042. My patch fixes this as well as that test case and adds a new test case (mcol1792.cpp) |