dbt-postgres 1.9.1__tar.gz → 1.10.0__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.
- dbt_postgres-1.10.0/.changes/1.10.0.md +34 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/CHANGELOG.md +36 -2
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/PKG-INFO +5 -5
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/docker/dev.Dockerfile +5 -5
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/pyproject.toml +4 -4
- dbt_postgres-1.10.0/src/dbt/adapters/postgres/__version__.py +1 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/connections.py +3 -0
- dbt_postgres-1.10.0/src/dbt/include/postgres/macros/materializations/functions/scalar.sql +12 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_simple_snapshot.py +7 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_unit_testing.py +7 -0
- dbt_postgres-1.10.0/tests/functional/functions/test_udfs.py +37 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/test_filter_catalog.py +3 -1
- dbt_postgres-1.9.1/.changes/1.9.0-b1.md +0 -0
- dbt_postgres-1.9.1/src/dbt/adapters/postgres/__version__.py +0 -1
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.changes/0.0.0.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.changes/1.9.0.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.changes/1.9.1.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.changes/header.tpl.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.changes/unreleased/.gitkeep +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.changie.yaml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/.gitignore +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/CONTRIBUTING.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/LICENSE +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/README.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/docker/Dockerfile +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/docker/README.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/hatch.toml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/scripts/psycopg2-check.sh +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/scripts/setup_test_database.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/scripts/update_dev_dependency_branches.sh +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/column.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/impl.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/record/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/record/cursor/cursor.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/record/cursor/status.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/record/handle.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/constants.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/index.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/materialized_view.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/dbt_project.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/adapters.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/catalog.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/materializations/incremental_strategies.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/materializations/snapshot_merge.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/materialized_view/alter.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/materialized_view/create.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/materialized_view/describe.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/materialized_view/drop.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/materialized_view/refresh.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/materialized_view/rename.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/table/drop.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/table/rename.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/table/replace.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/view/drop.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/view/rename.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/view/replace.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/timestamps.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/any_value.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/columns_spec_ddl.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/dateadd.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/datediff.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/last_day.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/listagg.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/split_part.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/profile_template.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/sample_profiles.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/test.env.example +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/conftest.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/README.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_aliases.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_basic.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_caching.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_clone.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_column_types.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_concurrency.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_constraints.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_data_types.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_debug.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_empty.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_ephemeral.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_grants.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_hooks/data/seed_model.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_hooks/data/seed_run.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_hooks/test_hooks.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_incremental.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_incremental_microbatch.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_persist_docs.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_query_comment.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_relations.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_sample_mode.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_show.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_simple_copy.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_simple_seed/seed_bom.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_simple_seed/test_simple_seed.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_store_test_failures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_utils.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/seed-initial.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/seed-update.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/summary_expected.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/summary_expected_update.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/varchar10_seed.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/varchar300_seed.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_basic.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_invalid_reference.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_jaffle_shop.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_mixed_case_db.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_project.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_simple_reference.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/test_varchar_widening.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/compile/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/compile/test_compile.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/conftest.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/contracts/test_contract_enforcement.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/contracts/test_contract_precision.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/contracts/test_nonstandard_data_type.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/custom_aliases/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/custom_aliases/test_custom_aliases.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/custom_singular_tests/data/seed_expected.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/custom_singular_tests/test_custom_singular_tests.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/dbt_debug/test_dbt_debug.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/dbt_runner.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/exit_codes/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/exit_codes/test_exit_codes.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/exposures/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/exposures/test_exposure_configs.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/exposures/test_exposures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/graph_selection/test_graph_selection.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/graph_selection/test_group_selection.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/graph_selection/test_intersection_syntax.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/graph_selection/test_schema_test_graph_selection.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/graph_selection/test_tag_selection.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/graph_selection/test_version_selection.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/incremental_schema_tests/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/incremental_schema_tests/test_incremental_schema.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/invalid_model_tests/test_invalid_models.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/invalid_model_tests/test_model_warning.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/macros/data/seed.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/macros/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/macros/package_macro_overrides/dbt_project.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/macros/package_macro_overrides/macros/macros.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/macros/test_macros.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/conftest.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/materialized_view_tests/test_materialized_view.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/materialized_view_tests/test_postgres_materialized_view.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/materialized_view_tests/utils.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/test_incremental.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/test_runtime_materialization.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/materializations/test_supported_languages.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/postgres/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/postgres/test_indexes.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/macros/do_something.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/models/incremental.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/models/table.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/models/view.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/schemas/project.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/dbt_integration/schemas/schema.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/data/seed.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/data/summary_expected.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/alternative_users.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/base_users.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/emails.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/emails_alt.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/nested_users.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/never_selected.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/subdir.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/users.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/users_rollup.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/models/users_rollup_dependency.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/schemas/patch_path_selection.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/schemas/properties.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/graph_selection/schemas/schema.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/__init__.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/data/raw_customers.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/data/raw_orders.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/data/raw_payments.csv +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/docs/docs.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/docs/overview.md +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/models/customers.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/models/orders.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/schemas/jaffle_shop.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/schemas/staging.yml +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/staging/stg_customers.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/staging/stg_orders.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/jaffle_shop/staging/stg_payments.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/projects/utils.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/schema/fixtures/macros.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/schema/fixtures/sql.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/schema/test_custom_schema.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/selected_resources/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/selected_resources/test_selected_resources.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/semantic_models/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/semantic_models/test_semantic_model_configs.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/semantic_models/test_semantic_model_parsing.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/semantic_models/test_semantic_models.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/show/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/show/test_show.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/common_source_setup.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/data/seed.sql +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/test_simple_source.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/test_source_configs.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/test_source_fresher_state.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/sources/test_source_freshness.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/statements/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/statements/test_statements.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_access.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_analyses.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_catalog.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_clean.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_colors.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_column_quotes.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_config.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_connection_manager.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_custom_target_path.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_cycles.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_default_selectors.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_events.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_external_reference.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_fail_fast.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_multiple_indexes.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_ref_override.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_relation_name.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_severity.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_store_test_failures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_thread_count.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_timezones.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_types.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/test_unlogged_table.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/unit_testing/fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/unit_testing/test_csv_fixtures.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/unit_testing/test_state.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/unit_testing/test_unit_testing.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/unit_testing/test_ut_dependency.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/unit_testing/test_ut_sources.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/utils.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/test_adapter.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/test_adapter_conversions.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/test_connection.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/test_materialized_view.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/test_renamed_relations.py +0 -0
- {dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/unit/utils.py +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
## dbt-postgres 1.10.0 - December 22, 2025
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- Initial UDF support for postgres ([#1268](https://github.com/dbt-labs/dbt-adapters/issues/1268))
|
|
6
|
+
- Support volatility setting for sql UDFs ([#1345](https://github.com/dbt-labs/dbt-adapters/issues/1345))
|
|
7
|
+
- Add support for UDF default arguments ([#1442](https://github.com/dbt-labs/dbt-adapters/issues/1442))
|
|
8
|
+
- Add support for py3.13 ([#1475](https://github.com/dbt-labs/dbt-adapters/issues/1475))
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
|
|
12
|
+
- dbt-postgres no longer emits two BEGIN statements ([#9434](https://github.com/dbt-labs/dbt-adapters/issues/9434))
|
|
13
|
+
- `datetime.datetime.utcnow()` is deprecated as of Python 3.12 ([#980](https://github.com/dbt-labs/dbt-adapters/issues/980))
|
|
14
|
+
- Optimize extremely slow query that uses a high amount of temporary disk space to find relations ([#657](https://github.com/dbt-labs/dbt-adapters/issues/657))
|
|
15
|
+
|
|
16
|
+
### Under the Hood
|
|
17
|
+
|
|
18
|
+
- Migrate to a monorepo in dbt-adapters ([#176](https://github.com/dbt-labs/dbt-adapters/issues/176))
|
|
19
|
+
- Expand snapshot testing. ([#1068](https://github.com/dbt-labs/dbt-adapters/issues/1068))
|
|
20
|
+
- Test handling of unknown function macro lookup ([#1344](https://github.com/dbt-labs/dbt-adapters/issues/1344))
|
|
21
|
+
- Begin testing that python UDFs aren't supported ([#1410](https://github.com/dbt-labs/dbt-adapters/issues/1410))
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
- Move minimum dbt-core to \`1.8.0rc1\` in order to allow for pre-releases of dbt-core ([#1373](https://github.com/dbt-labs/dbt-adapters/pull/1373))
|
|
26
|
+
- Drop support for python 3.9 ([#1412](https://github.com/dbt-labs/dbt-adapters/pull/1412))
|
|
27
|
+
- Drop support for python 3.9 ([#1412](https://github.com/dbt-labs/dbt-adapters/pull/1412))
|
|
28
|
+
- Bump minimum dbt-adapters to 1.19.0 ([#1421](https://github.com/dbt-labs/dbt-adapters/pull/1421))
|
|
29
|
+
|
|
30
|
+
### Contributors
|
|
31
|
+
- [@michalc](https://github.com/michalc) ([#657](https://github.com/dbt-labs/dbt-adapters/issues/657))
|
|
32
|
+
- [@mikealfare](https://github.com/mikealfare) ([#176](https://github.com/dbt-labs/dbt-adapters/issues/176))
|
|
33
|
+
- [@peterallenwebb](https://github.com/peterallenwebb) ([#1068](https://github.com/dbt-labs/dbt-adapters/issues/1068))
|
|
34
|
+
- [@rjspotter](https://github.com/rjspotter) ([#9434](https://github.com/dbt-labs/dbt-adapters/issues/9434))
|
|
@@ -10,10 +10,18 @@ and is generated by [Changie](https://github.com/miniscruff/changie)
|
|
|
10
10
|
- Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie)
|
|
11
11
|
- For details on how to document a change, see the [contributing guide](/CONTRIBUTING.md#changelog-entry)
|
|
12
12
|
|
|
13
|
-
## dbt-postgres 1.
|
|
13
|
+
## dbt-postgres 1.10.0 - December 22, 2025
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- Initial UDF support for postgres ([#1268](https://github.com/dbt-labs/dbt-adapters/issues/1268))
|
|
18
|
+
- Support volatility setting for sql UDFs ([#1345](https://github.com/dbt-labs/dbt-adapters/issues/1345))
|
|
19
|
+
- Add support for UDF default arguments ([#1442](https://github.com/dbt-labs/dbt-adapters/issues/1442))
|
|
20
|
+
- Add support for py3.13 ([#1475](https://github.com/dbt-labs/dbt-adapters/issues/1475))
|
|
14
21
|
|
|
15
22
|
### Fixes
|
|
16
23
|
|
|
24
|
+
- dbt-postgres no longer emits two BEGIN statements ([#9434](https://github.com/dbt-labs/dbt-adapters/issues/9434))
|
|
17
25
|
- `datetime.datetime.utcnow()` is deprecated as of Python 3.12 ([#980](https://github.com/dbt-labs/dbt-adapters/issues/980))
|
|
18
26
|
- Optimize extremely slow query that uses a high amount of temporary disk space to find relations ([#657](https://github.com/dbt-labs/dbt-adapters/issues/657))
|
|
19
27
|
|
|
@@ -21,12 +29,39 @@ and is generated by [Changie](https://github.com/miniscruff/changie)
|
|
|
21
29
|
|
|
22
30
|
- Migrate to a monorepo in dbt-adapters ([#176](https://github.com/dbt-labs/dbt-adapters/issues/176))
|
|
23
31
|
- Expand snapshot testing. ([#1068](https://github.com/dbt-labs/dbt-adapters/issues/1068))
|
|
32
|
+
- Test handling of unknown function macro lookup ([#1344](https://github.com/dbt-labs/dbt-adapters/issues/1344))
|
|
33
|
+
- Begin testing that python UDFs aren't supported ([#1410](https://github.com/dbt-labs/dbt-adapters/issues/1410))
|
|
34
|
+
|
|
35
|
+
### Dependencies
|
|
36
|
+
|
|
37
|
+
- Move minimum dbt-core to \`1.8.0rc1\` in order to allow for pre-releases of dbt-core ([#1373](https://github.com/dbt-labs/dbt-adapters/pull/1373))
|
|
38
|
+
- Drop support for python 3.9 ([#1412](https://github.com/dbt-labs/dbt-adapters/pull/1412))
|
|
39
|
+
- Drop support for python 3.9 ([#1412](https://github.com/dbt-labs/dbt-adapters/pull/1412))
|
|
40
|
+
- Bump minimum dbt-adapters to 1.19.0 ([#1421](https://github.com/dbt-labs/dbt-adapters/pull/1421))
|
|
24
41
|
|
|
25
42
|
### Contributors
|
|
26
43
|
- [@michalc](https://github.com/michalc) ([#657](https://github.com/dbt-labs/dbt-adapters/issues/657))
|
|
27
44
|
- [@mikealfare](https://github.com/mikealfare) ([#176](https://github.com/dbt-labs/dbt-adapters/issues/176))
|
|
28
45
|
- [@peterallenwebb](https://github.com/peterallenwebb) ([#1068](https://github.com/dbt-labs/dbt-adapters/issues/1068))
|
|
46
|
+
- [@rjspotter](https://github.com/rjspotter) ([#9434](https://github.com/dbt-labs/dbt-adapters/issues/9434))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## dbt-postgres 1.9.1 - September 05, 2025
|
|
50
|
+
|
|
51
|
+
### Fixes
|
|
52
|
+
|
|
53
|
+
- `datetime.datetime.utcnow()` is deprecated as of Python 3.12 ([#980](https://github.com/dbt-labs/dbt-adapters/issues/980))
|
|
54
|
+
- Optimize extremely slow query that uses a high amount of temporary disk space to find relations ([#657](https://github.com/dbt-labs/dbt-adapters/issues/657))
|
|
55
|
+
|
|
56
|
+
### Under the Hood
|
|
57
|
+
|
|
58
|
+
- Migrate to a monorepo in dbt-adapters ([#176](https://github.com/dbt-labs/dbt-adapters/issues/176))
|
|
59
|
+
- Expand snapshot testing. ([#1068](https://github.com/dbt-labs/dbt-adapters/issues/1068))
|
|
29
60
|
|
|
61
|
+
### Contributors
|
|
62
|
+
- [@michalc](https://github.com/michalc) ([#657](https://github.com/dbt-labs/dbt-adapters/issues/657))
|
|
63
|
+
- [@mikealfare](https://github.com/mikealfare) ([#176](https://github.com/dbt-labs/dbt-adapters/issues/176))
|
|
64
|
+
- [@peterallenwebb](https://github.com/peterallenwebb) ([#1068](https://github.com/dbt-labs/dbt-adapters/issues/1068))
|
|
30
65
|
|
|
31
66
|
## dbt-postgres 1.9.0 - December 09, 2024
|
|
32
67
|
|
|
@@ -64,7 +99,6 @@ and is generated by [Changie](https://github.com/miniscruff/changie)
|
|
|
64
99
|
- [@peterallenwebb](https://github.com/peterallenwebb) ([#123](https://github.com/dbt-labs/dbt-postgres/issues/123))
|
|
65
100
|
- [@versusfacit](https://github.com/versusfacit) ([#85](https://github.com/dbt-labs/dbt-postgres/issues/85))
|
|
66
101
|
|
|
67
|
-
|
|
68
102
|
## Previous Releases
|
|
69
103
|
For information on prior major and minor releases, see their changelogs:
|
|
70
104
|
- [1.8](https://github.com/dbt-labs/dbt-postgres/blob/1.8.latest/CHANGELOG.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dbt-postgres
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.10.0
|
|
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-adapters/tree/main/dbt-postgres
|
|
6
6
|
Project-URL: Documentation, https://docs.getdbt.com
|
|
@@ -16,15 +16,15 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
16
16
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
17
17
|
Classifier: Operating System :: Microsoft :: Windows
|
|
18
18
|
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
-
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Requires-Python: >=3.10.0
|
|
24
24
|
Requires-Dist: agate<2.0,>=1.0
|
|
25
|
-
Requires-Dist: dbt-adapters<2.0,>=1.
|
|
25
|
+
Requires-Dist: dbt-adapters<2.0,>=1.19.0
|
|
26
26
|
Requires-Dist: dbt-common<2.0,>=1.0.4
|
|
27
|
-
Requires-Dist: dbt-core>=1.8.
|
|
27
|
+
Requires-Dist: dbt-core>=1.8.0rc1
|
|
28
28
|
Requires-Dist: psycopg2-binary<3.0,>=2.9
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
|
|
@@ -20,10 +20,10 @@ RUN apt-get update \
|
|
|
20
20
|
build-essential=12.10ubuntu1 \
|
|
21
21
|
git-all=1:2.43.0-1ubuntu7.1 \
|
|
22
22
|
libpq-dev=16.4-0ubuntu0.24.04.2 \
|
|
23
|
-
python3.
|
|
24
|
-
python3.
|
|
25
|
-
python3.
|
|
26
|
-
python3.
|
|
23
|
+
python3.10=3.10.19-1+noble1 \
|
|
24
|
+
python3.10-dev=3.10.19-1+noble1 \
|
|
25
|
+
python3.10-distutils=3.10.19-1+noble1 \
|
|
26
|
+
python3.10-venv=3.10.19-1+noble1 \
|
|
27
27
|
python3-pip=24.0+dfsg-1ubuntu1 \
|
|
28
28
|
python3-wheel=0.42.0-2 \
|
|
29
29
|
&& apt-get clean \
|
|
@@ -33,7 +33,7 @@ RUN apt-get update \
|
|
|
33
33
|
/var/tmp/*
|
|
34
34
|
|
|
35
35
|
# update the default system interpreter to the newly installed version
|
|
36
|
-
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.
|
|
36
|
+
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
|
|
37
37
|
|
|
38
38
|
# install python dependencies
|
|
39
39
|
RUN python -m pip install --upgrade "hatch==1.13.0" --no-cache-dir --compile
|
|
@@ -8,7 +8,7 @@ name = "dbt-postgres"
|
|
|
8
8
|
description = "The set of adapter protocols and base functionality that supports integration with dbt-core"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
keywords = ["dbt", "adapter", "adapters", "database", "elt", "dbt-core", "dbt Core", "dbt Cloud", "dbt Labs", "postgres"]
|
|
11
|
-
requires-python = ">=3.
|
|
11
|
+
requires-python = ">=3.10.0"
|
|
12
12
|
authors = [
|
|
13
13
|
{ name = "dbt Labs", email = "info@dbtlabs.com" },
|
|
14
14
|
]
|
|
@@ -21,16 +21,16 @@ classifiers = [
|
|
|
21
21
|
"Operating System :: MacOS :: MacOS X",
|
|
22
22
|
"Operating System :: Microsoft :: Windows",
|
|
23
23
|
"Operating System :: POSIX :: Linux",
|
|
24
|
-
"Programming Language :: Python :: 3.9",
|
|
25
24
|
"Programming Language :: Python :: 3.10",
|
|
26
25
|
"Programming Language :: Python :: 3.11",
|
|
27
26
|
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Programming Language :: Python :: 3.13",
|
|
28
28
|
]
|
|
29
29
|
dependencies = [
|
|
30
30
|
"psycopg2-binary>=2.9,<3.0",
|
|
31
|
-
"dbt-adapters>=1.
|
|
31
|
+
"dbt-adapters>=1.19.0,<2.0",
|
|
32
32
|
# add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency
|
|
33
|
-
"dbt-core>=1.8.
|
|
33
|
+
"dbt-core>=1.8.0rc1",
|
|
34
34
|
# installed via dbt-adapters but used directly
|
|
35
35
|
"dbt-common>=1.0.4,<2.0",
|
|
36
36
|
"agate>=1.0,<2.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = "1.10.0"
|
|
@@ -203,6 +203,9 @@ class PostgresConnectionManager(SQLConnectionManager):
|
|
|
203
203
|
|
|
204
204
|
logger.debug("Cancel query '{}': {}".format(connection_name, res))
|
|
205
205
|
|
|
206
|
+
def add_begin_query(self):
|
|
207
|
+
pass
|
|
208
|
+
|
|
206
209
|
@classmethod
|
|
207
210
|
def get_credentials(cls, credentials):
|
|
208
211
|
return credentials
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{% macro postgres__formatted_scalar_function_args_sql() %}
|
|
2
|
+
{% set args = [] %}
|
|
3
|
+
{% for arg in model.arguments -%}
|
|
4
|
+
{% set default_value = arg.get('default_value', none) %}
|
|
5
|
+
{% if default_value != none %}
|
|
6
|
+
{%- do args.append(arg.name ~ ' ' ~ arg.data_type ~ ' DEFAULT ' ~ default_value) -%}
|
|
7
|
+
{% else %}
|
|
8
|
+
{%- do args.append(arg.name ~ ' ' ~ arg.data_type) -%}
|
|
9
|
+
{% endif %}
|
|
10
|
+
{%- endfor %}
|
|
11
|
+
{{ args | join(', ') }}
|
|
12
|
+
{% endmacro %}
|
|
@@ -2,6 +2,9 @@ from dbt.tests.adapter.simple_snapshot.new_record_check_mode import BaseSnapshot
|
|
|
2
2
|
from dbt.tests.adapter.simple_snapshot.new_record_timestamp_mode import (
|
|
3
3
|
BaseSnapshotNewRecordTimestampMode,
|
|
4
4
|
)
|
|
5
|
+
from dbt.tests.adapter.simple_snapshot.new_record_dbt_valid_to_current import (
|
|
6
|
+
BaseSnapshotNewRecordDbtValidToCurrent,
|
|
7
|
+
)
|
|
5
8
|
from dbt.tests.adapter.simple_snapshot.test_snapshot import (
|
|
6
9
|
BaseSimpleSnapshot,
|
|
7
10
|
BaseSnapshotCheck,
|
|
@@ -22,3 +25,7 @@ class TestSnapshotNewRecordTimestampMode(BaseSnapshotNewRecordTimestampMode):
|
|
|
22
25
|
|
|
23
26
|
class TestSnapshotNewRecordCheckMode(BaseSnapshotNewRecordCheckMode):
|
|
24
27
|
pass
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class TestSnapshotNewRecordDbtValidToCurrent(BaseSnapshotNewRecordDbtValidToCurrent):
|
|
31
|
+
pass
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
from dbt.tests.adapter.unit_testing.test_case_insensitivity import BaseUnitTestCaseInsensivity
|
|
2
2
|
from dbt.tests.adapter.unit_testing.test_invalid_input import BaseUnitTestInvalidInput
|
|
3
|
+
from dbt.tests.adapter.unit_testing.test_quoted_reserved_word_column_names import (
|
|
4
|
+
BaseUnitTestQuotedReservedWordColumnNames,
|
|
5
|
+
)
|
|
3
6
|
from dbt.tests.adapter.unit_testing.test_types import BaseUnitTestingTypes
|
|
4
7
|
|
|
5
8
|
|
|
@@ -13,3 +16,7 @@ class TestPostgresUnitTestInvalidInput(BaseUnitTestInvalidInput):
|
|
|
13
16
|
|
|
14
17
|
class TestPostgresUnitTestingTypes(BaseUnitTestingTypes):
|
|
15
18
|
pass
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class TestPostgresUnitTestQuotedReservedWordColumnNames(BaseUnitTestQuotedReservedWordColumnNames):
|
|
22
|
+
pass
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from dbt.tests.adapter.functions.test_udfs import (
|
|
2
|
+
UDFsBasic,
|
|
3
|
+
DeterministicUDF,
|
|
4
|
+
StableUDF,
|
|
5
|
+
NonDeterministicUDF,
|
|
6
|
+
ErrorForUnsupportedType,
|
|
7
|
+
PythonUDFNotSupported,
|
|
8
|
+
SqlUDFDefaultArgSupport,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class TestPostgresUDFs(UDFsBasic):
|
|
13
|
+
pass
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class TestPostgresDeterministicUDFs(DeterministicUDF):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class TestPostgresStableUDFs(StableUDF):
|
|
21
|
+
pass
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class TestPostgresNonDeterministicUDFs(NonDeterministicUDF):
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class TestPostgresErrorForUnsupportedType(ErrorForUnsupportedType):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class TestPostgresPythonUDFNotSupported(PythonUDFNotSupported):
|
|
33
|
+
pass
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class TestPostgresDefaultArgsSupportSQLUDFs(SqlUDFDefaultArgSupport):
|
|
37
|
+
expect_default_arg_support = True
|
|
@@ -9,13 +9,15 @@ from dbt.adapters.postgres import PostgresAdapter
|
|
|
9
9
|
|
|
10
10
|
class TestPostgresFilterCatalog(TestCase):
|
|
11
11
|
def test__catalog_filter_table(self):
|
|
12
|
-
used_schemas = [["a", "B"], ["a", "1234"]]
|
|
12
|
+
used_schemas = [["a", "B"], ["a", "1234"], [None, "something"]]
|
|
13
13
|
column_names = ["table_name", "table_database", "table_schema", "something"]
|
|
14
14
|
rows = [
|
|
15
15
|
["foo", "a", "b", "1234"], # include
|
|
16
16
|
["foo", "a", "1234", "1234"], # include, w/ table schema as str
|
|
17
17
|
["foo", "c", "B", "1234"], # skip
|
|
18
18
|
["1234", "A", "B", "1234"], # include, w/ table name as str
|
|
19
|
+
["1234", None, "B", "1234"], # skip, w/ table database as None
|
|
20
|
+
["1234", "A", None, "1234"], # skip, w/ table schema as None
|
|
19
21
|
]
|
|
20
22
|
table = agate.Table(rows, column_names, agate_helper.DEFAULT_TYPE_TESTER)
|
|
21
23
|
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = "1.9.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/record/cursor/cursor.py
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/record/cursor/status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/__init__.py
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/constants.py
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/adapters/postgres/relation_configs/index.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/table/drop.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/view/drop.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/relations/view/rename.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/any_value.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/dateadd.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/datediff.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/last_day.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/listagg.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/src/dbt/include/postgres/macros/utils/split_part.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_hooks/data/seed_model.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_hooks/data/seed_run.sql
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_hooks/test_hooks.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_incremental_microbatch.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_simple_seed/seed_bom.csv
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/adapter/test_store_test_failures.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/basic/data/summary_expected_update.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/contracts/test_contract_enforcement.py
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/contracts/test_contract_precision.py
RENAMED
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/contracts/test_nonstandard_data_type.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_postgres-1.9.1 → dbt_postgres-1.10.0}/tests/functional/custom_aliases/test_custom_aliases.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|