dbt-firebolt 1.8.1__py3-none-any.whl → 1.8.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- dbt/adapters/firebolt/__init__.py +1 -1
- dbt/adapters/firebolt/connections.py +0 -1
- dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql +7 -7
- dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql +2 -2
- {dbt_firebolt-1.8.1.dist-info → dbt_firebolt-1.8.3.dist-info}/METADATA +5 -2
- {dbt_firebolt-1.8.1.dist-info → dbt_firebolt-1.8.3.dist-info}/RECORD +9 -9
- {dbt_firebolt-1.8.1.dist-info → dbt_firebolt-1.8.3.dist-info}/LICENSE +0 -0
- {dbt_firebolt-1.8.1.dist-info → dbt_firebolt-1.8.3.dist-info}/WHEEL +0 -0
- {dbt_firebolt-1.8.1.dist-info → dbt_firebolt-1.8.3.dist-info}/top_level.txt +0 -0
@@ -39,7 +39,6 @@ class FireboltCredentials(Credentials):
|
|
39
39
|
client_id: Optional[str] = None
|
40
40
|
client_secret: Optional[str] = None
|
41
41
|
api_endpoint: Optional[str] = DEFAULT_API_URL
|
42
|
-
driver: str = 'com.firebolt.FireboltDriver'
|
43
42
|
engine_name: Optional[str] = None
|
44
43
|
account_name: Optional[str] = None
|
45
44
|
retries: int = 1
|
@@ -68,8 +68,8 @@
|
|
68
68
|
(
|
69
69
|
{%- for column in columns -%}
|
70
70
|
{{ column.name }}
|
71
|
-
{%- if column.default
|
72
|
-
{%- if column.source_column_name
|
71
|
+
{%- if column.default %} DEFAULT {{ column.default }}{% endif %}
|
72
|
+
{%- if column.source_column_name %} {{ '$' ~ loop.index0 }}{% endif %}
|
73
73
|
{{- ',' if not loop.last }}
|
74
74
|
{%- endfor -%}
|
75
75
|
)
|
@@ -83,10 +83,10 @@
|
|
83
83
|
{%- if options.type %}
|
84
84
|
TYPE = {{ options.type }}
|
85
85
|
{%- endif %}
|
86
|
-
{%- if options.auto_create
|
86
|
+
{%- if options.auto_create %}
|
87
87
|
AUTO_CREATE = {{ options.auto_create | upper }}
|
88
88
|
{%- endif %}
|
89
|
-
{%- if options.allow_column_mismatch
|
89
|
+
{%- if options.allow_column_mismatch %}
|
90
90
|
ALLOW_COLUMN_MISMATCH = {{ options.allow_column_mismatch | upper }}
|
91
91
|
{%- endif %}
|
92
92
|
{%- if options.error_file %}
|
@@ -99,7 +99,7 @@
|
|
99
99
|
MAX_ERRORS_PER_FILE = {{ options.max_errors_per_file }}
|
100
100
|
{%- endif %}
|
101
101
|
{%- if csv_options %}
|
102
|
-
{%- if csv_options.header
|
102
|
+
{%- if csv_options.header %}
|
103
103
|
HEADER = {{ csv_options.header | upper }}
|
104
104
|
{%- endif %}
|
105
105
|
{%- if csv_options.delimiter %}
|
@@ -117,10 +117,10 @@
|
|
117
117
|
{%- if csv_options.null_string %}
|
118
118
|
NULL_STRING = '{{ csv_options.null_string }}'
|
119
119
|
{%- endif %}
|
120
|
-
{%- if csv_options.empty_field_as_null
|
120
|
+
{%- if csv_options.empty_field_as_null %}
|
121
121
|
EMPTY_FIELD_AS_NULL = {{ csv_options.empty_field_as_null | upper }}
|
122
122
|
{%- endif %}
|
123
|
-
{%- if csv_options.skip_blank_lines
|
123
|
+
{%- if csv_options.skip_blank_lines %}
|
124
124
|
SKIP_BLANK_LINES = {{ csv_options.skip_blank_lines | upper }}
|
125
125
|
{%- endif %}
|
126
126
|
{%- if csv_options.date_format %}
|
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
SELECT
|
66
66
|
{% if partition_cols is iterable and partition_cols is not string -%}
|
67
|
-
DISTINCT
|
67
|
+
DISTINCT {{ partition_cols | join(', ') }}
|
68
68
|
{%- else -%}
|
69
69
|
DISTINCT {{ partition_cols }}
|
70
70
|
{%- endif %}
|
@@ -110,7 +110,7 @@
|
|
110
110
|
of extra work. -#}
|
111
111
|
'{{ vals | join(', ') }}'
|
112
112
|
{%- else -%}
|
113
|
-
{{ vals | join(', ') }}
|
113
|
+
'{{ vals | join("', '") }}'
|
114
114
|
{%- endif -%}
|
115
115
|
{%- endif -%}
|
116
116
|
{%- else -%}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dbt-firebolt
|
3
|
-
Version: 1.8.
|
3
|
+
Version: 1.8.3
|
4
4
|
Summary: The Firebolt adapter plugin for dbt (data build tool)
|
5
5
|
Home-page: https://github.com/firebolt-db/dbt-firebolt
|
6
6
|
Author: Firebolt
|
@@ -13,6 +13,9 @@ Classifier: Programming Language :: Python :: 3
|
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
14
14
|
Classifier: Programming Language :: Python :: 3.8
|
15
15
|
Classifier: Programming Language :: Python :: 3.9
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
16
19
|
Requires-Python: >=3.8
|
17
20
|
Description-Content-Type: text/markdown
|
18
21
|
License-File: LICENSE
|
@@ -24,7 +27,7 @@ Provides-Extra: dev
|
|
24
27
|
Requires-Dist: allure-pytest ==2.* ; extra == 'dev'
|
25
28
|
Requires-Dist: dbt-tests-adapter ~=1.6 ; extra == 'dev'
|
26
29
|
Requires-Dist: mypy ==1.4.1 ; extra == 'dev'
|
27
|
-
Requires-Dist: pre-commit ==
|
30
|
+
Requires-Dist: pre-commit ==3.5.0 ; extra == 'dev'
|
28
31
|
Requires-Dist: pytest ==7.* ; extra == 'dev'
|
29
32
|
|
30
33
|
<img width="1113" alt="Screen Shot 2021-12-10 at 1 09 09 PM" src="https://user-images.githubusercontent.com/7674553/145641621-a7dabe78-da92-4f0a-bbd2-54ccf7f34b57.png">
|
@@ -1,7 +1,7 @@
|
|
1
|
-
dbt/adapters/firebolt/__init__.py,sha256=
|
1
|
+
dbt/adapters/firebolt/__init__.py,sha256=t2OdtmGZsdECgNs-V5f1PLj901H8H7IzXTO0yLzq14Q,411
|
2
2
|
dbt/adapters/firebolt/__version__.py,sha256=zRlZGglif76ZVuWWSjsH_MMPgtVQqmj-SryYJW25FL4,69
|
3
3
|
dbt/adapters/firebolt/column.py,sha256=COo_wjhCFgS3GFcPIPcoq7WAWgzN6DB2XqG-gk51WBc,539
|
4
|
-
dbt/adapters/firebolt/connections.py,sha256=
|
4
|
+
dbt/adapters/firebolt/connections.py,sha256=_i0wPE6LWmLGo_C50UhPAU8IMUi_I2HU23fBZtfhi0Q,7942
|
5
5
|
dbt/adapters/firebolt/impl.py,sha256=vHK7AfpmMdZMCHaky3IEufl18IYFPs9mdvdmTpMrUh4,13939
|
6
6
|
dbt/adapters/firebolt/relation.py,sha256=Xg3Nrjw3UrF_qwnuGbPT97rSXRiDP1GlIAoBF4b7QnY,1922
|
7
7
|
dbt/adapters/firebolt/relation_configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -11,7 +11,7 @@ dbt/include/firebolt/macros/adapters.sql,sha256=NiTW87XQmC8gGahY6LCw7Fd6Brgin5qB
|
|
11
11
|
dbt/include/firebolt/macros/catalog.sql,sha256=LLhjI9oEoMEQKQfE3LJ5nWS9-u3bwBAYBz4ukrsg5T8,3350
|
12
12
|
dbt/include/firebolt/macros/adapters/apply_grants.sql,sha256=nEmyDs0K0HENxxMaY8v-5oifIXDMrysmuUb_bo9bCuY,1095
|
13
13
|
dbt/include/firebolt/macros/adapters/relation.sql,sha256=1nQZg_vwpGYwFI2EQvHJA5CqFWk7h3w3Yq2uvYXNR5E,2017
|
14
|
-
dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql,sha256=
|
14
|
+
dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql,sha256=MeFyR0oMjQdc0GlUABx6DDm5t76PdcdmXKWGVThi4EE,6069
|
15
15
|
dbt/include/firebolt/macros/dbt_external_tables/dropif.sql,sha256=-kZzUVgC6Bcof7tZ9VcDK427agylMHeG-yA8NqSeWkw,167
|
16
16
|
dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql,sha256=BWNSuqB9t0hxbxL9CbIc0UFTBBarQMtGfHv9LLAbqSI,894
|
17
17
|
dbt/include/firebolt/macros/materializations/clone.sql,sha256=SKPc_tG0tF2HRKlo1-CQPvxVWGKHpXDwxvubsCwKTG8,79
|
@@ -25,7 +25,7 @@ dbt/include/firebolt/macros/materializations/models/incremental/incremental.sql,
|
|
25
25
|
dbt/include/firebolt/macros/materializations/models/incremental/is_incremental.sql,sha256=8Zgg0wOgIDQK_SAwxi7zk7gr_6Q7WyqN8nflTYpoyG0,581
|
26
26
|
dbt/include/firebolt/macros/materializations/models/incremental/merge.sql,sha256=YPryPkUfVVrKVk5bSdGt0eMa5NdFMMvJW1OuQ6o2umw,1311
|
27
27
|
dbt/include/firebolt/macros/materializations/models/incremental/on_schema_change.sql,sha256=WxGhX22oJRhDVsR4nUWilCSIG-bb7efDC3AXcU8VbbQ,3933
|
28
|
-
dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql,sha256=
|
28
|
+
dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql,sha256=GvqmGbwuxbAY9FBQp3XGzabHWINUaBM8CxVY-aLn4Jk,5928
|
29
29
|
dbt/include/firebolt/macros/relations/materialized_view/alter.sql,sha256=QDMCFwJZZfz7mrx6UcyDICSWAS3zQTs52_urcsW8klU,286
|
30
30
|
dbt/include/firebolt/macros/relations/materialized_view/create.sql,sha256=xthF0oHCyC4xu8IKEtoLJIyWh3p-JGBS5Awc3J-sQ8Y,178
|
31
31
|
dbt/include/firebolt/macros/relations/materialized_view/describe.sql,sha256=uMJWY-9P-49YjhwH_F1Co4szia0oNAVYqJIv2IVGzM8,164
|
@@ -53,8 +53,8 @@ dbt/include/firebolt/macros/utils/position.sql,sha256=WPo9_bhvNYJooEAsHC9OcnNAwU
|
|
53
53
|
dbt/include/firebolt/macros/utils/right.sql,sha256=_mm1_2MvlOH4O6CmYhgvVxMLfDxAvgv-EMwZ8OBOq-I,254
|
54
54
|
dbt/include/firebolt/macros/utils/split_part.sql,sha256=5dUlbx3Pt1iWWaIlxiXyYUwUqzXuLLXMB-1aGJHNk4o,464
|
55
55
|
dbt/include/firebolt/macros/utils/timestamps.sql,sha256=22g-QpJjBuBUQOHNpQ_TuMRa-cHxaxXPv8ItEUo-vEk,397
|
56
|
-
dbt_firebolt-1.8.
|
57
|
-
dbt_firebolt-1.8.
|
58
|
-
dbt_firebolt-1.8.
|
59
|
-
dbt_firebolt-1.8.
|
60
|
-
dbt_firebolt-1.8.
|
56
|
+
dbt_firebolt-1.8.3.dist-info/LICENSE,sha256=Nn0EGvW3qmoZpBV_JVM3iPukFf3RiNCIizrWe_2oTHk,11354
|
57
|
+
dbt_firebolt-1.8.3.dist-info/METADATA,sha256=ozTVCMX7bU20G8QilUcwFRjdf6XafAszoTvqVpvNIXs,5222
|
58
|
+
dbt_firebolt-1.8.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
59
|
+
dbt_firebolt-1.8.3.dist-info/top_level.txt,sha256=B2YH4he17ajilEWOGCKHbRcEJlCuZKwCcgFcLPntLsE,4
|
60
|
+
dbt_firebolt-1.8.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|