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

Load data query should validate file formats with destination tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 2.0.0
    • 1.3.0, 2.0.0
    • None
    • None

    Description

      Load data local inpath queries does not do any validation wrt file format. If the destination table is ORC and if we try to load files that are not ORC, the load will succeed but querying such tables will result in runtime exceptions. We can do some simple sanity checks to prevent loading of files that does not match the destination table file format.

      Attachments

        1. HIVE-11118.2.patch
          16 kB
          Prasanth Jayachandran
        2. HIVE-11118.3.patch
          16 kB
          Prasanth Jayachandran
        3. HIVE-11118.4.patch
          16 kB
          Gunther Hagleitner
        4. HIVE-11118.patch
          9 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              prasanth_j Prasanth Jayachandran
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: