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/04 07:51:38 UTC
[kudu-CR](branch-0.7.0) [python] - Allow to scan null values
Hello Kudu Jenkins,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/2039
to review the following change.
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 <da...@cloudera.com>
---
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/39/2039/1
--
To view, visit http://gerrit.cloudera.org:8080/2039
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If340213cf5daba50c60d271530c21b109c8cd2f3
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: branch-0.7.0
Gerrit-Owner: David Ribeiro Alves <da...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins