You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{#-- This needs to be a case-insensitive comparison --#}
52
52
{%- do column_name_to_data_types.update({column.name|lower: column.data_type}) -%}
53
-
{%- do column_name_to_quoted.update({column.name|lower: column.quoted}) -%}
54
53
{%- endfor -%}
55
54
{%- endif -%}
56
55
@@ -67,7 +66,7 @@ from SYS_CALENDAR.CALENDAR where day_of_calendar = 1
67
66
{%-set default_row_copy =default_row.copy() -%}
68
67
{%- do default_row_copy.update(formatted_row) -%}
69
68
select
70
-
{%- for column_name, column_value indefault_row_copy.items() %} {{ column_value }} as {{ column_name_to_quoted[column_name] }}{% if not loop.last-%}, {% else %} {{ '' }} {%- endif %}
69
+
{%- for column_name, column_value indefault_row_copy.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last-%}, {% else %} {{ '' }} {%- endif %}
71
70
{%- endfor %}
72
71
{%- if not loop.last %}
73
72
fromSYS_CALENDAR.CALENDARwhere day_of_calendar =1
@@ -78,7 +77,7 @@ from SYS_CALENDAR.CALENDAR where day_of_calendar = 1
78
77
79
78
{%- if (rows | length) ==0-%}
80
79
select
81
-
{%- for column_name, column_value indefault_row.items() %} {{ column_value }} as {{ column_name_to_quoted[column_name] }}{% if not loop.last-%},{%- endif %}
80
+
{%- for column_name, column_value indefault_row.items() %} {{ column_value }} as {{ column_name }}{% if not loop.last-%},{%- endif %}
0 commit comments