Github user ScrapCodes commented on the pull request:
https://github.com/apache/spark/pull/5977#issuecomment-100102939
@JoshRosen Thanks for pointing out.
Until now I was in the impression of x.getClass is same as classOf[x].
```scala
scala> class A
defined class A
scala> new A
res0: A = A@2d38eb89
scala> classOf[A]
res1: Class[A] = class A
scala> res0.getClass
res2: Class[_ <: A] = class A
scala>
```
Thanks a lot for adding a test suite :). There is minor nit regarding
style, that we do not allow infix notations in scala syntax. LGTM otherwise.
---
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]