Todd Lipcon has submitted this change and it was merged.

Change subject: [python] - Fix bug with Python 3 in ColumnSpec.rename method
......................................................................


[python] - Fix bug with Python 3 in ColumnSpec.rename method

The rename method in the ColumnSpec class is not properly converting
strings to bytes, which adversly impacts only Python 3 since Python
3 treats strings and byte strings differently. This patch adds the
appropriate tobytes() method call in the ColumnSpec class and removes
the unecessary one from the AlterTable class.

Change-Id: Ia8b178af9baa44c7c3f31ceab604d68785890683
Reviewed-on: http://gerrit.cloudera.org:8080/5087
Reviewed-by: Todd Lipcon <[email protected]>
Tested-by: Kudu Jenkins
---
M python/kudu/client.pyx
M python/kudu/schema.pyx
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia8b178af9baa44c7c3f31ceab604d68785890683
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Jordan Birdsell <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to