Github user sethah commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15913#discussion_r89372948
  
    --- Diff: python/pyspark/ml/util.py ---
    @@ -78,7 +78,14 @@ def overwrite(self):
             raise NotImplementedError("MLWriter is not yet implemented for 
type: %s" % type(self))
     
         def context(self, sqlContext):
    -        """Sets the SQL context to use for saving."""
    +        """
    +        Sets the SQL context to use for saving.
    +        .. note:: Deprecated in 2.1, use session instead.
    --- End diff --
    
    If we remove it from Scala in 2.2, then we have to remove it here in 2.2 
right? I guess we should note it.


---
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]

Reply via email to