ulysses-you opened a new pull request #31879:
URL: https://github.com/apache/spark/pull/31879


   backport [#31856](https://github.com/apache/spark/pull/31856) for branch-3.1
   
   ### What changes were proposed in this pull request?
   
   Skip capture maven repo config for views.
   
   ### Why are the changes needed?
   
   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.
    
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   manual test pass
   ```
   build/sbt "test:testOnly *SQLQueryTestSuite" 
-Dspark.sql.maven.additionalRemoteRepositories=xxx
   ```
   
   Closes #31856 from ulysses-you/skip-maven-config.
   
   Authored-by: ulysses-you <[email protected]>
   Signed-off-by: Kent Yao <[email protected]>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to