karenfeng commented on pull request #33995:
URL: https://github.com/apache/spark/pull/33995#issuecomment-928263469


   For clarification @AngersZhuuuu: the PR description says:
   
   > For query
   > ```
   > select array_intersect(array(cast('nan' as double), 1d), array(cast('nan' 
as double)))
   > ```
   > This returns [NaN], but it should return [].
   
   Is this the right way around? It seems like we now correctly return `[NaN]`, 
but previously incorrectly returned `[]`.


-- 
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