dbt-firebolt 1.8.0__tar.gz → 1.8.2__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.0 → dbt_firebolt-1.8.2}/PKG-INFO +1 -1
  2. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/__init__.py +1 -1
  3. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/connections.py +4 -0
  4. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/models/incremental/strategies.sql +2 -2
  5. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt_firebolt.egg-info/PKG-INFO +1 -1
  6. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/LICENSE +0 -0
  7. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/MANIFEST.in +0 -0
  8. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/README.md +0 -0
  9. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/__version__.py +0 -0
  10. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/column.py +0 -0
  11. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/impl.py +0 -0
  12. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/relation.py +0 -0
  13. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/adapters/firebolt/relation_configs/__init__.py +0 -0
  14. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/__init__.py +0 -0
  15. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/dbt_project.yml +0 -0
  16. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/adapters/apply_grants.sql +0 -0
  17. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/adapters/relation.sql +0 -0
  18. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/adapters.sql +0 -0
  19. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/catalog.sql +0 -0
  20. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/dbt_external_tables/create_external_table.sql +0 -0
  21. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/dbt_external_tables/dropif.sql +0 -0
  22. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/dbt_external_tables/get_external_build_plan.sql +0 -0
  23. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/clone.sql +0 -0
  24. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/materialized_view.sql +0 -0
  25. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/models/incremental/column_helpers.sql +0 -0
  26. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/models/incremental/incremental.sql +0 -0
  27. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/models/incremental/is_incremental.sql +0 -0
  28. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/models/incremental/merge.sql +0 -0
  29. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/models/incremental/on_schema_change.sql +0 -0
  30. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/seed.sql +0 -0
  31. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/table.sql +0 -0
  32. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/test.sql +0 -0
  33. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/materializations/view.sql +0 -0
  34. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/materialized_view/alter.sql +0 -0
  35. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/materialized_view/create.sql +0 -0
  36. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/materialized_view/describe.sql +0 -0
  37. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/materialized_view/drop.sql +0 -0
  38. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/materialized_view/refresh.sql +0 -0
  39. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/table/create.sql +0 -0
  40. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/table/drop.sql +0 -0
  41. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/table/rename.sql +0 -0
  42. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/table/replace.sql +0 -0
  43. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/view/create.sql +0 -0
  44. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/view/drop.sql +0 -0
  45. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/view/rename.sql +0 -0
  46. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/relations/view/replace.sql +0 -0
  47. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/array_append.sql +0 -0
  48. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/array_concat.sql +0 -0
  49. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/array_construct.sql +0 -0
  50. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/bool_or.sql +0 -0
  51. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/cast_bool_to_text.sql +0 -0
  52. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/dateadd.sql +0 -0
  53. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/datediff.sql +0 -0
  54. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/except.sql +0 -0
  55. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/intersect.sql +0 -0
  56. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/listagg.sql +0 -0
  57. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/position.sql +0 -0
  58. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/right.sql +0 -0
  59. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/split_part.sql +0 -0
  60. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt/include/firebolt/macros/utils/timestamps.sql +0 -0
  61. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt_firebolt.egg-info/SOURCES.txt +0 -0
  62. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt_firebolt.egg-info/dependency_links.txt +0 -0
  63. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt_firebolt.egg-info/requires.txt +0 -0
  64. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/dbt_firebolt.egg-info/top_level.txt +0 -0
  65. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/pyproject.toml +0 -0
  66. {dbt_firebolt-1.8.0 → dbt_firebolt-1.8.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dbt_firebolt
3
- Version: 1.8.0
3
+ Version: 1.8.2
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
@@ -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.0"
10
+ __version__ = "1.8.2"
11
11
 
12
12
  Plugin = AdapterPlugin(
13
13
  adapter=FireboltAdapter, # type: ignore
@@ -44,6 +44,10 @@ class FireboltCredentials(Credentials):
44
44
  account_name: Optional[str] = None
45
45
  retries: int = 1
46
46
 
47
+ _ALIASES = {
48
+ 'host': 'api_endpoint',
49
+ }
50
+
47
51
  def __post_init__(self) -> None:
48
52
  # If user and password are not provided, assume client_id and client_secret
49
53
  # are provided instead
@@ -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.0
3
+ Version: 1.8.2
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
File without changes
File without changes
File without changes
File without changes