-
Notifications
You must be signed in to change notification settings - Fork 131
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
Added sqlserver compatibility including CI #248
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ models: | |
- unique | ||
|
||
exposures: | ||
- name: "ceo's imaginary dashboard" | ||
- name: "ceos_imaginary_dashboard" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the thinking here? :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dbt 1.3 gave a warning that spaces in the name will not be permitted in a future version. Also with sql server the spaces were failing the ci tests, so killed two birds with one stone. |
||
type: dashboard | ||
maturity: high | ||
description: "ceo's favourite dashboard" | ||
description: "ceos favourite dashboard" | ||
url: https://bi.tool/dashboards/1 | ||
|
||
depends_on: | ||
|
@@ -23,7 +23,7 @@ exposures: | |
name: Claire from Data | ||
email: [email protected] | ||
|
||
- name: "CIO dashboard" | ||
- name: "CIO_dashboard" | ||
type: dashboard | ||
maturity: high | ||
description: '{{ doc("clickstream") }}' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
{% if target.name == 'sqlserver' %} | ||
select 1 as failures from (values(2)) as tab(col) where 1 = 2 | ||
{% else %} | ||
select 1 as failures from (select 2) where 1 = 2 | ||
{% endif %} |
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.
Don't these need to be under the env key?
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.
Right you are, I've updated my branch with this change.