Github user cloud-fan commented on the pull request:
https://github.com/apache/spark/pull/9358#issuecomment-153335332
cc @yhuai @marmbrus , according to the jenkins result, scala method which
returns generic array will return `Object` at java side, `DataFrame.collect`
returns `Array[Row]` and has no problem.
The reason is that: in scala `Array[Int]`, `Array[String]` are just `Array`
with type parameter, however, at java side, `int[]` and `String[]` is different
type, and there is exactly one supertype of them: `java.lang.Object`.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]