dbt-firebolt 1.5.0__py3-none-any.whl → 1.6.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,17 +11,17 @@ 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
  License-File: LICENSE
20
- Requires-Dist: dbt-core ~=1.5
19
+ Requires-Dist: dbt-core ~=1.6
21
20
  Requires-Dist: firebolt-sdk >=1.1.0
21
+ Requires-Dist: pydantic >=0.23
22
22
  Provides-Extra: dev
23
23
  Requires-Dist: allure-pytest ==2.* ; extra == 'dev'
24
- Requires-Dist: dbt-tests-adapter ~=1.5 ; extra == 'dev'
24
+ Requires-Dist: dbt-tests-adapter ~=1.6 ; extra == 'dev'
25
25
  Requires-Dist: mypy ==1.4.1 ; extra == 'dev'
26
26
  Requires-Dist: pre-commit ==2.15.0 ; extra == 'dev'
27
27
  Requires-Dist: pytest ==7.* ; extra == 'dev'
@@ -1,4 +1,4 @@
1
- dbt/adapters/firebolt/__init__.py,sha256=VYg0Ai8MZzMAVqCfl6GLWwig2oJlPT6NCdoCr_VBqC8,411
1
+ dbt/adapters/firebolt/__init__.py,sha256=yDkuaLTK9PMdmkIqBMYUKkXTu9gls1G6mPHGwdmhu1g,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
4
  dbt/adapters/firebolt/connections.py,sha256=Sp2C03ynSqmRIQO9z2YGfVIimWZrygST7uKT0t5_RwU,7880
@@ -6,13 +6,15 @@ dbt/adapters/firebolt/impl.py,sha256=0Zn058iDxT6eVAP77vGC1sIyOYuW5FDALNns1ErPl_4
6
6
  dbt/adapters/firebolt/relation.py,sha256=z-yv_ICJPZB33IIpnr3o_jusoULlKANLj6BlkaudQQ0,1152
7
7
  dbt/include/firebolt/__init__.py,sha256=vBGWeG-dHHkimfnX8axBJ4IgAowFw8xADmo6Auzn2xc,52
8
8
  dbt/include/firebolt/dbt_project.yml,sha256=uHJ-i0wD1D74DWSSSzsFKoKbAN1w4LBgVpnkm8e-M1g,76
9
- dbt/include/firebolt/macros/adapters.sql,sha256=sLQnKrrtcfXnMlgJEPvgN0ELgmur7InJ19gzruz4_zo,9802
9
+ dbt/include/firebolt/macros/adapters.sql,sha256=L6AVtG03-JByYyb5JwIdWTYII8H2SStCquqF_le5PdA,9800
10
10
  dbt/include/firebolt/macros/catalog.sql,sha256=Ung5LZF3Usm_xIrrTRs6sBP0LiPbGH4aQ99cC-6ol4M,1312
11
11
  dbt/include/firebolt/macros/adapters/apply_grants.sql,sha256=nEmyDs0K0HENxxMaY8v-5oifIXDMrysmuUb_bo9bCuY,1095
12
12
  dbt/include/firebolt/macros/adapters/relation.sql,sha256=1nQZg_vwpGYwFI2EQvHJA5CqFWk7h3w3Yq2uvYXNR5E,2017
13
13
  dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql,sha256=Cs8E0MnHQnKvEshck6RrV0F6pGjOAZTbtq_UsZb2YSQ,1669
14
14
  dbt/include/firebolt/macros/dbt_external_tables/dropif.sql,sha256=-kZzUVgC6Bcof7tZ9VcDK427agylMHeG-yA8NqSeWkw,167
15
15
  dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql,sha256=BWNSuqB9t0hxbxL9CbIc0UFTBBarQMtGfHv9LLAbqSI,894
16
+ dbt/include/firebolt/macros/materializations/clone.sql,sha256=SKPc_tG0tF2HRKlo1-CQPvxVWGKHpXDwxvubsCwKTG8,79
17
+ dbt/include/firebolt/macros/materializations/materialized_view.sql,sha256=UAd2h-ZIsDbI45hPMIAXVNrQB8SCt0QfkMUs_GHe_kw,1538
16
18
  dbt/include/firebolt/macros/materializations/seed.sql,sha256=O622lwmzRGeAfaNfRpjR183ARFltILteznwgXZfPXMA,1564
17
19
  dbt/include/firebolt/macros/materializations/table.sql,sha256=XY0D-df9EoWOBF3kCT3TCE3Rko7bvvfuztQT0-Pqlfs,1752
18
20
  dbt/include/firebolt/macros/materializations/test.sql,sha256=Wol19pNIfkPRTpVUYKAGbkipYOMZjixnAaoZ1chuP88,488
@@ -26,7 +28,7 @@ dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql,s
26
28
  dbt/include/firebolt/macros/utils/array_append.sql,sha256=woAedZFXFYh6TYXwJQCxKj4o5yo71yXBdk-nxcF4Kss,117
27
29
  dbt/include/firebolt/macros/utils/array_concat.sql,sha256=Q9yY_rhcITJH0bS12MJOkBl5PXJ-ScgFZTBrqmQtdmw,117
28
30
  dbt/include/firebolt/macros/utils/array_construct.sql,sha256=C1I8STXIEN4-Ms6_b1Fw7QqzaAiesjC3M4RWa6e3pBY,105
29
- dbt/include/firebolt/macros/utils/bool_or.sql,sha256=PlnQTFU2NFH1d8nbzLss_VHbYO06dd0f7hEyadSkxkk,87
31
+ dbt/include/firebolt/macros/utils/bool_or.sql,sha256=NzL7uWbQIi1hUkIeshnEHIfQOVIW-gTLHU1QzTkToNQ,87
30
32
  dbt/include/firebolt/macros/utils/cast_bool_to_text.sql,sha256=ZUst68Bx6Xuls2TO2BjDkBUS1gj0z7upZwvF4r6cmN0,187
31
33
  dbt/include/firebolt/macros/utils/dateadd.sql,sha256=5xRi047b42aOYpCLnVPuQa3wXN9k1-3xNC4ta5p9AEA,202
32
34
  dbt/include/firebolt/macros/utils/datediff.sql,sha256=cy-Ex1TOyddF23JnvqprOVFeCEpag_wTvNazEh7BURY,214
@@ -37,8 +39,8 @@ dbt/include/firebolt/macros/utils/position.sql,sha256=WPo9_bhvNYJooEAsHC9OcnNAwU
37
39
  dbt/include/firebolt/macros/utils/right.sql,sha256=_mm1_2MvlOH4O6CmYhgvVxMLfDxAvgv-EMwZ8OBOq-I,254
38
40
  dbt/include/firebolt/macros/utils/split_part.sql,sha256=5dUlbx3Pt1iWWaIlxiXyYUwUqzXuLLXMB-1aGJHNk4o,464
39
41
  dbt/include/firebolt/macros/utils/timestamps.sql,sha256=22g-QpJjBuBUQOHNpQ_TuMRa-cHxaxXPv8ItEUo-vEk,397
40
- dbt_firebolt-1.5.0.dist-info/LICENSE,sha256=Nn0EGvW3qmoZpBV_JVM3iPukFf3RiNCIizrWe_2oTHk,11354
41
- dbt_firebolt-1.5.0.dist-info/METADATA,sha256=BQ_VFjbPgJVlvF0bXUVbyY_U9g1LhrBPbMo6bphqe30,5048
42
- dbt_firebolt-1.5.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
43
- dbt_firebolt-1.5.0.dist-info/top_level.txt,sha256=B2YH4he17ajilEWOGCKHbRcEJlCuZKwCcgFcLPntLsE,4
44
- dbt_firebolt-1.5.0.dist-info/RECORD,,
42
+ dbt_firebolt-1.6.1.dist-info/LICENSE,sha256=Nn0EGvW3qmoZpBV_JVM3iPukFf3RiNCIizrWe_2oTHk,11354
43
+ dbt_firebolt-1.6.1.dist-info/METADATA,sha256=vJfVJ80V08V4gZN99TnRzEz3H1UIIZ2MnvPJF73yEic,5029
44
+ dbt_firebolt-1.6.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
45
+ dbt_firebolt-1.6.1.dist-info/top_level.txt,sha256=B2YH4he17ajilEWOGCKHbRcEJlCuZKwCcgFcLPntLsE,4
46
+ dbt_firebolt-1.6.1.dist-info/RECORD,,