You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:04:23 UTC
[jira] [Updated] (SPARK-18255) SQLContext.getOrCreate always
returns a SQLContext even if a user originally created a HiveContext
[ https://issues.apache.org/jira/browse/SPARK-18255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-18255:
---------------------------------
Labels: bulk-closed (was: )
> 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
> Priority: Major
> Labels: bulk-closed
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org