Yin Huai created SPARK-6419:
-------------------------------

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