Github user WeichenXu123 commented on the issue:

    https://github.com/apache/spark/pull/17819
  
    @viirya Oh, I am not saying the compatibility against old version scala 
application. What I say is about new version `Bucketizer`, when spark user use 
java language(not scala language), call new added API (such as 
`setInputSplits`), it cannot work. i.e, the new api isn't java-compatible. for 
example:
    ```
    public class JavaBucketizerExample {
        public static void main(String[] args) {
            Bucketizer bucketizer = new Bucketizer().setInputCols(new String[] 
{"features", "features2"});
           ...
       } 
    }
    ```
    The above java program (Note not scala program) do not work. It cannot even 
pass compiling.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to