[ 
https://issues.apache.org/jira/browse/SPARK-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yin Huai updated SPARK-6419:
----------------------------
    Target Version/s: 1.5.0  (was: 1.4.0)

> GenerateOrdering does not support BinaryType and complex types.
> ---------------------------------------------------------------
>
>                 Key: SPARK-6419
>                 URL: https://issues.apache.org/jira/browse/SPARK-6419
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Yin Huai
>
> When user want to order by binary columns or columns with complex types and 
> code gen is enabled, there will be a MatchError ([see 
> here|https://github.com/apache/spark/blob/v1.3.0/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateOrdering.scala#L45]).
>  We can either add supports for these types or have a function to check if we 
> can safely call GenerateOrdering (like the canBeCodeGened for HashAggregation 
> Strategy).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to