Riza Suminto has uploaded this change for review. (
http://gerrit.cloudera.org:8080/18546
Change subject: IMPALA-11305: Fix TypeError in impala-shell summary progress
......................................................................
IMPALA-11305: Fix TypeError in impala-shell summary progress
impala-shell fail with TypeError when installed with python3. This is
due to behavior change of division operator ('/') between python2 vs
python3. This patch fix the issue by changing the operator with floor
division ('//') that result in integer type as described in
https://peps.python.org/pep-0238/.
Testing:
- Manually install impala-shell with from pip with python3 and verify
the fix works.
Change-Id: Ifbe4df6a7a4136e590f383fc6475e2283e35eadc
---
M shell/impala_shell.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/18546/1
--
To view, visit http://gerrit.cloudera.org:8080/18546
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifbe4df6a7a4136e590f383fc6475e2283e35eadc
Gerrit-Change-Number: 18546
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <[email protected]>