Hive
  1. Hive
  2. HIVE-469

empty files are not handled properly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      empty files are not handled properly.

      The job fails if a union is performed on a sub-query with a empty partition.

      1. hive.469.1.patch
        23 kB
        Namit Jain
      2. hive.469.2.patch
        35 kB
        Namit Jain
      3. hive.469.3.patch
        36 kB
        Namit Jain

        Issue Links

          Activity

          Hide
          Ashish Thusoo added a comment -

          committed. Thanks Namit!!

          Show
          Ashish Thusoo added a comment - committed. Thanks Namit!!
          Hide
          Ashish Thusoo added a comment -

          I already merged it into trunk. Will mark this as fixed.

          Show
          Ashish Thusoo added a comment - I already merged it into trunk. Will mark this as fixed.
          Hide
          Namit Jain added a comment -

          I dont think we need it in 0.3 - it is a pretty esoteric case.
          Did you already merge it in trunk ?

          Show
          Namit Jain added a comment - I dont think we need it in 0.3 - it is a pretty esoteric case. Did you already merge it in trunk ?
          Hide
          Ashish Thusoo added a comment -

          A bunch of classes that are needed in addInputPath are not there in 0.3, so I think we will have to generate a new patch for 0.3 or agree to not fix this in 0.3. I do feel that this is important enough that we should get a fix for this issue in 0.3.

          Thoughts?

          Show
          Ashish Thusoo added a comment - A bunch of classes that are needed in addInputPath are not there in 0.3, so I think we will have to generate a new patch for 0.3 or agree to not fix this in 0.3. I do feel that this is important enough that we should get a fix for this issue in 0.3. Thoughts?
          Hide
          Ashish Thusoo added a comment -

          I am not able to apply this patch in 0.3 branch. Can you generate another one for 0.3? Will also try on my end.

          Show
          Ashish Thusoo added a comment - I am not able to apply this patch in 0.3 branch. Can you generate another one for 0.3? Will also try on my end.
          Hide
          Ashish Thusoo added a comment -

          Looks good to me.

          +1

          Will run the tests and check in if they succeed.

          Show
          Ashish Thusoo added a comment - Looks good to me. +1 Will run the tests and check in if they succeed.
          Hide
          Namit Jain added a comment -

          As part of this, changed nullgroup3.q to drop the tables at the end - it was leading to some intermittent problems for other tests

          Show
          Namit Jain added a comment - As part of this, changed nullgroup3.q to drop the tables at the end - it was leading to some intermittent problems for other tests
          Hide
          Namit Jain added a comment -

          incorporated ashish's comments

          Show
          Namit Jain added a comment - incorporated ashish's comments

            People

            • Assignee:
              Namit Jain
              Reporter:
              Namit Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development