liyafan82 opened a new pull request #1853: [CALCITE-3851] Store nodes with zero 
importance with a set
URL: https://github.com/apache/calcite/pull/1853
 
 
   Currently, volcano planner stores rel node importances with a map. In fact, 
the value of the map can only be 0.
   So there is no need to store the values, and we replace the map with a set 
to store nodes whose importances are 0.
   
   This makes the code logic clearer, and avoids instability caused by 
comparing floating point values.

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

Reply via email to