dbt-adapters 1.3.0__py3-none-any.whl → 1.3.1__py3-none-any.whl

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/__about__.py CHANGED
@@ -1 +1 @@
1
- version = "1.3.0"
1
+ version = "1.3.1"
dbt/adapters/base/impl.py CHANGED
@@ -629,7 +629,6 @@ class BaseAdapter(metaclass=AdapterMeta):
629
629
  """Get a list of the columns in the given Relation."""
630
630
  raise NotImplementedError("`get_columns_in_relation` is not implemented for this adapter!")
631
631
 
632
- @abc.abstractmethod
633
632
  def get_catalog_for_single_relation(self, relation: BaseRelation) -> Optional[CatalogTable]:
634
633
  """Get catalog information including table-level and column-level metadata for a single relation."""
635
634
  raise NotImplementedError(
dbt/adapters/sql/impl.py CHANGED
@@ -1,6 +1,5 @@
1
1
  from typing import Any, List, Optional, Tuple, Type, TYPE_CHECKING
2
2
 
3
- from dbt_common.contracts.metadata import CatalogTable
4
3
  from dbt_common.events.functions import fire_event
5
4
 
6
5
  from dbt.adapters.base import BaseAdapter, BaseRelation, available
@@ -12,7 +11,6 @@ from dbt.adapters.sql.connections import SQLConnectionManager
12
11
 
13
12
  LIST_RELATIONS_MACRO_NAME = "list_relations_without_caching"
14
13
  GET_COLUMNS_IN_RELATION_MACRO_NAME = "get_columns_in_relation"
15
- GET_CATALOG_FOR_SINGLE_RELATION_NAME = "get_catalog_for_single_relation"
16
14
  LIST_SCHEMAS_MACRO_NAME = "list_schemas"
17
15
  CHECK_SCHEMA_EXISTS_MACRO_NAME = "check_schema_exists"
18
16
  CREATE_SCHEMA_MACRO_NAME = "create_schema"
@@ -160,11 +158,6 @@ class SQLAdapter(BaseAdapter):
160
158
  GET_COLUMNS_IN_RELATION_MACRO_NAME, kwargs={"relation": relation}
161
159
  )
162
160
 
163
- def get_catalog_for_single_relation(self, relation: BaseRelation) -> Optional[CatalogTable]:
164
- return self.execute_macro(
165
- GET_CATALOG_FOR_SINGLE_RELATION_NAME, kwargs={"relation": relation}
166
- )
167
-
168
161
  def create_schema(self, relation: BaseRelation) -> None:
169
162
  relation = relation.without_identifier()
170
163
  fire_event(SchemaCreation(relation=_make_ref_key_dict(relation)))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dbt-adapters
3
- Version: 1.3.0
3
+ Version: 1.3.1
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
@@ -1,5 +1,5 @@
1
1
  dbt/__init__.py,sha256=iY4jdvOxcDhkdr5FiyOTZPHadKtMZDQ-qC6Fw6_EHPM,277
2
- dbt/adapters/__about__.py,sha256=qg6ZAU0TpLWOHtkFC272q_j3aVEzW76H0lONbKcgFA8,18
2
+ dbt/adapters/__about__.py,sha256=oyhzj6TSqsw4so-XUNSuGbvYxITFEVPNrc2-pPJ1gLc,18
3
3
  dbt/adapters/__init__.py,sha256=3noHsg-64qI0_Pw6OR9F7l1vU2_qrJvinq8POTtuaZM,252
4
4
  dbt/adapters/cache.py,sha256=WGy4ewnz-J13LverTACBW2iFhGswrWLgm-wiBrQnMzo,20084
5
5
  dbt/adapters/capability.py,sha256=-Mbej2AL_bjQatHpFWUgsQ8z0zwnotyE9Y5DYHnX7NE,2364
@@ -13,7 +13,7 @@ dbt/adapters/base/README.md,sha256=muHQntC07Lh6L1XfVgwKhV5RltOPBLYPdQqd8_7l34c,5
13
13
  dbt/adapters/base/__init__.py,sha256=KGGGbj8jGMjAFJdQ5YHcOpApMMVZ_6Xuni1swhpkqRY,423
14
14
  dbt/adapters/base/column.py,sha256=M3iotEY5yi4xikXyXzD9oshBF9-xcJrIeQVu1sB85DI,5450
15
15
  dbt/adapters/base/connections.py,sha256=-C5dOwGgMKH8n_v6wjwOxV7chBdS0GjOGwNQCUbhhWc,16951
16
- dbt/adapters/base/impl.py,sha256=t8B4oGF8Lv2vEoRDq54wAPYLAYy9JO67pEQm9oKMW-g,68810
16
+ dbt/adapters/base/impl.py,sha256=wJMep68vVx79blXXA1RYKAbIP5PCsbpW2DVnfZ3tRTY,68786
17
17
  dbt/adapters/base/meta.py,sha256=MMqL2xBqdvoacNs9JcL0E38NZIhCP4RH4OD_z_jo7GQ,4644
18
18
  dbt/adapters/base/plugin.py,sha256=rm0GjNHnWM2mn0GJOjciZLwn-02xlzWCoMT9u-epwP0,1076
19
19
  dbt/adapters/base/query_headers.py,sha256=UluGd9IYCYkoMiDi5Yx_lnrCOSjWppjwRro4SIGgx8I,3496
@@ -44,7 +44,7 @@ dbt/adapters/relation_configs/config_change.py,sha256=hf6fDWbZpKvZdM6z-OtY-Gveip
44
44
  dbt/adapters/relation_configs/config_validation.py,sha256=wlJUMwOEPhYFch-LRtEWfLNJMq8jL1tRhOUHmNX8nFw,1978
45
45
  dbt/adapters/sql/__init__.py,sha256=WLWZJfqc8pr1N1BMVe9gM-KQ4URJIeKfLqTuJBD1VN0,107
46
46
  dbt/adapters/sql/connections.py,sha256=MfeQw0YH3k8nu4wdkeMRukav1o0nPiEL3uifkbspRf4,6620
47
- dbt/adapters/sql/impl.py,sha256=JFHW0XN4YkOuFAw0lLlR9A4-zn0P87aKTSknHOYar3Y,11114
47
+ dbt/adapters/sql/impl.py,sha256=HmH3eC-qVeCAAukjEOnUNZbH-UK32X-NL4kwb_EHzs0,10763
48
48
  dbt/include/__init__.py,sha256=qEFeq3yuf3lQKVseALmL8aPM8fpCS54B_5pry00M3hk,76
49
49
  dbt/include/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  dbt/include/global_project/__init__.py,sha256=-0HL5OkeJSrxglm1Y-UltTiBPY2BbWx8ZpTiJ7ypSvw,73
@@ -149,7 +149,7 @@ dbt/include/global_project/macros/utils/right.sql,sha256=EwNG98CAFIwNDmarwopf7Rk
149
149
  dbt/include/global_project/macros/utils/safe_cast.sql,sha256=1mswwkDACmIi1I99JKb_-vq3kjMe4HhMRV70mW8Bt4Y,298
150
150
  dbt/include/global_project/macros/utils/split_part.sql,sha256=fXEIS0oIiYR7-4lYbb0QbZdG-q2TpV63AFd1ky4I5UM,714
151
151
  dbt/include/global_project/tests/generic/builtin.sql,sha256=p94xdyPwb2TlxgLBqCfrcRfJ1QNgsjPvBm8f0Q5eqZM,1022
152
- dbt_adapters-1.3.0.dist-info/METADATA,sha256=GYb85d0tF2m1NjolB51z1P81n9dgSDIHba2ymogh-TU,2539
153
- dbt_adapters-1.3.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
154
- dbt_adapters-1.3.0.dist-info/licenses/LICENSE,sha256=9yjigiJhWcCZvQjdagGKDwrRph58QWc5P2bVSQwXo6s,11344
155
- dbt_adapters-1.3.0.dist-info/RECORD,,
152
+ dbt_adapters-1.3.1.dist-info/METADATA,sha256=9TgPGVx-sPP7No5TZ1db6lXcOvhi6u5JTVXerxjOW6M,2539
153
+ dbt_adapters-1.3.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
154
+ dbt_adapters-1.3.1.dist-info/licenses/LICENSE,sha256=9yjigiJhWcCZvQjdagGKDwrRph58QWc5P2bVSQwXo6s,11344
155
+ dbt_adapters-1.3.1.dist-info/RECORD,,