WangGuangxin commented on issue #26899: [SPARK-28332][SQL] Reserve init value 
-1 only when do min max statistics in SQLMetrics
URL: https://github.com/apache/spark/pull/26899#issuecomment-565950130
 
 
   > > In fact, we only need to reserve -1 when doing min max statistics in 
SQLMetrics.stringValue
   > 
   > But this PR seems changes the initial value to 0 for all cases?
   
   I'v checked that there is only one place doing min/max statistics, 
https://github.com/apache/spark/blob/1fc353d51a62cb554e6af23dbc9a613e214e3af1/sql/core/src/main/scala/org/apache/spark/sql/execution/ui/SQLAppStatusListener.scala#L198,
  so only at here we need -1 ? 

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