Skip to content

Commit c376134

Browse files
committed
Addressing Issue #222 and #223
1 parent 2cad5b8 commit c376134

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

dbt/adapters/fabric/fabric_column.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class FabricColumn(Column):
1010
"FLOAT": "FLOAT",
1111
"INTEGER": "INT",
1212
"BOOLEAN": "BIT",
13-
"DATETIME2(6)": "DATETIME2(6)",
1413
}
1514

1615
@classmethod

dbt/include/fabric/macros/materializations/seeds/helpers.sql

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,3 @@
5757
{# Return SQL so we can render it out into the compiled files #}
5858
{{ return(statements[0]) }}
5959
{% endmacro %}
60-
61-
{% macro fabric__create_csv_table(model, agate_table) %}
62-
{%- set column_override = model['config'].get('column_types', {}) -%}
63-
{%- set quote_seed_column = model['config'].get('quote_columns', None) -%}
64-
65-
{% set sql %}
66-
create table {{ this.render() }} (
67-
{%- for col_name in agate_table.column_names -%}
68-
{%- set inferred_type = adapter.convert_type(agate_table, loop.index0) -%}
69-
{%- set type = column_override.get(col_name, inferred_type) -%}
70-
{{ log(inferred_type ~ 'column data type inferred for '~ type )}}
71-
{%- set column_name = (col_name | string) -%}
72-
{{ adapter.quote_seed_column(column_name, quote_seed_column) }} {{ type }} {%- if not loop.last -%}, {%- endif -%}
73-
{%- endfor -%}
74-
)
75-
{% endset %}
76-
77-
{% call statement('_') -%}
78-
{{ sql }}
79-
{%- endcall %}
80-
81-
{{ return(sql) }}
82-
{% endmacro %}

0 commit comments

Comments
 (0)