You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vu Ho (Jira)" <ji...@apache.org> on 2020/09/08 09:52:00 UTC
[jira] [Updated] (SPARK-32811) Replace IN predicate of continuous
range with boundary checks
[ https://issues.apache.org/jira/browse/SPARK-32811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vu Ho updated SPARK-32811:
--------------------------
Priority: Minor (was: Major)
> 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: Minor
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org