Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add data_scanned_in_bytes to adapter response #353

Merged

Conversation

jurgispods
Copy link
Contributor

Description

This PR adds the field data_scanned_in_bytes to the adapter response, which allows for monitoring of Athena costs per DBT project/model/etc., see #335.

Models used to test - Optional

Tested by running some models from my own DBT project and comparing the output of

cat target/run_results.json |  jq '.results[].adapter_response.data_scanned_in_bytes'

with the query stats from Athena console -> results checked out.

Checklist

  • You followed contributing section
  • You kept your Pull Request small and focused on a single feature or bug fix.
  • You added unit testing when necessary
  • You added functional testing when necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants