dongjoon-hyun commented on a change in pull request #31026:
URL: https://github.com/apache/spark/pull/31026#discussion_r552396430
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
##########
@@ -2150,9 +2150,6 @@ class Analyzer(override val catalogManager:
CatalogManager)
lead.copy(ignoreNulls = ignoreNulls)
case lag: Lag =>
lag.copy(ignoreNulls = ignoreNulls)
- case _ =>
- throw
QueryCompilationErrors.functionWithUnsupportedSyntaxError(
- owf.prettyName, "IGNORE NULLS")
Review comment:
Scala compiler intelligently understands `sealed` semantics. That is a
compilation failure in Scala 2.13.
> For example, we could implement some new expression that implements
FrameLessOffsetWindowFunction later
If you see the PR description of #30455 , I wrote like the following. Since
we upgrade to Scala 2.13.4, we are safe unless the committer ignores GitHub
Action job.
> Fix exhaustivity issues in both Scala 2.12/2.13 (Scala 2.13.4 requires
this for compilation.)
----------------------------------------------------------------
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]