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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.2, 2.1.0
    • 2.0.2, 2.1.0
    • SQL
    • 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 srowen 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

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

            Dates

              Created:
              Updated:
              Resolved: