David Ribeiro Alves 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: I0264c30d1177b31c92db1669c6b1883d1ec691ba
Reviewed-on: http://gerrit.cloudera.org:8080/1989
Tested-by: Kudu Jenkins
Reviewed-by: David Ribeiro Alves <[email protected]>
---
M python/kudu/client.pyx
M python/kudu/tests/test_scanner.py
2 files changed, 14 insertions(+), 6 deletions(-)

Approvals:
  David Ribeiro Alves: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0264c30d1177b31c92db1669c6b1883d1ec691ba
Gerrit-PatchSet: 8
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Wes McKinney <[email protected]>

Reply via email to