Github user shivaram commented on the pull request:
https://github.com/apache/spark/pull/9185#issuecomment-154490703
Thanks @marmbrus - That helps. Yeah so I think from my perspective it makes
sense to just have one *active* session for SparkR and thus just one active
SQLContext. This means that the change @felixcheung was working on to hide
`sqlContext` from users would still be required.
We should however add support for two things (a) Specifying a session in
`sparkR.init` (are sessions just named as strings ?) (b) a command to switch
sessions which will change the sqlContext and all the necessary data structures
under the covers so that commands run after this will run with the new session.
---
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]