-
Notifications
You must be signed in to change notification settings - Fork 6
feat(#2088): migrate marts__micromasters_dedp_exam_grades to dim_course_run #2403
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
Open
quazi-h
wants to merge
4
commits into
main
Choose a base branch
from
copilot/2088-migrate-dedp-exam-grades-mart
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e5f14a5
feat(#2088): migrate marts__micromasters_dedp_exam_grades to dim_cour…
quazi-h 3de7dc9
docs(marts): fix issue reference in comment (#2319, not #2088)
quazi-h 86b8d33
fix(marts): guard SCD2 fan-out and rename CTE in dedp exam grades mart
quazi-h 1ba8823
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| [0m17:02:16.333324 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'start', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10a62cad0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10b68b4d0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10b68bc50>]} | ||
|
|
||
|
|
||
| ============================== 17:02:16.336997 | c9e4b7ca-f97c-48a7-9dfe-89aee8ad9c0f ============================== | ||
| [0m17:02:16.336997 [info ] [MainThread]: Running with dbt=1.11.12 | ||
| [0m17:02:16.337420 [debug] [MainThread]: running dbt with arguments {'log_format': 'default', 'warn_error': 'None', 'introspect': 'True', 'no_print': 'None', 'quiet': 'False', 'use_colors': 'True', 'cache_selected_only': 'False', 'warn_error_options': 'WarnErrorOptionsV2(error=[], warn=[], silence=[])', 'log_path': 'logs', 'indirect_selection': 'eager', 'profiles_dir': '/Users/qhoque/.dbt', 'partial_parse': 'True', 'write_json': 'True', 'empty': 'False', 'use_experimental_parser': 'False', 'static_parser': 'True', 'target_path': 'None', 'log_cache_events': 'False', 'fail_fast': 'False', 'invocation_command': 'dbt compile --target dev --select marts__micromasters_dedp_exam_grades', 'debug': 'False', 'printer_width': '80', 'send_anonymous_usage_stats': 'True', 'version_check': 'True'} | ||
| [0m17:02:16.337813 [error] [MainThread]: Encountered an error: | ||
| Runtime Error | ||
| No dbt_project.yml found at expected path /private/tmp/ol-data-platform/dbt_project.yml | ||
| Verify that each entry within packages.yml (and their transitive dependencies) contains a file named dbt_project.yml | ||
|
|
||
| [0m17:02:16.338215 [debug] [MainThread]: Resource report: {"command_name": "compile", "command_success": false, "command_wall_clock_time": 0.058058582, "process_in_blocks": "0", "process_kernel_time": 0.195369, "process_mem_max_rss": "121487360", "process_out_blocks": "0", "process_user_time": 0.919255} | ||
| [0m17:02:16.338519 [debug] [MainThread]: Command `dbt compile` failed at 17:02:16.338466 after 0.06 seconds | ||
| [0m17:02:16.338713 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10b69e2c0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10b63a450>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x10b7145a0>]} | ||
| [0m17:02:16.338893 [debug] [MainThread]: Flushing usage events | ||
| [0m17:02:16.527810 [debug] [MainThread]: An error was encountered while trying to flush usage events |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting the following error currently when running the build
15:21:32 Completed with 1 error, 0 partial successes, and 1 warning:
15:21:32
15:21:32 Failure in model marts__micromasters_dedp_exam_grades (models/marts/micromasters/marts__micromasters_dedp_exam_grades.sql)
15:21:32 Database Error in model marts__micromasters_dedp_exam_grades (models/marts/micromasters/marts__micromasters_dedp_exam_grades.sql)
TrinoUserError(type=USER_ERROR, name=COLUMN_NOT_FOUND, message="line 35:15: Column 'semester' cannot be resolved", query_id=20260708_152128_00035_4j8nd)
compiled code at target/run/open_learning/models/marts/micromasters/marts__micromasters_dedp_exam_grades.sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was hitting the production
dim_course_runtable before its full-refresh completed (needed after #2319 addedsemester/passing_grade— see the SCD2 self-referential-read caveat that also caused a similar Dagster failure oncourserun_upgrade_deadlinethis week). The refresh finished successfully in production earlier today andsemester/passing_gradeare confirmed present. Please pull latestmainand retry the build — let us know if it still fails.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting another error with the build but I think it might be taken care of the update you mentioned that went in before this:
00:55:24 Completed with 1 error, 0 partial successes, and 0 warnings:
00:55:24
00:55:24 Failure in test not_null_marts__micromasters_dedp_exam_grades_semester (models/marts/micromasters/_marts_micromasters__models.yml)
00:55:24 Got 8137 results, configured to fail if >10