EnricoMi commented on code in PR #38676: URL: https://github.com/apache/spark/pull/38676#discussion_r1026695873
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala: ########## @@ -1938,7 +1940,10 @@ case class LateralJoin( joinType: JoinType, condition: Option[Expression]) extends UnaryNode { - require(Seq(Inner, LeftOuter, Cross).contains(joinType), + require(Seq(Inner, LeftOuter, Cross).contains(joinType match { Review Comment: just needed by `sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/DeduplicateRelationsSuite.scala`: val originalQuery = left.lateralJoin(right, UsingJoin(Inner, Seq("a"))) -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org