Github user koertkuipers commented on the pull request:

    https://github.com/apache/spark/pull/12877#issuecomment-216670925
  
    i made it lazy val since SparkSession.wrapped is effectively lazy too:
      protected[sql] def wrapped: SQLContext = {
        if (_wrapped == null) {
          _wrapped = new SQLContext(self, isRootContext = false)
        }
        _wrapped
      }
    
    
    On Tue, May 3, 2016 at 5:29 PM, Koert Kuipers <ko...@tresata.com> wrote:
    
    > oh since since sparkSession is just a normal val i guess it can also be
    >
    > On Tue, May 3, 2016 at 5:25 PM, andrewor14 <notificati...@github.com>
    > wrote:
    >
    >> Looks good otherwise.
    >>
    >> —
    >> You are receiving this because you authored the thread.
    >> Reply to this email directly or view it on GitHub
    >> <https://github.com/apache/spark/pull/12877#issuecomment-216668953>
    >>
    >
    >



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to