LIVE_PROGRESS Query Option (<keyword keyref="impala23"/> or higher only) LIVE_PROGRESS

LIVE_PROGRESS query option For queries submitted through the impala-shell command, displays an interactive progress bar showing roughly what percentage of processing has been completed. When the query finishes, the progress bar is erased from the impala-shell console output.

You can enable this query option within impala-shell by starting the shell with the --live_progress command-line option. You can still turn this setting off and on again within the shell through the SET command.

For a more detailed way of tracking the progress of an interactive query through all phases of processing, see .

Because the percentage complete figure is calculated using the number of issued and completed scan ranges, which occur while reading the table data, the progress bar might reach 100% before the query is entirely finished. For example, the query might do work to perform aggregations after all the table data has been read. If many of your queries fall into this category, consider using the LIVE_SUMMARY option instead for more granular progress reporting.

set live_progress=true; LIVE_PROGRESS set to true [localhost:21000] > select count(*) from customer; +----------+ | count(*) | +----------+ | 150000 | +----------+ [localhost:21000] > select count(*) from customer t1 cross join customer t2; [################################### ] 50% [######################################################################] 100% ]]>