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

unit tests fail on windows because of difference in input file size

    XMLWordPrintableJSON

    Details

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

      Description

      Several qfile based tests fail on windows because in the output of explain extended, the total file size of input files shown is different on windows.
      This is because by default text files on windows are checked out with two char line endings, and *.dat files used as input files for the tables are considered as text files. So for every line in the .dat file, the size of the file is larger by 1 byte on windows.

        Attachments

        1. HIVE-4915.1.patch
          0.3 kB
          Thejas Nair

          Activity

            People

            • Assignee:
              thejas Thejas Nair
              Reporter:
              thejas Thejas Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: