You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2019/06/13 08:56:00 UTC
[jira] [Created] (SPARK-28033) String concatenation low priority
than other arithmeticBinary
Yuming Wang created SPARK-28033:
-----------------------------------
Summary: String concatenation low priority than other arithmeticBinary
Key: SPARK-28033
URL: https://issues.apache.org/jira/browse/SPARK-28033
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Reporter: Yuming Wang
Spark SQL:
{code:sql}
spark-sql> explain select 'four: ' || 2 + 2;
== Physical Plan ==
*(1) Project [null AS (CAST(concat(four: , CAST(2 AS STRING)) AS DOUBLE) + CAST(2 AS DOUBLE))#2]
+- Scan OneRowRelation[]
spark-sql> select 'four: ' || 2 + 2;
NULL
{code}
Hive:
{code:sql}
hive> select 'four: ' || 2 + 2;
OK
four: 4
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org