Skip to content

Commit

Permalink
Set delimited idenitifier conditional for database and schema columns
Browse files Browse the repository at this point in the history
  • Loading branch information
bvkabn committed Sep 20, 2024
1 parent d07ce33 commit 7110f29
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions macros/upload_results/get_column_name_lists.sql
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
{% if target.type == "bigquery" %} bytes_processed,
{% endif %}
materialization,
"schema",
{% if target.type == "sqlserver" %} "schema",
{% else %} schema,
{% endif %}
name,
alias,
message,
Expand All @@ -76,8 +78,9 @@
command_invocation_id,
node_id,
run_started_at,
"database",
"schema",
{% if target.type == "sqlserver" %} "database", "schema",
{% else %} database, schema,
{% endif %}
name,
depends_on_nodes,
package_name,
Expand All @@ -104,7 +107,9 @@
total_node_runtime,
rows_affected,
materialization,
"schema",
{% if target.type == "sqlserver" %} "schema",
{% else %} schema,
{% endif %}
name,
alias,
message,
Expand All @@ -117,8 +122,9 @@
command_invocation_id,
node_id,
run_started_at,
"database",
"schema",
{% if target.type == "sqlserver" %} "database", "schema",
{% else %} database, schema,
{% endif %}
name,
package_name,
path,
Expand All @@ -142,7 +148,9 @@
total_node_runtime,
rows_affected,
materialization,
"schema",
{% if target.type == "sqlserver" %} "schema",
{% else %} schema,
{% endif %}
name,
alias,
message,
Expand All @@ -155,8 +163,9 @@
command_invocation_id,
node_id,
run_started_at,
"database",
"schema",
{% if target.type == "sqlserver" %} "database", "schema",
{% else %} database, schema,
{% endif %}
name,
depends_on_nodes,
package_name,
Expand All @@ -174,8 +183,9 @@
command_invocation_id,
node_id,
run_started_at,
"database",
"schema",
{% if target.type == "sqlserver" %} "database", "schema",
{% else %} database, schema,
{% endif %}
source_name,
loader,
name,
Expand Down

0 comments on commit 7110f29

Please sign in to comment.