dbt-labs / dbt-adapters

Apache License 2.0
17 stars 20 forks source link

Fix Query Timer Resolution #245

Closed peterallenwebb closed 4 weeks ago

peterallenwebb commented 4 weeks ago

Problem

Previous revisions limited the precision of query time measurements to whole seconds, which is too coarse.

Solution

Record the measurements at full precision, and limit logged values to three decimal places (i.e. millisecond precision) for readability.

Checklist

github-actions[bot] commented 4 weeks ago

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

github-actions[bot] commented 4 weeks ago

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.