You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2017/02/16 23:15:41 UTC
[jira] [Resolved] (SYSTEMML-1280) Restore and deprecate SQLContext
methods
[ https://issues.apache.org/jira/browse/SYSTEMML-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deron Eriksson resolved SYSTEMML-1280.
--------------------------------------
Resolution: Fixed
Fix Version/s: SystemML 0.13
Fixed by [PR396|https://github.com/apache/incubator-systemml/pull/396].
> Restore and deprecate SQLContext methods
> ----------------------------------------
>
> Key: SYSTEMML-1280
> URL: https://issues.apache.org/jira/browse/SYSTEMML-1280
> Project: SystemML
> Issue Type: Task
> Components: APIs, Runtime
> Reporter: Deron Eriksson
> Assignee: Deron Eriksson
> Fix For: SystemML 0.13
>
>
> SYSTEMML-1194 replaced SQLContext with SparkSession in SystemML for Spark 2.1.0 since SQLContext is deprecated.
> Restore the old Java SQLContext method signatures in case any users are using SystemML methods and are unable to use SparkSessions (SparkSessions are described in https://databricks.com/blog/2016/08/15/how-to-use-sparksession-in-apache-spark-2-0.html)
> Classes where this applies:
> old MLContext class (whole class is deprecated)
> old MLMatrix class (whole class is deprecated)
> old MLOutput class (whole class is deprecated)
> FrameRDDConverterUtils (this is a non-API class)
> RDDConverterUtils (this is a non-API class)
> RDDConverterUtilsExt (this is a non-API class)
> In non-API classes, these SQLContext methods should be marked as deprecated and removed in a future version of SystemML (1.0) since SparkSessions should generally be used with Spark 2. As mentioned in SQLContext documentation, "As of Spark 2.0, this is replaced by SparkSession. However, we are keeping the class here for backward compatibility."
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)