dbt-postgres 1.9.0__tar.gz → 1.9.0b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/PKG-INFO +4 -2
  2. dbt_postgres-1.9.0b1/dbt/adapters/postgres/__version__.py +1 -0
  3. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/materializations/snapshot_merge.sql +1 -6
  4. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/pyproject.toml +4 -2
  5. dbt_postgres-1.9.0/dbt/adapters/postgres/__version__.py +0 -1
  6. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/.gitignore +0 -0
  7. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/LICENSE +0 -0
  8. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/README.md +0 -0
  9. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/__init__.py +0 -0
  10. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/__init__.py +0 -0
  11. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/column.py +0 -0
  12. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/connections.py +0 -0
  13. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/impl.py +0 -0
  14. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/record/__init__.py +0 -0
  15. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/record/cursor/cursor.py +0 -0
  16. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/record/cursor/status.py +0 -0
  17. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/record/handle.py +0 -0
  18. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/relation.py +0 -0
  19. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/relation_configs/__init__.py +0 -0
  20. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/relation_configs/constants.py +0 -0
  21. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/relation_configs/index.py +0 -0
  22. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/adapters/postgres/relation_configs/materialized_view.py +0 -0
  23. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/__init__.py +0 -0
  24. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/dbt_project.yml +0 -0
  25. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/adapters.sql +0 -0
  26. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/catalog.sql +0 -0
  27. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/materializations/incremental_strategies.sql +0 -0
  28. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/materialized_view/alter.sql +0 -0
  29. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/materialized_view/create.sql +0 -0
  30. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/materialized_view/describe.sql +0 -0
  31. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/materialized_view/drop.sql +0 -0
  32. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/materialized_view/refresh.sql +0 -0
  33. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/materialized_view/rename.sql +0 -0
  34. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/table/drop.sql +0 -0
  35. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/table/rename.sql +0 -0
  36. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/table/replace.sql +0 -0
  37. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/view/drop.sql +0 -0
  38. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/view/rename.sql +0 -0
  39. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations/view/replace.sql +0 -0
  40. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/relations.sql +0 -0
  41. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/timestamps.sql +0 -0
  42. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/any_value.sql +0 -0
  43. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/columns_spec_ddl.sql +0 -0
  44. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/dateadd.sql +0 -0
  45. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/datediff.sql +0 -0
  46. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/last_day.sql +0 -0
  47. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/listagg.sql +0 -0
  48. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/macros/utils/split_part.sql +0 -0
  49. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/profile_template.yml +0 -0
  50. {dbt_postgres-1.9.0 → dbt_postgres-1.9.0b1}/dbt/include/postgres/sample_profiles.yml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dbt-postgres
3
- Version: 1.9.0
3
+ Version: 1.9.0b1
4
4
  Summary: The set of adapter protocols and base functionality that supports integration with dbt-core
5
5
  Project-URL: Homepage, https://github.com/dbt-labs/dbt-postgres
6
6
  Project-URL: Documentation, https://docs.getdbt.com
@@ -9,17 +9,19 @@ Project-URL: Issues, https://github.com/dbt-labs/dbt-postgres/issues
9
9
  Project-URL: Changelog, https://github.com/dbt-labs/dbt-postgres/blob/main/CHANGELOG.md
10
10
  Author-email: dbt Labs <info@dbtlabs.com>
11
11
  Maintainer-email: dbt Labs <info@dbtlabs.com>
12
+ License-File: LICENSE
12
13
  Keywords: adapter,adapters,database,dbt,dbt Cloud,dbt Core,dbt Labs,dbt-core,elt,postgres
13
14
  Classifier: Development Status :: 5 - Production/Stable
14
15
  Classifier: License :: OSI Approved :: Apache Software License
15
16
  Classifier: Operating System :: MacOS :: MacOS X
16
17
  Classifier: Operating System :: Microsoft :: Windows
17
18
  Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Programming Language :: Python :: 3.8
18
20
  Classifier: Programming Language :: Python :: 3.9
19
21
  Classifier: Programming Language :: Python :: 3.10
20
22
  Classifier: Programming Language :: Python :: 3.11
21
23
  Classifier: Programming Language :: Python :: 3.12
22
- Requires-Python: >=3.9.0
24
+ Requires-Python: >=3.8.0
23
25
  Requires-Dist: agate<2.0,>=1.0
24
26
  Requires-Dist: dbt-adapters<2.0,>=1.7.0
25
27
  Requires-Dist: dbt-common<2.0,>=1.0.4
@@ -0,0 +1 @@
1
+ version = "1.9.0b1"
@@ -9,12 +9,7 @@
9
9
  from {{ source }} as DBT_INTERNAL_SOURCE
10
10
  where DBT_INTERNAL_SOURCE.{{ columns.dbt_scd_id }}::text = {{ target }}.{{ columns.dbt_scd_id }}::text
11
11
  and DBT_INTERNAL_SOURCE.dbt_change_type::text in ('update'::text, 'delete'::text)
12
- {% if config.get("dbt_valid_to_current") %}
13
- and ({{ target }}.{{ columns.dbt_valid_to }} = {{ config.get('dbt_valid_to_current') }} or {{ target }}.{{ columns.dbt_valid_to }} is null);
14
- {% else %}
15
- and {{ target }}.{{ columns.dbt_valid_to }} is null;
16
- {% endif %}
17
-
12
+ and {{ target }}.{{ columns.dbt_valid_to }} is null;
18
13
 
19
14
  insert into {{ target }} ({{ insert_cols_csv }})
20
15
  select {% for column in insert_cols -%}
@@ -4,7 +4,7 @@ name = "dbt-postgres"
4
4
  description = "The set of adapter protocols and base functionality that supports integration with dbt-core"
5
5
  readme = "README.md"
6
6
  keywords = ["dbt", "adapter", "adapters", "database", "elt", "dbt-core", "dbt Core", "dbt Cloud", "dbt Labs", "postgres"]
7
- requires-python = ">=3.9.0"
7
+ requires-python = ">=3.8.0"
8
8
  authors = [
9
9
  { name = "dbt Labs", email = "info@dbtlabs.com" },
10
10
  ]
@@ -17,6 +17,7 @@ classifiers = [
17
17
  "Operating System :: MacOS :: MacOS X",
18
18
  "Operating System :: Microsoft :: Windows",
19
19
  "Operating System :: POSIX :: Linux",
20
+ "Programming Language :: Python :: 3.8",
20
21
  "Programming Language :: Python :: 3.9",
21
22
  "Programming Language :: Python :: 3.10",
22
23
  "Programming Language :: Python :: 3.11",
@@ -57,7 +58,8 @@ dependencies = [
57
58
  "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git",
58
59
  "dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter",
59
60
  "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core",
60
- "pre-commit==3.7.0",
61
+ 'pre-commit==3.7.0;python_version>="3.9"',
62
+ 'pre-commit==3.5.0;python_version=="3.8"',
61
63
  "freezegun",
62
64
  "pytest",
63
65
  "pytest-dotenv",
@@ -1 +0,0 @@
1
- version = "1.9.0"
File without changes
File without changes
File without changes