This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new ebfb6df  [SPARK-33141][SQL][FOLLOW-UP] Fix Scala 2.13 compilation
ebfb6df is described below

commit ebfb6df2e39e2bef711d8f700db745004f3847ce
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Dec 4 15:04:18 2020 -0800

    [SPARK-33141][SQL][FOLLOW-UP] Fix Scala 2.13 compilation
    
    ### What changes were proposed in this pull request?
    
    This PR aims to fix Scala 2.13 compilation.
    
    ### Why are the changes needed?
    
    To recover Scala 2.13.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass GitHub Action Scala 2.13 build job.
    
    Closes #30611 from dongjoon-hyun/SPARK-33141.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit b6b45bc695706201693572bfb87bcee310548945)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .../test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala 
b/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala
index 3cffc5b..f6172e3 100644
--- 
a/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala
+++ 
b/sql/core/src/test/scala/org/apache/spark/sql/execution/SQLViewTestSuite.scala
@@ -189,7 +189,7 @@ abstract class SQLViewTestSuite extends QueryTest with 
SQLTestUtils {
     for (i <- 1 to 10) {
       viewNames += createView(s"view$i", s"SELECT * FROM ${viewNames.last}")
     }
-    withView(viewNames.reverse: _*) {
+    withView(viewNames.reverse.toSeq: _*) {
       withSQLConf(MAX_NESTED_VIEW_DEPTH.key -> "10") {
         val e = intercept[AnalysisException] {
           sql(s"SELECT * FROM ${viewNames.last}")


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

Reply via email to