HeartSaVioR commented on PR #54523: URL: https://github.com/apache/spark/pull/54523#issuecomment-3994709528
Just to close the loop and provide the visionary - we think `map` should be the main replacement of it. If we restricted `map` to be 1-1 mapping, probably we need `flatMap` for 1:N mapping. (Keeping the input to 1 is important point here.) Maybe we can consider deprecation and removal when we can guide to users they can use `map` and `flatMap`, with proper UX (we should have a way for users to provide the interface of open/process/close). -- 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]
