dbt-firebolt 1.8.1__tar.gz → 1.8.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/PKG-INFO +4 -1
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/__init__.py +1 -1
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/connections.py +0 -1
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql +7 -7
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql +2 -2
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/PKG-INFO +4 -1
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/requires.txt +1 -1
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/setup.cfg +5 -2
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/LICENSE +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/MANIFEST.in +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/README.md +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/__version__.py +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/column.py +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/impl.py +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/relation.py +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/relation_configs/__init__.py +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/__init__.py +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/dbt_project.yml +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters/apply_grants.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters/relation.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/catalog.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/dropif.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/clone.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/materialized_view.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/column_helpers.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/incremental.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/is_incremental.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/merge.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/on_schema_change.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/seed.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/table.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/test.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/view.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/alter.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/create.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/describe.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/drop.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/refresh.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/create.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/drop.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/rename.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/replace.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/create.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/drop.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/rename.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/replace.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_append.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_concat.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_construct.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/bool_or.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/cast_bool_to_text.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/dateadd.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/datediff.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/except.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/intersect.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/listagg.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/position.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/right.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/split_part.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/timestamps.sql +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/SOURCES.txt +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/dependency_links.txt +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/top_level.txt +0 -0
- {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/pyproject.toml +0 -0
@@ -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
|
Provides-Extra: dev
|
@@ -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
|
Provides-Extra: dev
|
@@ -8,7 +8,7 @@ url = https://github.com/firebolt-db/dbt-firebolt
|
|
8
8
|
author = Firebolt
|
9
9
|
author_email = support@firebolt.io
|
10
10
|
license = Apache-2.0
|
11
|
-
|
11
|
+
license_files = LICENSE
|
12
12
|
classifiers =
|
13
13
|
License :: OSI Approved :: Apache Software License
|
14
14
|
Operating System :: OS Independent
|
@@ -16,6 +16,9 @@ classifiers =
|
|
16
16
|
Programming Language :: Python :: 3 :: Only
|
17
17
|
Programming Language :: Python :: 3.8
|
18
18
|
Programming Language :: Python :: 3.9
|
19
|
+
Programming Language :: Python :: 3.10
|
20
|
+
Programming Language :: Python :: 3.11
|
21
|
+
Programming Language :: Python :: 3.12
|
19
22
|
project_urls =
|
20
23
|
Bug Tracker = https://github.com/firebolt-db/dbt-firebolt/issues
|
21
24
|
|
@@ -40,7 +43,7 @@ dev =
|
|
40
43
|
allure-pytest==2.*
|
41
44
|
dbt-tests-adapter~=1.6
|
42
45
|
mypy==1.4.1
|
43
|
-
pre-commit==
|
46
|
+
pre-commit==3.5.0
|
44
47
|
pytest==7.*
|
45
48
|
|
46
49
|
[black]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/relation_configs/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters/apply_grants.sql
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/dropif.sql
RENAMED
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/clone.sql
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/seed.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/table.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/test.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/view.sql
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/create.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/drop.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/rename.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/replace.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/create.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/drop.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/rename.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/replace.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_append.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_concat.sql
RENAMED
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_construct.sql
RENAMED
File without changes
|
File without changes
|
{dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/cast_bool_to_text.sql
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|