Github user marmbrus commented on the pull request:

    https://github.com/apache/spark/pull/679#issuecomment-42486106
  
    That would cause issues when this type of expression is created before
    resolution has occurred.  Specifically you are not allowed to call dataType
    on unresolved expressions.
    
    That said, this could be a val if you added the right checks.
    On May 7, 2014 2:31 PM, "Aaron Davidson" <[email protected]> wrote:
    
    > Out of curiosity, why can't this just be a normal val, rather than lazy?
    >
    > —
    > Reply to this email directly or view it on 
GitHub<https://github.com/apache/spark/pull/679#issuecomment-42485833>
    > .
    >


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

Reply via email to