Github user MechCoder commented on the pull request:

    https://github.com/apache/spark/pull/4099#issuecomment-70788974
  
    Thanks for the comment.
    
    I meant that now udt is a ClassTag. If udt were to be an Object or an 
instance of a class, then I'm not sure if it possible if the class accepts 
parameters as in the case of ExamplePointUDT.
    
    Actually Java annotations don't support objects. 
(http://stackoverflow.com/questions/1458535/which-types-can-be-used-for-java-annotation-members)
 which explains the errors.
    
    Can you think of any workaround?


---
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]

Reply via email to