GitHub user koertkuipers opened a pull request: https://github.com/apache/spark/pull/12877
[SPARK-15097][SQL] make Dataset.sqlContext a stable identifier for imports ## What changes were proposed in this pull request? Make Dataset.sqlContext a lazy val so that its a stable identifier and can be used for imports. Now this works again: import someDataset.sqlContext.implicits._ ## How was this patch tested? Add unit test to DatasetSuite that uses the import show above. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tresata/spark feat-sqlcontext-stable-import Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12877.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #12877 ---- commit 3804b53d849ede69aea74b4dfe309bf76d0b2cda Author: Koert Kuipers <ko...@tresata.com> Date: 2016-05-03T20:36:09Z make Dataset.sqlContext a lazy val so that its a stable identifier and can be used for imports (e.g. import someDataset.sqlContext.implicits._) ---- --- 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