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

Fix default value test in SQLConfSuite to work regardless of warehouse dir's existence

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.1.0
    • Fix Version/s: 2.0.2, 2.1.0
    • Component/s: SQL
    • Labels:
      None

      Description

      At least on my mac (with JDK 1.7.0_67), default value of WAREHOUSE_PATH in SQLConfSuite fails because left side of the assert doesn't have a trailing slash while the right does.

      As Sean Owen mentions here, the JVM adds a trailing slash if the directory exists and doesn't if it doesn't. I think it'd be good for the test to work regardless of the directory's existence.

        Attachments

          Activity

            People

            • Assignee:
              mgrover Mark Grover
              Reporter:
              mgrover Mark Grover
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: