Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9274

Tests using golden files can fail depending on new line characters in queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.4.2, 1.5.0
    • None
    • SQL, Tests
    • None

    Description

      Golden files related to tests of o.a.s.sql.hive are named like *-<md5 of query strings>. Those MD5s are generated from queries whose new line character is "LF" not "CR".
      So, when we run those tests on Windows, it can fail.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sarutak Kousuke Saruta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: