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

    https://github.com/apache/spark/pull/22349#discussion_r215840879
  
    --- Diff: mllib/src/main/scala/org/apache/spark/ml/image/ImageSchema.scala 
---
    @@ -35,6 +35,8 @@ import org.apache.spark.sql.types._
      */
     @Experimental
     @Since("2.3.0")
    +@deprecated("use `spark.read.format(\"image\").load(path)` and this 
`ImageSchema` will be " +
    --- End diff --
    
    There are other methods defined under `ImageSchema` that are not covered by 
the image data source. So we shall only deprecate `readImages` and leave other 
public methods as experimental. Same for Python.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to