[ https://issues.apache.org/jira/browse/SPARK-39511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556024#comment-17556024 ]
Apache Spark commented on SPARK-39511: -------------------------------------- User 'wangyum' has created a pull request for this issue: https://github.com/apache/spark/pull/36909 > Push limit 1 to right side if join type is LeftSemiOrAnti and join condition > is empty > ------------------------------------------------------------------------------------- > > Key: SPARK-39511 > URL: https://issues.apache.org/jira/browse/SPARK-39511 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.4.0 > Reporter: Yuming Wang > Priority: Major > > Example: > {code:scala} > spark.range(10000).write.saveAsTable("t1") > spark.sql("select * from (select id, '1' as type from t1) where type in > (select cast(1 as string) from range(100))").show > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org