Github user ash211 commented on the pull request:
https://github.com/apache/spark/pull/369#issuecomment-40031981
That gets me closer, but it looks like you then have to pass all the
implicit parameters or none of them. I tried passing in the ord parameter by
name as well, but that still didn't work.
Any other ideas?
Personally I would have encoded my Ordering requirement as the output of my
sortBy function rather than passing in a key function as well as an ordering on
that key. I can see that some people might prefer to have both if they're
re-using an Ordering from elsewhere.
```
[error]
/Users/aash/git/spark/core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala:556:
not enough arguments for method sortBy: (implicit ord: Ordering[Person],
implicit ctag: scala.reflect.ClassTag[Person])org.apache.spark.rdd.RDD[String].
[error] Unspecified value parameter ctag.
[error] assert(data.sortBy(parse, false, 2)(NameOrdering) ===
nameOrdered)
[error]
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---