You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takuya Ueshin (JIRA)" <ji...@apache.org> on 2016/11/25 05:23:58 UTC
[jira] [Created] (SPARK-18585) Use `ev.isNull = "false"` if
possible for Janino to have a chance to optimize.
Takuya Ueshin created SPARK-18585:
-------------------------------------
Summary: Use `ev.isNull = "false"` if possible for Janino to have a chance to optimize.
Key: SPARK-18585
URL: https://issues.apache.org/jira/browse/SPARK-18585
Project: Spark
Issue Type: Improvement
Components: SQL
Reporter: Takuya Ueshin
Janino can optimize {{true ? a : b}} into {{a}} or {{false ? a : b}} into {{b}}, or if/else with literal condition, so we should use literal as {{ev.isNull}} if possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org