srowen commented on a change in pull request #26826: 
[SPARK-30195][SQL][CORE][ML] Change some function, import definitions to work 
with stricter compiler in Scala 2.13
URL: https://github.com/apache/spark/pull/26826#discussion_r355827106
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/expressions/Window.scala
 ##########
 @@ -19,7 +19,7 @@ package org.apache.spark.sql.expressions
 
 import org.apache.spark.annotation.Stable
 import org.apache.spark.sql.Column
-import org.apache.spark.sql.catalyst.expressions._
+import org.apache.spark.sql.catalyst.expressions.{WindowSpec => _, _}
 
 Review comment:
   I think this was an error, sort of; the wildcard import shadowed the 
package's WindowSpec, which seems to be what's intended. The resolution worked 
incorrectly in 2.13 as a result.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to