You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "David Ribeiro Alves (Code Review)" <ge...@ip-10-146-233-104.ec2.internal> on 2016/02/02 06:44:00 UTC

[kudu-CR] [python] - Allow to scan null values

Hello Wes McKinney,

I'd like you to reexamine a change.  Please visit

    http://gerrit.cloudera.org:8080/1989

to look at the new patch set (#2).

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
---
M python/kudu/client.pyx
M python/kudu/tests/test_scanner.py
2 files changed, 14 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/89/1989/2
-- 
To view, visit http://gerrit.cloudera.org:8080/1989
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0264c30d1177b31c92db1669c6b1883d1ec691ba
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <da...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Wes McKinney <we...@cloudera.com>