You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Yuanhao Luo (Code Review)" <ge...@cloudera.org> on 2016/06/03 06:01:13 UTC

[Impala-CR](cdh5-trunk) IMPALA-2878: Remove unused function and duplicate codes.

Yuanhao Luo has uploaded a new patch set (#5).

Change subject: IMPALA-2878: Remove unused function and duplicate codes.
......................................................................

IMPALA-2878: Remove unused function and duplicate codes.

Original impala::Base64Decode() method wouldn't return original string if
there were trailing '\0'. For example, string "a\0" would be encoded into
"YQA=", whild calling original Base64Decode() method, the return value
is "a", which losts the trailing '\0' of original string "a\0". Thinking
that this function isn't used anywhere, this commit just remove it. Besides
this commit remove duplicate codes of function impala::Base64Encode() and
impala::StringFunctions::Base64Encode().

Change-Id: If3c46023754139ee7eeceeb3b77a3be5d156d608
---
M be/src/exprs/string-functions-ir.cc
M be/src/util/url-coding-test.cc
M be/src/util/url-coding.cc
M be/src/util/url-coding.h
4 files changed, 46 insertions(+), 69 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/44/3244/5
-- 
To view, visit http://gerrit.cloudera.org:8080/3244
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If3c46023754139ee7eeceeb3b77a3be5d156d608
Gerrit-PatchSet: 5
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Yuanhao Luo <lu...@software.ict.ac.cn>
Gerrit-Reviewer: Huaisi Xu <hx...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Yuanhao Luo <lu...@software.ict.ac.cn>