You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yael Aharon (JIRA)" <ji...@apache.org> on 2016/03/04 17:35:40 UTC
[jira] [Comment Edited] (SPARK-13494) Cannot sort on a column which
is of type "array"
[ https://issues.apache.org/jira/browse/SPARK-13494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172115#comment-15172115 ]
Yael Aharon edited comment on SPARK-13494 at 3/4/16 4:35 PM:
-------------------------------------------------------------
I am using Spark 1.5 from Cloudera distribution CDH 5.5.2 . Do you think this was fixed since?
The Hive schema of the column in question is array<string>
was (Author: yael):
I am using Spark 5.2 from Cloudera distribution CDH 5.2 . Do you think this was fixed since?
The Hive schema of the column in question is array<string>
> Cannot sort on a column which is of type "array"
> ------------------------------------------------
>
> Key: SPARK-13494
> URL: https://issues.apache.org/jira/browse/SPARK-13494
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Yael Aharon
>
> Executing the following SQL results in an error if columnName refers to a column of type array
> SELECT * FROM myTable ORDER BY columnName ASC LIMIT 50
> The error is
> org.apache.spark.sql.AnalysisException: cannot resolve 'columnName ASC' due to data type mismatch: cannot sort data type array<string>
--
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