Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7938

Fail early with good error message in LazyBinaryString#init

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This method seems to be called with illegal parameters from time to time. HIVE-3945 is one example and google shows more. This patch adds a better exception.

      I thought about also adding a log statement but I'm not too sure about that. On the other hand the exception message might be swallowed...open for suggestions.

      Attachments

        1. HIVE-7938.1.patch
          2 kB
          Lars Francke
        2. HIVE-7938.2.patch
          2 kB
          Lars Francke

        Activity

          People

            larsfrancke Lars Francke
            larsfrancke Lars Francke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: