Cheng Hao created SPARK-1461:
--------------------------------
Summary: Support Short-circuit Expression Evaluation
Key: SPARK-1461
URL: https://issues.apache.org/jira/browse/SPARK-1461
Project: Spark
Issue Type: Improvement
Components: SQL
Reporter: Cheng Hao
Assignee: Cheng Hao
Fix For: 1.1.0
Short-circuit expression evaluation impacts the performance significantly.
e.g.
In expression: (a>b) && (c>d), if a>b equals false or null, the expression
value is false or null definitely without considering the value of sub
expression c>d.
However, if c or d contains a stateful UDF (for example, the UDF row_sequence)
as its child expression, we have to evaluate the stateful expression but ignore
its result.
--
This message was sent by Atlassian JIRA
(v6.2#6252)