Jean-Daniel Cryans has submitted this change and it was merged.

Change subject: [python] - Allow to scan null values
......................................................................


[python] - Allow to scan null values

Currently scanning a column with null values causes a crash when
the client tries to get the null value.

This adds an is_null() check so that we add 'None' to the tuple
if the value is null in the tablet.

This also alters the scanner test to produce and read null values.

Change-Id: If340213cf5daba50c60d271530c21b109c8cd2f3
Reviewed-on: http://gerrit.cloudera.org:8080/1989
Tested-by: Kudu Jenkins
Reviewed-by: David Ribeiro Alves <[email protected]>
Reviewed-on: http://gerrit.cloudera.org:8080/2039
Reviewed-by: Jean-Daniel Cryans
---
M python/kudu/client.pyx
M python/kudu/tests/test_scanner.py
2 files changed, 14 insertions(+), 6 deletions(-)

Approvals:
  Jean-Daniel Cryans: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/2039
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If340213cf5daba50c60d271530c21b109c8cd2f3
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: branch-0.7.0
Gerrit-Owner: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans
Gerrit-Reviewer: Kudu Jenkins

Reply via email to