mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
This was leading to the PlanFragmentExecutor::Close() DCHECK because with floating point we can have c * a + c * b > c * (a + b). Also note this is much more likely to happen when using the MONOTONIC_COARSE since that will result in the nested scoped timers ending up starting/stopping at exactly the same time. Additionally, the new code is faster. Change-Id: I7237f579b201f5bd3930f66e9c2c8d700c37ffeb Reviewed-on: http://gerrit.cloudera.org:8080/5434 Reviewed-by: Dan Hecht <dhecht@cloudera.com> Tested-by: Jim Apple <jbapple-impala@apache.org>