Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/18301
  
    Because `SQLMetric` just stores long value. I was using a trick to multiply 
the avg probe by 1000 to get a long.
    
    When preparing the values for UI, dividing the long with 1000 to get a 
float back.
    
    So it's a workaround for long-based `SQLMetric`. But I finally don't use it.
    
    Doesn't it sound too hacky for you?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to