Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-19

NPE when an empty file is included in a Hive query that uses CombineHiveInputFormat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Make sure the valueObj instance variable is always initialized. This change is neeeded when running a Hive query that uses the CombineHiveInputFormat and the first file in the combined split is empty. This can lead to a NullPointerException because the valueObj is null when the CombineHiveInputFormat calls the createValue method.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matt.martin Matt Martin
                Reporter:
                matt.martin Matt Martin
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: