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 "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/06/19 19:31:00 UTC

[jira] [Resolved] (IMPALA-3814) Clean up and refactor large try blocks in impala-shell

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

Tim Armstrong resolved IMPALA-3814.
-----------------------------------
    Resolution: Later

> Clean up and refactor large try blocks in impala-shell
> ------------------------------------------------------
>
>                 Key: IMPALA-3814
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3814
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Clients
>    Affects Versions: Impala 2.6.0
>            Reporter: Sailesh Mukil
>            Priority: Minor
>              Labels: shell
>
> One particular try block in impala_shell.py (in _execute_stmt()) is particularly large with a large chain of except statements. Not all of the except statements apply to all the code in the try block. This would be a lot cleaner if it's split up into multiple try blocks which each have only the required except statements.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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