You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2017/06/19 02:00:03 UTC
[jira] [Created] (SPARK-21134) Codegen-only expressions should not
be collapsed with upper CodegenFallback expression
Liang-Chi Hsieh created SPARK-21134:
---------------------------------------
Summary: Codegen-only expressions should not be collapsed with upper CodegenFallback expression
Key: SPARK-21134
URL: https://issues.apache.org/jira/browse/SPARK-21134
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 2.1.1
Reporter: Liang-Chi Hsieh
The rule {{CollapseProject}} in optimizer collapses lower and upper expressions if they have common expressions.
We have seen a use case that a codegen-only expression has been collapsed with an upper {{CodegenFallback}} expression. Because all children expressions under {{CodegenFallback}} will be evaluated with non-codegen path {{eval}}, it causes an exception in runtime.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org