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

add experimental parser tracking #3553

Merged
merged 2 commits into from
Jul 9, 2021
Merged

Conversation

nathaniel-may
Copy link
Contributor

resolves #3503

Description

Adds tracking for the experimental parser that samples correctness and includes what kind of mismatch may have occurred.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@cla-bot cla-bot bot added the cla:yes label Jul 9, 2021
@nathaniel-may nathaniel-may temporarily deployed to Postgres July 9, 2021 20:39 Inactive
@nathaniel-may nathaniel-may temporarily deployed to Bigquery July 9, 2021 20:39 Inactive
@nathaniel-may nathaniel-may temporarily deployed to Bigquery July 9, 2021 20:39 Inactive
@nathaniel-may nathaniel-may temporarily deployed to Redshift July 9, 2021 20:39 Inactive
@nathaniel-may nathaniel-may temporarily deployed to Redshift July 9, 2021 20:39 Inactive
@nathaniel-may nathaniel-may temporarily deployed to Snowflake July 9, 2021 20:39 Inactive
@nathaniel-may nathaniel-may temporarily deployed to Snowflake July 9, 2021 20:39 Inactive
Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Comment on lines +114 to +123
# fire a tracking event. this fires one event for every sample
# so that we have data on a per file basis. Not only can we expect
# no false positives or misses, we can expect the number model
# files parseable by the experimental parser to match our internal
# testing.
tracking.track_experimental_parser_sample({
"project_id": self.root_project.hashed_name(),
"file_id": utils.get_hash(node),
"status": result
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@leahwicz leahwicz merged commit f460d27 into develop Jul 9, 2021
@leahwicz leahwicz deleted the cleaner-exp-parser-checks branch July 9, 2021 21:13
leahwicz pushed a commit that referenced this pull request Jul 9, 2021
leahwicz added a commit that referenced this pull request Jul 12, 2021
* return value from test function

* add experimental parser tracking (#3553)

Co-authored-by: Nathaniel May <[email protected]>
iknox-fa pushed a commit that referenced this pull request Feb 8, 2022
automatic commit by git-black, original commits:
  f460d27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add experimental parser correctness checks to tracking
3 participants