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

Dynamic partitioning cannot be applied to external table which contains part-spec like directory name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      Some users want to use part-spec like directory name in their partitioned table locations, something like,

      /something/warehouse/some_key=some_value
      

      DP calculates additional partitions from full path, and makes exception something like,

      Failed with exception Partition spec {some_key=some_value, part_key=part_value} contains non-partition columns
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask
      

      Attachments

        1. HIVE-11662.1.patch.txt
          5 kB
          Navis Ryu
        2. HIVE-11662.2.patch.txt
          12 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              navis Navis Ryu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: