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.
Files changed (66) hide show
  1. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/PKG-INFO +4 -1
  2. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/__init__.py +1 -1
  3. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/connections.py +0 -1
  4. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql +7 -7
  5. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql +2 -2
  6. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/PKG-INFO +4 -1
  7. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/requires.txt +1 -1
  8. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/setup.cfg +5 -2
  9. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/LICENSE +0 -0
  10. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/MANIFEST.in +0 -0
  11. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/README.md +0 -0
  12. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/__version__.py +0 -0
  13. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/column.py +0 -0
  14. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/impl.py +0 -0
  15. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/relation.py +0 -0
  16. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/adapters/firebolt/relation_configs/__init__.py +0 -0
  17. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/__init__.py +0 -0
  18. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/dbt_project.yml +0 -0
  19. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters/apply_grants.sql +0 -0
  20. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters/relation.sql +0 -0
  21. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/adapters.sql +0 -0
  22. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/catalog.sql +0 -0
  23. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/dropif.sql +0 -0
  24. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql +0 -0
  25. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/clone.sql +0 -0
  26. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/materialized_view.sql +0 -0
  27. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/column_helpers.sql +0 -0
  28. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/incremental.sql +0 -0
  29. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/is_incremental.sql +0 -0
  30. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/merge.sql +0 -0
  31. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/models/incremental/on_schema_change.sql +0 -0
  32. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/seed.sql +0 -0
  33. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/table.sql +0 -0
  34. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/test.sql +0 -0
  35. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/materializations/view.sql +0 -0
  36. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/alter.sql +0 -0
  37. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/create.sql +0 -0
  38. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/describe.sql +0 -0
  39. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/drop.sql +0 -0
  40. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/materialized_view/refresh.sql +0 -0
  41. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/create.sql +0 -0
  42. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/drop.sql +0 -0
  43. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/rename.sql +0 -0
  44. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/table/replace.sql +0 -0
  45. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/create.sql +0 -0
  46. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/drop.sql +0 -0
  47. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/rename.sql +0 -0
  48. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/relations/view/replace.sql +0 -0
  49. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_append.sql +0 -0
  50. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_concat.sql +0 -0
  51. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/array_construct.sql +0 -0
  52. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/bool_or.sql +0 -0
  53. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/cast_bool_to_text.sql +0 -0
  54. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/dateadd.sql +0 -0
  55. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/datediff.sql +0 -0
  56. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/except.sql +0 -0
  57. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/intersect.sql +0 -0
  58. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/listagg.sql +0 -0
  59. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/position.sql +0 -0
  60. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/right.sql +0 -0
  61. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/split_part.sql +0 -0
  62. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt/include/firebolt/macros/utils/timestamps.sql +0 -0
  63. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/SOURCES.txt +0 -0
  64. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/dependency_links.txt +0 -0
  65. {dbt_firebolt-1.8.1 → dbt_firebolt-1.8.3}/dbt_firebolt.egg-info/top_level.txt +0 -0
  66. {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.1
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
@@ -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.1"
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 %}
@@ -64,7 +64,7 @@
64
64
 
65
65
  SELECT
66
66
  {% if partition_cols is iterable and partition_cols is not string -%}
67
- DISTINCT({{ partition_cols | join(', ') }})
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.1
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
@@ -7,5 +7,5 @@ pydantic>=0.23
7
7
  allure-pytest==2.*
8
8
  dbt-tests-adapter~=1.6
9
9
  mypy==1.4.1
10
- pre-commit==2.15.0
10
+ pre-commit==3.5.0
11
11
  pytest==7.*
@@ -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
- license_file = LICENSE
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==2.15.0
46
+ pre-commit==3.5.0
44
47
  pytest==7.*
45
48
 
46
49
  [black]
File without changes
File without changes
File without changes