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.
Files changed (52) hide show
  1. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/PKG-INFO +2 -3
  2. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/__init__.py +1 -1
  3. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters.sql +2 -2
  4. dbt_firebolt-1.6.1/dbt/include/firebolt/macros/materializations/clone.sql +3 -0
  5. dbt_firebolt-1.6.1/dbt/include/firebolt/macros/materializations/materialized_view.sql +48 -0
  6. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/bool_or.sql +1 -1
  7. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/PKG-INFO +2 -3
  8. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/SOURCES.txt +2 -0
  9. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/requires.txt +3 -2
  10. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/setup.cfg +4 -4
  11. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/LICENSE +0 -0
  12. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/MANIFEST.in +0 -0
  13. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/README.md +0 -0
  14. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/__version__.py +0 -0
  15. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/column.py +0 -0
  16. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/connections.py +0 -0
  17. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/impl.py +0 -0
  18. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/adapters/firebolt/relation.py +0 -0
  19. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/__init__.py +0 -0
  20. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/dbt_project.yml +0 -0
  21. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters/apply_grants.sql +0 -0
  22. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/adapters/relation.sql +0 -0
  23. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/catalog.sql +0 -0
  24. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql +0 -0
  25. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/dropif.sql +0 -0
  26. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql +0 -0
  27. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/column_helpers.sql +0 -0
  28. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/incremental.sql +0 -0
  29. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/is_incremental.sql +0 -0
  30. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/merge.sql +0 -0
  31. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/on_schema_change.sql +0 -0
  32. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql +0 -0
  33. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/seed.sql +0 -0
  34. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/table.sql +0 -0
  35. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/test.sql +0 -0
  36. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/materializations/view.sql +0 -0
  37. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_append.sql +0 -0
  38. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_concat.sql +0 -0
  39. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/array_construct.sql +0 -0
  40. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/cast_bool_to_text.sql +0 -0
  41. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/dateadd.sql +0 -0
  42. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/datediff.sql +0 -0
  43. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/except.sql +0 -0
  44. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/intersect.sql +0 -0
  45. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/listagg.sql +0 -0
  46. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/position.sql +0 -0
  47. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/right.sql +0 -0
  48. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/split_part.sql +0 -0
  49. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt/include/firebolt/macros/utils/timestamps.sql +0 -0
  50. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/dependency_links.txt +0 -0
  51. {dbt_firebolt-1.5.0 → dbt_firebolt-1.6.1}/dbt_firebolt.egg-info/top_level.txt +0 -0
  52. {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.5.0
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.7
16
+ Requires-Python: >=3.8
18
17
  Description-Content-Type: text/markdown
19
18
  Provides-Extra: dev
20
19
  License-File: LICENSE
@@ -7,7 +7,7 @@ from dbt.adapters.firebolt.connections import (
7
7
  from dbt.adapters.firebolt.impl import FireboltAdapter
8
8
  from dbt.include import firebolt
9
9
 
10
- __version__ = "1.5.0"
10
+ __version__ = "1.6.1"
11
11
 
12
12
  Plugin = AdapterPlugin(
13
13
  adapter=FireboltAdapter, # type: ignore
@@ -239,9 +239,9 @@
239
239
  {%- endif %}
240
240
  {%- if not contract_config.enforced %}
241
241
  AS (
242
- {%- endif -%}
242
+ {% endif -%}
243
243
  {{ select_sql }}
244
- {%- if not contract_config.enforced -%}
244
+ {% if not contract_config.enforced -%}
245
245
  )
246
246
  {%- endif -%}
247
247
  {% endmacro %}
@@ -0,0 +1,3 @@
1
+ {% macro firebolt__can_clone_table() %}
2
+ {{ return(False) }}
3
+ {% 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,5 +1,5 @@
1
1
  {% macro firebolt__bool_or(expression) -%}
2
2
 
3
- ANY({{ expression }})
3
+ MAX({{ expression }})
4
4
 
5
5
  {%- endmacro %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbt-firebolt
3
- Version: 1.5.0
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.7
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
@@ -1,9 +1,10 @@
1
- dbt-core~=1.5
1
+ dbt-core~=1.6
2
2
  firebolt-sdk>=1.1.0
3
+ pydantic>=0.23
3
4
 
4
5
  [dev]
5
6
  allure-pytest==2.*
6
- dbt-tests-adapter~=1.5
7
+ dbt-tests-adapter~=1.6
7
8
  mypy==1.4.1
8
9
  pre-commit==2.15.0
9
10
  pytest==7.*
@@ -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.5
25
+ dbt-core~=1.6
27
26
  firebolt-sdk>=1.1.0
28
- python_requires = >=3.7
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.5
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