AngersZhuuuu commented on pull request #30243: URL: https://github.com/apache/spark/pull/30243#issuecomment-731198109
> Just out of curiosity ‒ cannot the proposed use case be addressed with > > ``` > array_intersect(right, left) = right > ``` > > ? Computational efficiency and apply direct high level array function is more readable, right? And for a case lest=array(1, 2, 3) right = array(1, 2, 2, 3, 3), array_intersect result is array(1, 2, 3), you need to make the result distinct and sorted then use `=`, right? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
