Github user wajda commented on the issue:

    https://github.com/apache/spark/pull/21155
  
    Regarding ```step, stop, step``` vs. ```arg1, arg2, arg3```,  ```left, 
middle, right``` and so on. Originally I used those to avoid hiding variables 
from the outer scope, but after the final refactoring it doesn't seem to be an 
issue anymore. I'll rename those, but I would keep ones as is for the ```def 
eval(input1: Any, input2: Any, input3: Any)``` method implementations. The 
reason is to distinguish the argument of type Any from their cast references as 
below:
    ```
     override def eval(input1: Any, input2: Any, input3: Any): Array[T] = {
          val start = input1.asInstanceOf[T]
          val stop = input2.asInstanceOf[T]
          val step = input3.asInstanceOf[T]
    ```


---

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

Reply via email to