Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/9740#issuecomment-157121925
Another approach for this problem is to have "global" options. For example,
`SET -g key=value` sets `key` to `value` for all sessions. This adds a new
concept and requires more work, but seems to be cleaner and in general more
useful. What need to be done are:
1. Add a new syntax `SET -g`
1. Each `HiveContext` should remember its parent `HiveContext` so that we
can retrieve the "root" one.
1. When a global option is set, it's always set in the root `HiveContext`.
Another benefit of this approach is that we don't need to restart the
Thrift server to switch between single-/multi-session modes.
@marmbrus @davies @yhuai Any suggestions?
---
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]