yeshengm opened a new pull request #25080: [SPARK-28306] Fix idempotence for 
optimizer rule NormalizeFloatingNumbers
URL: https://github.com/apache/spark/pull/25080
 
 
   ## What changes were proposed in this pull request?
   The optimizer rule `NormalizeFloatingNumbers` is not idempotent. It will 
generate multiple `NormalizeNaNAndZero` and `ArrayTransform` expression nodes 
for multiple runs. This patch fixed this non-idempotence by adding a marking 
tag above normalized expressions. It also adds missing UTs for 
`NormalizeFloatingNumbers`.
   
   ## How was this patch tested?
   New UTs.
   

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


With regards,
Apache Git Services

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

Reply via email to