[ https://issues.apache.org/jira/browse/SPARK-32811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191645#comment-17191645 ]
Apache Spark commented on SPARK-32811: -------------------------------------- User 'hotienvu' has created a pull request for this issue: https://github.com/apache/spark/pull/29661 > Replace IN predicate of continuous range with boundary checks > ------------------------------------------------------------- > > Key: SPARK-32811 > URL: https://issues.apache.org/jira/browse/SPARK-32811 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.1.0 > Reporter: Vu Ho > Priority: Major > > This expression > {code:java} > select a from t where a in (1, 2, 3, 3, 4){code} > should be translated to > {code:java} > select a from t where a >= 1 and a <= 4 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org