You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Hao (JIRA)" <ji...@apache.org> on 2014/10/11 18:13:34 UTC
[jira] [Created] (SPARK-3911) HiveSimpleUdf can not be optimized in
constant folding
Cheng Hao created SPARK-3911:
--------------------------------
Summary: HiveSimpleUdf can not be optimized in constant folding
Key: SPARK-3911
URL: https://issues.apache.org/jira/browse/SPARK-3911
Project: Spark
Issue Type: Improvement
Components: SQL
Reporter: Cheng Hao
Priority: Minor
{panel}
explain extended select cos(null) from src limit 1;
{panel}
It outputs
{panel}
Project [HiveSimpleUdf#org.apache.hadoop.hive.ql.udf.UDFCos(null) AS c_0#5]
MetastoreRelation default, src, None
== Optimized Logical Plan ==
Limit 1
Project [HiveSimpleUdf#org.apache.hadoop.hive.ql.udf.UDFCos(null) AS c_0#5]
MetastoreRelation default, src, None
== Physical Plan ==
Limit 1
Project [HiveSimpleUdf#org.apache.hadoop.hive.ql.udf.UDFCos(null) AS c_0#5]
HiveTableScan [], (MetastoreRelation default, src, None), None
{panel}
--
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