Joe McDonnell created IMPALA-14087:
--------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]