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/23 22:55:00 UTC

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

     [ https://issues.apache.org/jira/browse/IMPALA-11305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Riza Suminto resolved IMPALA-11305.
-----------------------------------
    Target Version: Impala 4.2.0
        Resolution: Fixed

The fix has been merged.

> 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
>            Assignee: Riza Suminto
>            Priority: Minor
>              Labels: ramp-up, shell
>
> 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)