[ https://issues.apache.org/jira/browse/SPARK-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DoingDone9 updated SPARK-6243: ------------------------------ Summary: The Operation of match did not conside that order.dataType does not match NativeType (was: The Operation of match not include all possible scenarios.) > The Operation of match did not conside that order.dataType does not match > NativeType > ------------------------------------------------------------------------------------ > > Key: SPARK-6243 > URL: https://issues.apache.org/jira/browse/SPARK-6243 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: DoingDone9 > > It did not conside that order.dataType does not match NativeType. > val comparison = order.dataType match { > case n: NativeType if order.direction == Ascending => > n.ordering.asInstanceOf[Ordering[Any]].compare(left, right) > case n: NativeType if order.direction == Descending => > n.ordering.asInstanceOf[Ordering[Any]].reverse.compare(left, > right) > } -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org