Github user chenghao-intel commented on the pull request:
https://github.com/apache/spark/pull/5880#issuecomment-108202376
Hmm, seems a bug in Spark 1.2, will cause some performance overhead
(creating the HiveConf object everytime), but, we should always initialize the
`SessionState` before the HiveQL called.
`sessionState` is a `lazy val` variable of `HiveContext`, and does not
initialize even the `.sql()` method called. A better place to fix that will be
trigger the initialization prior to the `sql()`, I think it has been fixed in
the latest code, can you confirm that?
---
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]