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

Charles/issue 187 #189

Merged
merged 20 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
dfcf105
feat(gitignore): ignore .python-version file generated by pyenv
charles-astrafy Aug 11, 2022
8a61d11
Merge branch 'main' of github.com:charles-astrafy/dbt_artifacts
charles-astrafy Aug 12, 2022
4a96c83
Merge branch 'main' of github.com:charles-astrafy/dbt_artifacts
charles-astrafy Aug 12, 2022
0d5e732
feat(bigquery): New adapter around the generation of DML SQL and new …
Aug 8, 2022
2ef840c
feat(bigquery): Add bytes_processed to model_executions models
charles-astrafy Aug 12, 2022
2eaa540
feat(bigquery): Add configurations for integration tests for BigQuery
charles-astrafy Aug 12, 2022
0860a43
feat(bigquery): Update README with BigQuery and explanation trick to …
charles-astrafy Aug 12, 2022
66443f5
amend gitignore to ignore python_version file from pyenv
charles-astrafy Aug 12, 2022
15ef765
feat(bigquery): only add 'bytes_processed' column in case the adapter…
charles-astrafy Aug 15, 2022
cb1718e
resolve merge conflict from main origin repo
charles-astrafy Aug 28, 2022
e906195
Merge branch 'main' into main
NiallRees Aug 29, 2022
e618976
Delete .python-version
NiallRees Aug 29, 2022
a77e76f
debug model execution upload macro. Remove column 14 that is only nee…
charles-astrafy Aug 29, 2022
bcddd48
fix sqlfluff linting errors
charles-astrafy Aug 29, 2022
bf1f58c
Update README.md
NiallRees Aug 29, 2022
fa8d211
Update README.md
NiallRees Aug 29, 2022
6482d5f
Delete profiles.yml
NiallRees Aug 29, 2022
a34e8de
Apply suggestions from code review
NiallRees Aug 30, 2022
c486409
Merge branch 'main' of github.com:charles-astrafy/dbt_artifacts
charles-astrafy Aug 30, 2022
c178649
fix #187
charles-astrafy Aug 31, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions integration_test_project/models/exposure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% docs clickstream %}

This dashboard contains clickstream events from the marketing website.

The events in this table are recorded by Snowplow and piped into the warehouse on an hourly basis. The following pages of the marketing site are tracked:
- /
- /about
- /team
- /contact-us

{% enddocs %}
13 changes: 13 additions & 0 deletions integration_test_project/models/tests_and_exposures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,16 @@ exposures:
owner:
name: Claire from Data
email: [email protected]

- name: "CIO dashboard"
type: dashboard
maturity: high
description: '{{ doc("clickstream") }}'
url: https://bi.tool/dashboards/1

depends_on:
- ref('incremental')

owner:
name: Henry from IT
email: [email protected]
2 changes: 1 addition & 1 deletion macros/upload_exposures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
parse_json('{{ tojson(exposure.owner) | replace("'","\\'") }}'), {# owner #}
'{{ exposure.maturity }}', {# maturity #}
'{{ exposure.original_file_path | replace('\\', '\\\\') }}', {# path #}
'{{ exposure.description | replace("'","\\'") }}', {# description #}
"""{{ exposure.description | replace("'","\\'") }}""", {# description #}
'{{ exposure.url }}', {# url #}
'{{ exposure.package_name }}', {# package_name #}
{{ tojson(exposure.depends_on.nodes) }} {# depends_on_nodes #}
Expand Down