dbt-adapters 1.10.4__tar.gz → 1.12.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.
Potentially problematic release.
This version of dbt-adapters might be problematic. Click here for more details.
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/PKG-INFO +3 -2
- dbt_adapters-1.12.0/dbt/adapters/__about__.py +1 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/sql/connections.py +63 -2
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/pyproject.toml +7 -0
- dbt_adapters-1.10.4/dbt/adapters/__about__.py +0 -1
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/.gitignore +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/LICENSE +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/README.md +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/README.md +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/column.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/connections.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/impl.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/meta.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/plugin.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/query_headers.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/base/relation.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/cache.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/capability.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/clients/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/clients/jinja.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/contracts/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/contracts/connection.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/contracts/macros.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/contracts/relation.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/README.md +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/adapter_types.proto +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/adapter_types_pb2.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/base_types.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/logging.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/events/types.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/exceptions/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/exceptions/alias.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/exceptions/cache.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/exceptions/compilation.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/exceptions/connection.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/exceptions/database.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/factory.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/protocol.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/py.typed +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/cursor.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/description.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/execute.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/fetchall.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/fetchmany.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/fetchone.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/cursor/rowcount.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/record/handle.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/reference_keys.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/relation_configs/README.md +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/relation_configs/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/relation_configs/config_base.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/relation_configs/config_change.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/relation_configs/config_validation.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/sql/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/sql/impl.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/utils.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/__init__.py +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/dbt_project.yml +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/docs/overview.md +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/apply_grants.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/columns.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/freshness.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/indexes.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/metadata.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/persist_docs.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/relation.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/schema.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/show.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/timestamps.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/validate_sql.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/etc/datetime.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/etc/statement.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/generic_test_sql/accepted_values.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/generic_test_sql/not_null.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/generic_test_sql/relationships.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/generic_test_sql/unique.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/get_custom_name/get_custom_alias.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/get_custom_name/get_custom_database.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/get_custom_name/get_custom_schema.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/configs.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/hooks.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/clone/can_clone_table.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/clone/clone.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/clone/create_or_replace_clone.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/incremental/column_helpers.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/incremental/incremental.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/incremental/is_incremental.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/incremental/merge.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/incremental/on_schema_change.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/incremental/strategies.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/materialized_view.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/table.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/models/view.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/seeds/helpers.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/seeds/seed.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/snapshots/helpers.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/snapshots/snapshot.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/snapshots/strategies.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/tests/helpers.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/tests/test.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/tests/unit.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/materializations/tests/where_subquery.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/python_model/python.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/column/columns_spec_ddl.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/create.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/create_backup.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/create_intermediate.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/drop.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/drop_backup.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/materialized_view/alter.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/materialized_view/create.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/materialized_view/drop.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/materialized_view/refresh.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/materialized_view/rename.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/materialized_view/replace.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/rename.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/rename_intermediate.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/replace.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/schema.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/table/create.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/table/drop.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/table/rename.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/table/replace.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/view/create.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/view/drop.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/view/rename.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/view/replace.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/unit_test_sql/get_fixture_sql.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/any_value.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/array_append.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/array_concat.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/array_construct.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/bool_or.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/cast.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/cast_bool_to_text.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/concat.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/data_types.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/date.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/date_spine.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/date_trunc.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/dateadd.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/datediff.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/escape_single_quotes.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/except.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/generate_series.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/hash.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/intersect.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/last_day.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/length.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/listagg.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/literal.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/position.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/replace.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/right.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/safe_cast.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/split_part.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/tests/generic/builtin.sql +0 -0
- {dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dbt-adapters
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.12.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
|
|
6
6
|
Project-URL: Documentation, https://docs.getdbt.com
|
|
@@ -9,6 +9,7 @@ Project-URL: Issues, https://github.com/dbt-labs/dbt-adapters/issues
|
|
|
9
9
|
Project-URL: Changelog, https://github.com/dbt-labs/dbt-adapters/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
|
|
13
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
15
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = "1.12.0"
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import abc
|
|
2
2
|
import time
|
|
3
|
-
from typing import
|
|
3
|
+
from typing import (
|
|
4
|
+
Any,
|
|
5
|
+
Dict,
|
|
6
|
+
Iterable,
|
|
7
|
+
Iterator,
|
|
8
|
+
List,
|
|
9
|
+
Optional,
|
|
10
|
+
Tuple,
|
|
11
|
+
TYPE_CHECKING,
|
|
12
|
+
Type,
|
|
13
|
+
)
|
|
4
14
|
|
|
5
15
|
from dbt_common.events.contextvars import get_node_info
|
|
6
16
|
from dbt_common.events.functions import fire_event
|
|
@@ -18,6 +28,7 @@ from dbt.adapters.events.types import (
|
|
|
18
28
|
SQLCommit,
|
|
19
29
|
SQLQuery,
|
|
20
30
|
SQLQueryStatus,
|
|
31
|
+
AdapterEventDebug,
|
|
21
32
|
)
|
|
22
33
|
|
|
23
34
|
if TYPE_CHECKING:
|
|
@@ -61,7 +72,50 @@ class SQLConnectionManager(BaseConnectionManager):
|
|
|
61
72
|
auto_begin: bool = True,
|
|
62
73
|
bindings: Optional[Any] = None,
|
|
63
74
|
abridge_sql_log: bool = False,
|
|
75
|
+
retryable_exceptions: Tuple[Type[Exception], ...] = tuple(),
|
|
76
|
+
retry_limit: int = 1,
|
|
64
77
|
) -> Tuple[Connection, Any]:
|
|
78
|
+
"""
|
|
79
|
+
Retry function encapsulated here to avoid commitment to some
|
|
80
|
+
user-facing interface. Right now, Redshift commits to a 1 second
|
|
81
|
+
retry timeout so this serves as a default.
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
def _execute_query_with_retry(
|
|
85
|
+
cursor: Any,
|
|
86
|
+
sql: str,
|
|
87
|
+
bindings: Optional[Any],
|
|
88
|
+
retryable_exceptions: Tuple[Type[Exception], ...],
|
|
89
|
+
retry_limit: int,
|
|
90
|
+
attempt: int,
|
|
91
|
+
):
|
|
92
|
+
"""
|
|
93
|
+
A success sees the try exit cleanly and avoid any recursive
|
|
94
|
+
retries. Failure begins a sleep and retry routine.
|
|
95
|
+
"""
|
|
96
|
+
try:
|
|
97
|
+
cursor.execute(sql, bindings)
|
|
98
|
+
except retryable_exceptions as e:
|
|
99
|
+
# Cease retries and fail when limit is hit.
|
|
100
|
+
if attempt >= retry_limit:
|
|
101
|
+
raise e
|
|
102
|
+
|
|
103
|
+
fire_event(
|
|
104
|
+
AdapterEventDebug(
|
|
105
|
+
message=f"Got a retryable error {type(e)}. {retry_limit-attempt} retries left. Retrying in 1 second.\nError:\n{e}"
|
|
106
|
+
)
|
|
107
|
+
)
|
|
108
|
+
time.sleep(1)
|
|
109
|
+
|
|
110
|
+
return _execute_query_with_retry(
|
|
111
|
+
cursor=cursor,
|
|
112
|
+
sql=sql,
|
|
113
|
+
bindings=bindings,
|
|
114
|
+
retryable_exceptions=retryable_exceptions,
|
|
115
|
+
retry_limit=retry_limit,
|
|
116
|
+
attempt=attempt + 1,
|
|
117
|
+
)
|
|
118
|
+
|
|
65
119
|
connection = self.get_thread_connection()
|
|
66
120
|
if auto_begin and connection.transaction_open is False:
|
|
67
121
|
self.begin()
|
|
@@ -90,7 +144,14 @@ class SQLConnectionManager(BaseConnectionManager):
|
|
|
90
144
|
pre = time.perf_counter()
|
|
91
145
|
|
|
92
146
|
cursor = connection.handle.cursor()
|
|
93
|
-
|
|
147
|
+
_execute_query_with_retry(
|
|
148
|
+
cursor=cursor,
|
|
149
|
+
sql=sql,
|
|
150
|
+
bindings=bindings,
|
|
151
|
+
retryable_exceptions=retryable_exceptions,
|
|
152
|
+
retry_limit=retry_limit,
|
|
153
|
+
attempt=1,
|
|
154
|
+
)
|
|
94
155
|
|
|
95
156
|
result = self.get_response(cursor)
|
|
96
157
|
|
|
@@ -52,6 +52,7 @@ include = ["dbt/adapters", "dbt/include", "dbt/__init__.py"]
|
|
|
52
52
|
include = ["dbt/adapters", "dbt/include", "dbt/__init__.py"]
|
|
53
53
|
|
|
54
54
|
[tool.hatch.envs.default]
|
|
55
|
+
python = "3.9"
|
|
55
56
|
dependencies = [
|
|
56
57
|
"dbt_common @ git+https://github.com/dbt-labs/dbt-common.git",
|
|
57
58
|
'pre-commit==3.7.0;python_version>="3.9"',
|
|
@@ -64,6 +65,12 @@ dependencies = [
|
|
|
64
65
|
setup = "pre-commit install"
|
|
65
66
|
code-quality = "pre-commit run --all-files"
|
|
66
67
|
unit-tests = "python -m pytest {args:tests/unit}"
|
|
68
|
+
workflow-code-quality = "gh workflow run _code-quality.yml --ref $(git rev-parse --abbrev-ref HEAD) -f branch=$(git rev-parse --abbrev-ref HEAD)"
|
|
69
|
+
workflow-generate-changelog = "gh workflow run _generate-changelog.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f merge=false -f branch=$(git rev-parse --abbrev-ref HEAD)"
|
|
70
|
+
workflow-publish-pypi = "gh workflow run _publish-pypi.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f deploy-to=test -f branch=$(git rev-parse --abbrev-ref HEAD)"
|
|
71
|
+
workflow-unit-tests = "gh workflow run _unit-tests.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f branch=$(git rev-parse --abbrev-ref HEAD)"
|
|
72
|
+
workflow-verify-build = "gh workflow run _verify-build.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f branch=$(git rev-parse --abbrev-ref HEAD)"
|
|
73
|
+
workflow-publish = "gh workflow run publish.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f branch=$(git rev-parse --abbrev-ref HEAD) -f deploy-to=test -f pypi-internal=false -f pypi-public=true"
|
|
67
74
|
|
|
68
75
|
[tool.hatch.envs.build]
|
|
69
76
|
detached = true
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = "1.10.4"
|
|
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
|
|
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
|
|
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_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/adapters/relation_configs/config_validation.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
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/columns.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/freshness.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/indexes.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/metadata.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/relation.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/schema.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/adapters/show.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/etc/datetime.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/etc/statement.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
|
|
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_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/create.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/drop.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
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/rename.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/replace.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/relations/schema.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
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/any_value.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/array_append.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/array_concat.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/bool_or.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/cast.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/concat.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/data_types.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/date.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/date_spine.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/date_trunc.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/dateadd.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/datediff.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/except.sql
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/hash.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/intersect.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/last_day.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/length.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/listagg.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/literal.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/position.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/replace.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/right.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/safe_cast.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/macros/utils/split_part.sql
RENAMED
|
File without changes
|
{dbt_adapters-1.10.4 → dbt_adapters-1.12.0}/dbt/include/global_project/tests/generic/builtin.sql
RENAMED
|
File without changes
|
|
File without changes
|