dbt-firebolt 1.8.2__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.
@@ -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.8.2"
10
+ __version__ = "1.8.3"
11
11
 
12
12
  Plugin = AdapterPlugin(
13
13
  adapter=FireboltAdapter, # type: ignore
@@ -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 is not none %} DEFAULT {{ column.default }}{% endif %}
72
- {%- if column.source_column_name is not none %} {{ '$' ~ loop.index0 }}{% endif %}
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 is not none %}
86
+ {%- if options.auto_create %}
87
87
  AUTO_CREATE = {{ options.auto_create | upper }}
88
88
  {%- endif %}
89
- {%- if options.allow_column_mismatch is not none %}
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 is not none %}
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 is not none %}
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 is not none %}
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 %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbt-firebolt
3
- Version: 1.8.2
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 ==2.15.0 ; extra == 'dev'
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=4WyLJ7pu9-HKBdCnohQRVqNBbOM6_nFbyOXxAhM2e_g,411
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=r7imGPka0klw1ev-5GTSIwUbO-Df_5DE4Ss-9OfLBMk,7990
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=x7awixF-k8neugbKp7_QVb7PhBlQnsaIvvdBtJEeJqE,6153
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
@@ -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.2.dist-info/LICENSE,sha256=Nn0EGvW3qmoZpBV_JVM3iPukFf3RiNCIizrWe_2oTHk,11354
57
- dbt_firebolt-1.8.2.dist-info/METADATA,sha256=mFMHiN_VwI-l0-MZ-KoCVha61CJDRS8WyHOnLJkZiEA,5070
58
- dbt_firebolt-1.8.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
59
- dbt_firebolt-1.8.2.dist-info/top_level.txt,sha256=B2YH4he17ajilEWOGCKHbRcEJlCuZKwCcgFcLPntLsE,4
60
- dbt_firebolt-1.8.2.dist-info/RECORD,,
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,,