You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/11/03 16:37:58 UTC
[jira] [Created] (SPARK-18255) SQLContext.getOrCreate always
returns a SQLContext even if a user originally created a HiveContext
Yin Huai created SPARK-18255:
--------------------------------
Summary: SQLContext.getOrCreate always returns a SQLContext even if a user originally created a HiveContext
Key: SPARK-18255
URL: https://issues.apache.org/jira/browse/SPARK-18255
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.0.0
Reporter: Yin Huai
It is possible that a user creates HiveContext at beginning. However, SQLContext.getOrCreate will always returns a SQLContext instead of returning a HiveContext. This behavior change may break user code if {{SQLContext.getOrCreate().asInstanceOf[HiveContext]}} is used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org