Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
None
-
None
-
None
-
Debian 9
Description
Inserting a negative integer through the columnstore API which is mapped to a unsigned integer field results in a positive result instead of 0.
If inserting the same value through SQL it is masked to 0.
Reproducible by changing lines 73 and 92 of dataconvert-int.cpp to:
bulk->setColumn(2, (uint64_t) -1);
and
ASSERT_STREQ(row[2], "0");