[
https://issues.apache.org/jira/browse/SPARK-9938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-9938:
-----------------------------------
Assignee: Apache Spark
> Constant folding in binaryComparison
> ------------------------------------
>
> Key: SPARK-9938
> URL: https://issues.apache.org/jira/browse/SPARK-9938
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Yijie Shen
> Assignee: Apache Spark
>
> When we are comparing a int column with long literal, a < Int.MaxValue.toLong
> + 1L as a example, the analyzed plan would be LessThan(Cast(a, LongType),
> Literal).
> The result of predicate is determined and we could fold this at optimization
> phase.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]