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

Clean up and refactor large try blocks in impala-shell

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Later
    • Impala 2.6.0
    • None
    • Clients

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment