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

test outputs should compare the file/directory for sampling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, all lines starting with file: are ignored.

      It means that

      file:/Users/heyongqiang/Documents/workspace/Hive-Test/build/ql/test/data/warehouse/srcbucket/srcbucket0.txt [s]

      and

      file:/Users/heyongqiang/Documents/workspace/Hive-Test/build/ql/test/data/warehouse/srcbucket [s]

      are same - that is not good because it will hide some of the optimizations of sampling.
      This should be changed to compare the last token.

        Attachments

        1. HIVE-976.patch
          617 kB
          John Sichi
        2. HIVE-976.2.patch
          630 kB
          John Sichi

          Activity

            People

            • Assignee:
              jvs John Sichi
              Reporter:
              namit Namit Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: