spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yael Aharon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-13494) Cannot sort on a column which is of type "array"
Date Thu, 25 Feb 2016 14:25:18 GMT
Yael Aharon created SPARK-13494:
-----------------------------------

             Summary: 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
            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


Mime
View raw message