Skip to content

Commit

Permalink
Added comments to the models
Browse files Browse the repository at this point in the history
  • Loading branch information
vishreddy01 committed Mar 19, 2024
1 parent f0d81f1 commit bba2903
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions logs/dbt.log
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,17 @@ Runtime Error
14:37:37.566372 [debug] [MainThread]: Command `dbt snapshot` failed at 14:37:37.566372 after 0.04 seconds
14:37:37.566372 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x0000020975061610>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x00000209750B5350>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x0000020974D8EF10>]}
14:37:37.566372 [debug] [MainThread]: Flushing usage events
13:17:47.324010 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'start', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x00000192951B4ED0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x000001929513A390>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x00000192951AB510>]}


============================== 13:17:47.334168 | 82b3665c-e5af-42e3-bce5-e00a293fe9d5 ==============================
13:17:47.334168 [info ] [MainThread]: Running with dbt=1.6.2
13:17:47.334168 [debug] [MainThread]: running dbt with arguments {'printer_width': '80', 'indirect_selection': 'eager', 'write_json': 'True', 'log_cache_events': 'False', 'partial_parse': 'True', 'cache_selected_only': 'False', 'profiles_dir': 'C:\\Users\\VREDDY\\.dbt', 'fail_fast': 'False', 'debug': 'False', 'log_path': 'logs', 'version_check': 'True', 'warn_error': 'None', 'use_colors': 'True', 'use_experimental_parser': 'False', 'no_print': 'None', 'quiet': 'False', 'log_format': 'default', 'invocation_command': 'dbt docs generate', 'static_parser': 'True', 'warn_error_options': 'WarnErrorOptions(include=[], exclude=[])', 'target_path': 'None', 'introspect': 'True', 'send_anonymous_usage_stats': 'True'}
13:17:47.335148 [error] [MainThread]: Encountered an error:
Runtime Error
No dbt_project.yml found at expected path C:\Users\VREDDY\Softwares\nr-dap-dlh\dbt_project.yml
Verify that each entry within packages.yml (and their transitive dependencies) contains a file named dbt_project.yml

13:17:47.336167 [debug] [MainThread]: Command `dbt docs generate` failed at 13:17:47.336167 after 0.04 seconds
13:17:47.336167 [debug] [MainThread]: Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x0000019294D812D0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x0000019294D17E50>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x0000019294489950>]}
13:17:47.336167 [debug] [MainThread]: Flushing usage events
3 changes: 2 additions & 1 deletion pmt/dbt/pmt_dbt/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pmt_dbt:
host: theory.bcgov
port: 5443
user: dlh_admin_user
pass: "{{ env_var('dlh_password') }}"
#pass: "{{ env_var('dlh_password') }}"
pass: Agf#6Lhouse723
dbname: lhousedev
schema: public

Expand Down
3 changes: 1 addition & 2 deletions pmt/dbt/pmt_dbt/snapshots/dpl/qa_dpl_pmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ models:
- CORP

- name: dim_source_system
description: >-
This table holds the values for each source system for X-NRS report. Below are source systems values
description: This table holds the values for each source system for X-NRS report. Below are source systems values
columns:
- name: src_sys_code
tests:
Expand Down

0 comments on commit bba2903

Please sign in to comment.