You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2022/05/19 22:34:00 UTC

[jira] [Created] (IMPALA-11305) TypeError in impala-shell summary progress

Riza Suminto created IMPALA-11305:
-------------------------------------

             Summary: TypeError in impala-shell summary progress
                 Key: IMPALA-11305
                 URL: https://issues.apache.org/jira/browse/IMPALA-11305
             Project: IMPALA
          Issue Type: Bug
          Components: Clients
    Affects Versions: Impala 4.0.0
            Reporter: Riza Suminto


impala-shell failed with following error when installed using python3
{code:java}
File "/usr/local/lib/python3.6/site-packages/impala_shell/impala_shell.py", line 1102, in _periodic_wait_callback
    fragment_text = "[%s%s] %s%%\n" % ("#" * val, " " * (100 - val), val)
TypeError: can't multiply sequence by non-int of type 'float'
[Not connected] > {code}
Val is a result of division operation. val type is integer in python2, but change to float in python3.

This Jira is filed to note this issue along general works to make impala-shell compatible with python3 in IMPALA-3343.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)