[
https://issues.apache.org/jira/browse/SPARK-14199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214166#comment-15214166
]
Herman van Hovell commented on SPARK-14199:
-------------------------------------------
Correlated sub-queries are currently not supported.
It also appears that you are using some Spark extension:
{{org.apache.spark.sql.hive.huawei.rules.analyze.UnrelatedSubqueryConversion}}.
We really cannot help you with that. I am closing this.
> Error:
> org.apache.spark.sql.hive.huawei.rules.analyze.UnrelatedSubqueryConversion$MultiValueException$:
> subquery expression must return single column! (state=,code=0)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-14199
> URL: https://issues.apache.org/jira/browse/SPARK-14199
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.5.1
> Reporter: Chetan Bhat
> Priority: Minor
> Original Estimate: 0.05h
> Remaining Estimate: 0.05h
>
> In Beeline when the SQL is executed using Spark error is displayed.
> select imei,a, (select MAC from babu8 a where a.imei = '1AA10007' ) from (
> select imei,count(contractNumber)+1 a from testolap group by imei) a where
> imei in ( select imei from testolap where imei like '%007%') group by imei,
> a;
> Error:
> org.apache.spark.sql.hive.huawei.rules.analyze.UnrelatedSubqueryConversion$MultiValueException$:
> subquery expression must return single column! (state=,code=0)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]