Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3814

Clean up and refactor large try blocks in impala-shell

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Impala 2.6.0
    • Fix Version/s: None
    • Component/s: Clients
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sailesh Sailesh Mukil
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: