You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2025/05/27 19:14:00 UTC

[jira] [Assigned] (IMPALA-14087) impala-shell's progress output can overwrite terminal results on Python 3

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

Joe McDonnell reassigned IMPALA-14087:
--------------------------------------

    Assignee: Joe McDonnell

> impala-shell's progress output can overwrite terminal results on Python 3
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-14087
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14087
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: Impala 5.0.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> When running impala-shell with Python 3 from a terminal, I see the last couple lines of output get overwritten when the live_progress is true. For example:
> {noformat}
> [localhost:21050] default> select count(*) from functional.alltypes a where id = sleep(5);
> Query: select count(*) from functional.alltypes a where id = sleep(5)
> Query submitted at: 2025-05-21 20:21:40 (Coordinator: http://joemcdonnell-22743:25000)
> Query state can be monitored at: http://joemcdonnell-22743:25000/query_plan?query_id=a84f988db62ef056:2f02ee4400000000
>                                                                                                                         
>                                                                                                                         
> +----------+
> | count(*) |
> +----------+
> Fetched 1 row(s) in 5.20s{noformat}
> It's not displaying the actual value for count(*). This doesn't happen when using live_progress=false. If I send the query output to a file via output_file, the file has the appropriate result.
> This has been around a while. It reproduces on 4.3.0 and maybe earlier (I didn't try earlier versions).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org