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

Do not capture maven config for views

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.1.2, 3.2.0
    • SQL
    • None

    Description

      Due to the bad network, we always use the thirdparty maven repo to run test. e.g.,

      build/sbt "test:testOnly *SQLQueryTestSuite" -Dspark.sql.maven.additionalRemoteRepositories=xxxxx
      

      It's failed with such error msg
      ```
      [info] - show-tblproperties.sql *** FAILED *** (128 milliseconds)
      [info] show-tblproperties.sql
      [info] Expected "...rredTempViewNames [][]", but got "...rredTempViewNames [][
      [info] view.sqlConfig.spark.sql.maven.additionalRemoteRepositories xxxxx]" Result did not match for query #6
      [info] SHOW TBLPROPERTIES view (SQLQueryTestSuite.scala:464)
      ```

      It's not necessary to capture the maven config to view since it's a session level config.

       

      Attachments

        Activity

          People

            ulysses XiDuo You
            ulysses XiDuo You
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: