diff options
author | Koert Kuipers <koert@tresata.com> | 2016-05-03 18:06:35 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-05-03 18:06:35 -0700 |
commit | 9e4928b7e00788913553c1cb0722048001b91601 (patch) | |
tree | 3ec6e868a01046c775f0f4107be8c156f0558095 /sql/hive/compatibility/src/test | |
parent | 0903a185c7ebc57c75301a27d215b08efd347f99 (diff) | |
download | spark-9e4928b7e00788913553c1cb0722048001b91601.tar.gz spark-9e4928b7e00788913553c1cb0722048001b91601.tar.bz2 spark-9e4928b7e00788913553c1cb0722048001b91601.zip |
[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.
Author: Koert Kuipers <koert@tresata.com>
Closes #12877 from koertkuipers/feat-sqlcontext-stable-import.
Diffstat (limited to 'sql/hive/compatibility/src/test')
0 files changed, 0 insertions, 0 deletions