[MCOL-1321] bulk write sdk python bindings does not support status out param in setColumn Created: 2018-04-04 Updated: 2023-10-26 Resolved: 2018-05-15 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.2 |
| Fix Version/s: | 1.1.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | David Thompson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | relnote | ||
| Sprint: | 2018-08, 2018-09, 2018-10 |
| Description |
|
the setColumn method has an optional 3rd status parameter that is an output parameter. With the current python swig binding you can't access it. See this section for details to override the mapping to allow adding it to the return value: This allows you to retrieve if the specified value was invalid and mapped to 0. Also worth checking the rest of the api for output arguments as well. |
| Comments |
| Comment by Jens Röwekamp (Inactive) [ 2018-04-06 ] | ||||||||||||||||
|
This update will break the API usage, as ColumnStoreBulkInsert.setColumn's() output datatype will change from ColumnStoreBulkInsert to a tuple of (ColumnStoreBulkInsert, status). Therefore, statements like
need to be rewritten. | ||||||||||||||||
| Comment by Jens Röwekamp (Inactive) [ 2018-04-07 ] | ||||||||||||||||
|
Added the API calls for Java to get additional status information when invoking setColumn(). Example invocation:
| ||||||||||||||||
| Comment by David Thompson (Inactive) [ 2018-05-15 ] | ||||||||||||||||
|
Verified regression tests and manual test. |