dbt-firebolt 1.5.0__tar.gz → 1.6.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/PKG-INFO +2 -3
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/__init__.py +1 -1
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters.sql +2 -2
- dbt_firebolt-1.6.1/dbt/include/firebolt/macros/materializations/clone.sql +3 -0
- dbt_firebolt-1.6.1/dbt/include/firebolt/macros/materializations/materialized_view.sql +48 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/bool_or.sql +1 -1
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/PKG-INFO +2 -3
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/SOURCES.txt +2 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/requires.txt +3 -2
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/setup.cfg +4 -4
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/LICENSE +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/MANIFEST.in +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/README.md +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/__version__.py +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/column.py +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/connections.py +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/impl.py +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/relation.py +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/__init__.py +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/dbt_project.yml +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters/apply_grants.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters/relation.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/catalog.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/dropif.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/column_helpers.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/incremental.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/is_incremental.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/merge.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/on_schema_change.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/seed.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/table.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/test.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/view.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_append.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_concat.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_construct.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/cast_bool_to_text.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/dateadd.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/datediff.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/except.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/intersect.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/listagg.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/position.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/right.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/split_part.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/timestamps.sql +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/dependency_links.txt +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/top_level.txt +0 -0
- {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dbt_firebolt
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.6.1
|
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
|
@@ -11,10 +11,9 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
14
|
-
Classifier: Programming Language :: Python :: 3.7
|
15
14
|
Classifier: Programming Language :: Python :: 3.8
|
16
15
|
Classifier: Programming Language :: Python :: 3.9
|
17
|
-
Requires-Python: >=3.
|
16
|
+
Requires-Python: >=3.8
|
18
17
|
Description-Content-Type: text/markdown
|
19
18
|
Provides-Extra: dev
|
20
19
|
License-File: LICENSE
|
@@ -239,9 +239,9 @@
|
|
239
239
|
{%- endif %}
|
240
240
|
{%- if not contract_config.enforced %}
|
241
241
|
AS (
|
242
|
-
{
|
242
|
+
{% endif -%}
|
243
243
|
{{ select_sql }}
|
244
|
-
{
|
244
|
+
{% if not contract_config.enforced -%}
|
245
245
|
)
|
246
246
|
{%- endif -%}
|
247
247
|
{% endmacro %}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{#
|
2
|
+
All these macros are stubbed with compiler errors because Firebolt does not
|
3
|
+
support materialized views.
|
4
|
+
#}
|
5
|
+
{% materialization materialized_view, adapter='firebolt' %}
|
6
|
+
|
7
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
8
|
+
|
9
|
+
{% endmaterialization %}
|
10
|
+
|
11
|
+
{% macro firebolt__get_alter_materialized_view_as_sql(
|
12
|
+
relation,
|
13
|
+
configuration_changes,
|
14
|
+
sql,
|
15
|
+
existing_relation,
|
16
|
+
backup_relation,
|
17
|
+
intermediate_relation
|
18
|
+
) %}
|
19
|
+
|
20
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
21
|
+
{% endmacro %}
|
22
|
+
|
23
|
+
|
24
|
+
{% macro firebolt__get_create_materialized_view_as_sql(relation, sql) %}
|
25
|
+
|
26
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
27
|
+
|
28
|
+
{% endmacro %}
|
29
|
+
|
30
|
+
|
31
|
+
{% macro firebolt__get_replace_materialized_view_as_sql(relation, sql, existing_relation, backup_relation, intermediate_relation) %}
|
32
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
33
|
+
{% endmacro %}
|
34
|
+
|
35
|
+
|
36
|
+
{% macro firebolt__get_materialized_view_configuration_changes(existing_relation, new_config) %}
|
37
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
38
|
+
{% endmacro %}
|
39
|
+
|
40
|
+
|
41
|
+
{% macro firebolt__refresh_materialized_view(relation) -%}
|
42
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
43
|
+
{% endmacro %}
|
44
|
+
|
45
|
+
|
46
|
+
{% macro firebolt__drop_materialized_view(relation) -%}
|
47
|
+
{{ exceptions.raise_compiler_error("Firebolt does not support materialized views") }}
|
48
|
+
{%- endmacro %}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dbt-firebolt
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.6.1
|
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
|
@@ -11,10 +11,9 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
14
|
-
Classifier: Programming Language :: Python :: 3.7
|
15
14
|
Classifier: Programming Language :: Python :: 3.8
|
16
15
|
Classifier: Programming Language :: Python :: 3.9
|
17
|
-
Requires-Python: >=3.
|
16
|
+
Requires-Python: >=3.8
|
18
17
|
Description-Content-Type: text/markdown
|
19
18
|
Provides-Extra: dev
|
20
19
|
License-File: LICENSE
|
@@ -18,6 +18,8 @@ setup.cfg
|
|
18
18
|
./dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql
|
19
19
|
./dbt/include/firebolt/macros/dbt_external_tables/dropif.sql
|
20
20
|
./dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql
|
21
|
+
./dbt/include/firebolt/macros/materializations/clone.sql
|
22
|
+
./dbt/include/firebolt/macros/materializations/materialized_view.sql
|
21
23
|
./dbt/include/firebolt/macros/materializations/seed.sql
|
22
24
|
./dbt/include/firebolt/macros/materializations/table.sql
|
23
25
|
./dbt/include/firebolt/macros/materializations/test.sql
|
@@ -14,7 +14,6 @@ classifiers =
|
|
14
14
|
Operating System :: OS Independent
|
15
15
|
Programming Language :: Python :: 3
|
16
16
|
Programming Language :: Python :: 3 :: Only
|
17
|
-
Programming Language :: Python :: 3.7
|
18
17
|
Programming Language :: Python :: 3.8
|
19
18
|
Programming Language :: Python :: 3.9
|
20
19
|
project_urls =
|
@@ -23,9 +22,10 @@ project_urls =
|
|
23
22
|
[options]
|
24
23
|
packages = find_namespace:
|
25
24
|
install_requires =
|
26
|
-
dbt-core~=1.
|
25
|
+
dbt-core~=1.6
|
27
26
|
firebolt-sdk>=1.1.0
|
28
|
-
|
27
|
+
pydantic>=0.23
|
28
|
+
python_requires = >=3.8
|
29
29
|
include_package_data = True
|
30
30
|
package_dir =
|
31
31
|
= .
|
@@ -37,7 +37,7 @@ include = dbt, dbt.*
|
|
37
37
|
[options.extras_require]
|
38
38
|
dev =
|
39
39
|
allure-pytest==2.*
|
40
|
-
dbt-tests-adapter~=1.
|
40
|
+
dbt-tests-adapter~=1.6
|
41
41
|
mypy==1.4.1
|
42
42
|
pre-commit==2.15.0
|
43
43
|
pytest==7.*
|
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
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters/apply_grants.sql
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/dropif.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
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/seed.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/table.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/test.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/view.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_append.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_concat.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_construct.sql
RENAMED
File without changes
|
{dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/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
|