Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/14974
  
    I looked at the generated byte code and this just calls a constructor 
anyway. I don't know if this is worth doing, as it doesn't change the actual 
compiled code. While I would not write `new` for a case class personally, it's 
arguably clearer about what is happening. There might be corner cases where it 
generates better byte code (value classes?) but I don't think this is one.


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