chris-twiner commented on PR #48479:
URL: https://github.com/apache/spark/pull/48479#issuecomment-2619366859

   NB: An impl note for future reference.
   
   Scala allows this.type to support the correct type derivation or compilation 
error on the function input and output types against derived types. For Java 
however, the _migration/upgrade_ case of sql.Dataset => sql.Dataset works fine 
but using more specific derived input types does not as this.type has no 
meaning.  classic.transform(sql.Dataset => classic.Dataset) : classic.Dataset 
with a lambda _does_ work which allows specific output types if needed later 
down the line so no functional impact unless derived functions are really 
needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to