You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2020/02/05 15:56:41 UTC

[spark] branch branch-3.0 updated: [MINOR][DOC] Add migration note for removing `org.apache.spark.ml.image.ImageSchema.readImages`

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new abc93b0  [MINOR][DOC] Add migration note for removing `org.apache.spark.ml.image.ImageSchema.readImages`
abc93b0 is described below

commit abc93b05272b2853862689b553eec1320d3f5f7f
Author: WeichenXu <we...@databricks.com>
AuthorDate: Wed Feb 5 07:54:16 2020 -0800

    [MINOR][DOC] Add migration note for removing `org.apache.spark.ml.image.ImageSchema.readImages`
    
    ### What changes were proposed in this pull request?
    
    Add migration note for removing `org.apache.spark.ml.image.ImageSchema.readImages`
    
    ### Why are the changes needed?
    
    ### Does this PR introduce any user-facing change?
    
    ### How was this patch tested?
    
    Closes #27467 from WeichenXu123/SC-26286.
    
    Authored-by: WeichenXu <we...@databricks.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
    (cherry picked from commit ec70e0708f953f3b22ec17d931ff388d007ac1f6)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 docs/ml-migration-guide.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/ml-migration-guide.md b/docs/ml-migration-guide.md
index 49f701b..860c941 100644
--- a/docs/ml-migration-guide.md
+++ b/docs/ml-migration-guide.md
@@ -32,6 +32,7 @@ Please refer [Migration Guide: SQL, Datasets and DataFrame](sql-migration-guide.
 {:.no_toc}
 
 * `OneHotEncoder` which is deprecated in 2.3, is removed in 3.0 and `OneHotEncoderEstimator` is now renamed to `OneHotEncoder`.
+* `org.apache.spark.ml.image.ImageSchema.readImages` which is deprecated in 2.3, is removed in 3.0, use `spark.read.format('image')` instead.
 
 ### Changes of behavior
 {:.no_toc}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org