dbt-adapters 1.7.2__py3-none-any.whl → 1.9.0__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.7.2"
1
+ version = "1.9.0"
@@ -12,4 +12,5 @@ from dbt.adapters.base.relation import (
12
12
  BaseRelation,
13
13
  RelationType,
14
14
  SchemaSearchMap,
15
+ AdapterTrackingRelationInfo,
15
16
  )
dbt/adapters/base/impl.py CHANGED
@@ -4,6 +4,7 @@ from concurrent.futures import as_completed, Future
4
4
  from contextlib import contextmanager
5
5
  from datetime import datetime
6
6
  from enum import Enum
7
+ from importlib import import_module
7
8
  from multiprocessing.context import SpawnContext
8
9
  from typing import (
9
10
  Any,
@@ -22,7 +23,6 @@ from typing import (
22
23
  Union,
23
24
  TYPE_CHECKING,
24
25
  )
25
- import os
26
26
  import pytz
27
27
  from dbt_common.behavior_flags import Behavior, BehaviorFlag
28
28
  from dbt_common.clients.jinja import CallableMacroGenerator
@@ -61,12 +61,14 @@ from dbt.adapters.base.relation import (
61
61
  ComponentName,
62
62
  InformationSchema,
63
63
  SchemaSearchMap,
64
+ AdapterTrackingRelationInfo,
64
65
  )
65
66
  from dbt.adapters.cache import RelationsCache, _make_ref_key_dict
66
67
  from dbt.adapters.capability import Capability, CapabilityDict
67
68
  from dbt.adapters.contracts.connection import Credentials
68
69
  from dbt.adapters.contracts.macros import MacroResolverProtocol
69
70
  from dbt.adapters.contracts.relation import RelationConfig
71
+
70
72
  from dbt.adapters.events.types import (
71
73
  CacheMiss,
72
74
  CatalogGenerationError,
@@ -96,6 +98,13 @@ GET_CATALOG_MACRO_NAME = "get_catalog"
96
98
  GET_CATALOG_RELATIONS_MACRO_NAME = "get_catalog_relations"
97
99
  FRESHNESS_MACRO_NAME = "collect_freshness"
98
100
  GET_RELATION_LAST_MODIFIED_MACRO_NAME = "get_relation_last_modified"
101
+ DEFAULT_BASE_BEHAVIOR_FLAGS = [
102
+ {
103
+ "name": "require_batched_execution_for_custom_microbatch_strategy",
104
+ "default": False,
105
+ "docs_url": "https://docs.getdbt.com/docs/build/incremental-microbatch",
106
+ }
107
+ ]
99
108
 
100
109
 
101
110
  class ConstraintSupport(str, Enum):
@@ -271,8 +280,7 @@ class BaseAdapter(metaclass=AdapterMeta):
271
280
  self.connections = self.ConnectionManager(config, mp_context)
272
281
  self._macro_resolver: Optional[MacroResolverProtocol] = None
273
282
  self._macro_context_generator: Optional[MacroContextGeneratorCallable] = None
274
- # this will be updated to include global behavior flags once they exist
275
- self.behavior = [] # type: ignore
283
+ self.behavior = DEFAULT_BASE_BEHAVIOR_FLAGS # type: ignore
276
284
 
277
285
  ###
278
286
  # Methods to set / access a macro resolver
@@ -300,17 +308,20 @@ class BaseAdapter(metaclass=AdapterMeta):
300
308
  @behavior.setter # type: ignore
301
309
  def behavior(self, flags: List[BehaviorFlag]) -> None:
302
310
  flags.extend(self._behavior_flags)
303
- try:
304
- # we don't always get project flags, for example during `dbt debug`
305
- self._behavior = Behavior(flags, self.config.flags)
306
- except AttributeError:
307
- # in that case, don't load any behavior to avoid unexpected defaults
308
- self._behavior = Behavior([], {})
311
+
312
+ # we don't always get project flags, for example, the project file is not loaded during `dbt debug`
313
+ # in that case, load the default values for behavior flags to avoid compilation errors
314
+ # this mimics not loading a project file, or not specifying flags in a project file
315
+ user_overrides = getattr(self.config, "flags", {})
316
+
317
+ self._behavior = Behavior(flags, user_overrides)
309
318
 
310
319
  @property
311
320
  def _behavior_flags(self) -> List[BehaviorFlag]:
312
321
  """
313
322
  This method should be overwritten by adapter maintainers to provide platform-specific flags
323
+
324
+ The BaseAdapter should NOT include any global flags here as those should be defined via DEFAULT_BASE_BEHAVIOR_FLAGS
314
325
  """
315
326
  return []
316
327
 
@@ -1569,14 +1580,31 @@ class BaseAdapter(metaclass=AdapterMeta):
1569
1580
  return ["append"]
1570
1581
 
1571
1582
  def builtin_incremental_strategies(self):
1583
+ """
1584
+ List of possible builtin strategies for adapters
1585
+
1586
+ Microbatch is added by _default_. It is only not added when the behavior flag
1587
+ `require_batched_execution_for_custom_microbatch_strategy` is True.
1588
+ """
1572
1589
  builtin_strategies = ["append", "delete+insert", "merge", "insert_overwrite"]
1573
- if os.environ.get("DBT_EXPERIMENTAL_MICROBATCH"):
1590
+ if not self.behavior.require_batched_execution_for_custom_microbatch_strategy.no_warn:
1574
1591
  builtin_strategies.append("microbatch")
1575
1592
 
1576
1593
  return builtin_strategies
1577
1594
 
1578
1595
  @available.parse_none
1579
1596
  def get_incremental_strategy_macro(self, model_context, strategy: str):
1597
+ """Gets the macro for the given incremental strategy.
1598
+
1599
+ Additionally some validations are done:
1600
+ 1. Assert that if the given strategy is a "builtin" strategy, then it must
1601
+ also be defined as a "valid" strategy for the associated adapter
1602
+ 2. Assert that the incremental strategy exists in the model context
1603
+
1604
+ Notably, something be defined by the adapter as "valid" without it being
1605
+ a "builtin", and nothing will break (and that is desirable).
1606
+ """
1607
+
1580
1608
  # Construct macro_name from strategy name
1581
1609
  if strategy is None:
1582
1610
  strategy = "default"
@@ -1743,6 +1771,30 @@ class BaseAdapter(metaclass=AdapterMeta):
1743
1771
  def supports(cls, capability: Capability) -> bool:
1744
1772
  return bool(cls.capabilities()[capability])
1745
1773
 
1774
+ @classmethod
1775
+ def get_adapter_run_info(cls, config: RelationConfig) -> AdapterTrackingRelationInfo:
1776
+ adapter_class_name, *_ = cls.__name__.split("Adapter")
1777
+ adapter_name = adapter_class_name.lower()
1778
+
1779
+ if adapter_name == "base":
1780
+ adapter_version = ""
1781
+ else:
1782
+ adapter_version = import_module(f"dbt.adapters.{adapter_name}.__version__").version
1783
+
1784
+ return AdapterTrackingRelationInfo(
1785
+ adapter_name=adapter_name,
1786
+ base_adapter_version=import_module("dbt.adapters.__about__").version,
1787
+ adapter_version=adapter_version,
1788
+ model_adapter_details=cls._get_adapter_specific_run_info(config),
1789
+ )
1790
+
1791
+ @classmethod
1792
+ def _get_adapter_specific_run_info(cls, config) -> Dict[str, Any]:
1793
+ """
1794
+ Adapter maintainers should overwrite this method to return any run metadata that should be captured during a run.
1795
+ """
1796
+ return {}
1797
+
1746
1798
 
1747
1799
  COLUMNS_EQUAL_SQL = """
1748
1800
  with diff_count as (
@@ -542,3 +542,11 @@ class SchemaSearchMap(Dict[InformationSchema, Set[Optional[str]]]):
542
542
  )
543
543
 
544
544
  return new
545
+
546
+
547
+ @dataclass(frozen=True, eq=False, repr=False)
548
+ class AdapterTrackingRelationInfo(FakeAPIObject, Hashable):
549
+ adapter_name: str
550
+ base_adapter_version: str
551
+ adapter_version: str
552
+ model_adapter_details: Any
@@ -41,6 +41,7 @@ class AdapterResponse(dbtClassMixin):
41
41
  _message: str
42
42
  code: Optional[str] = None
43
43
  rows_affected: Optional[int] = None
44
+ query_id: Optional[str] = None
44
45
 
45
46
  def __str__(self):
46
47
  return self._message
@@ -266,6 +266,7 @@ message SQLQueryStatus {
266
266
  AdapterNodeInfo node_info = 1;
267
267
  string status = 2;
268
268
  float elapsed = 3;
269
+ string query_id = 4;
269
270
  }
270
271
 
271
272
  message SQLQueryStatusMsg {
@@ -15,17 +15,18 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
15
15
  from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61\x64\x61pter_types.proto\x12\x0bproto_types\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xab\x02\n\x16\x41\x64\x61pterCommonEventInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05level\x18\x04 \x01(\t\x12\x15\n\rinvocation_id\x18\x05 \x01(\t\x12\x0b\n\x03pid\x18\x06 \x01(\x05\x12\x0e\n\x06thread\x18\x07 \x01(\t\x12&\n\x02ts\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x05\x65xtra\x18\t \x03(\x0b\x32..proto_types.AdapterCommonEventInfo.ExtraEntry\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\x1a,\n\nExtraEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x13\x41\x64\x61pterNodeRelation\x12\x10\n\x08\x64\x61tabase\x18\n \x01(\t\x12\x0e\n\x06schema\x18\x0b \x01(\t\x12\r\n\x05\x61lias\x18\x0c \x01(\t\x12\x15\n\rrelation_name\x18\r \x01(\t\"\x9f\x02\n\x0f\x41\x64\x61pterNodeInfo\x12\x11\n\tnode_path\x18\x01 \x01(\t\x12\x11\n\tnode_name\x18\x02 \x01(\t\x12\x11\n\tunique_id\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x14\n\x0cmaterialized\x18\x05 \x01(\t\x12\x13\n\x0bnode_status\x18\x06 \x01(\t\x12\x17\n\x0fnode_started_at\x18\x07 \x01(\t\x12\x18\n\x10node_finished_at\x18\x08 \x01(\t\x12%\n\x04meta\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x37\n\rnode_relation\x18\n \x01(\x0b\x32 .proto_types.AdapterNodeRelation\"G\n\x0fReferenceKeyMsg\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12\x12\n\nidentifier\x18\x03 \x01(\t\"?\n\x19\x41\x64\x61pterDeprecationWarning\x12\x10\n\x08old_name\x18\x01 \x01(\t\x12\x10\n\x08new_name\x18\x02 \x01(\t\"\x87\x01\n\x1c\x41\x64\x61pterDeprecationWarningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x34\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32&.proto_types.AdapterDeprecationWarning\"!\n\x1f\x43ollectFreshnessReturnSignature\"\x93\x01\n\"CollectFreshnessReturnSignatureMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12:\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32,.proto_types.CollectFreshnessReturnSignature\"\x8e\x01\n\x11\x41\x64\x61pterEventDebug\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"w\n\x14\x41\x64\x61pterEventDebugMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterEventDebug\"\x8d\x01\n\x10\x41\x64\x61pterEventInfo\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"u\n\x13\x41\x64\x61pterEventInfoMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.AdapterEventInfo\"\x90\x01\n\x13\x41\x64\x61pterEventWarning\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"{\n\x16\x41\x64\x61pterEventWarningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.AdapterEventWarning\"\xa0\x01\n\x11\x41\x64\x61pterEventError\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\x12\x10\n\x08\x65xc_info\x18\x05 \x01(\t\"w\n\x14\x41\x64\x61pterEventErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterEventError\"f\n\rNewConnection\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_type\x18\x02 \x01(\t\x12\x11\n\tconn_name\x18\x03 \x01(\t\"o\n\x10NewConnectionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.NewConnection\"=\n\x10\x43onnectionReused\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x16\n\x0eorig_conn_name\x18\x02 \x01(\t\"u\n\x13\x43onnectionReusedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.ConnectionReused\"0\n\x1b\x43onnectionLeftOpenInCleanup\x12\x11\n\tconn_name\x18\x01 \x01(\t\"\x8b\x01\n\x1e\x43onnectionLeftOpenInCleanupMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x36\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32(.proto_types.ConnectionLeftOpenInCleanup\".\n\x19\x43onnectionClosedInCleanup\x12\x11\n\tconn_name\x18\x01 \x01(\t\"\x87\x01\n\x1c\x43onnectionClosedInCleanupMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x34\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32&.proto_types.ConnectionClosedInCleanup\"f\n\x0eRollbackFailed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\x12\x10\n\x08\x65xc_info\x18\x03 \x01(\t\"q\n\x11RollbackFailedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.RollbackFailed\"V\n\x10\x43onnectionClosed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"u\n\x13\x43onnectionClosedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.ConnectionClosed\"X\n\x12\x43onnectionLeftOpen\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"y\n\x15\x43onnectionLeftOpenMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.ConnectionLeftOpen\"N\n\x08Rollback\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"e\n\x0bRollbackMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12#\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x15.proto_types.Rollback\"@\n\tCacheMiss\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x0e\n\x06schema\x18\x03 \x01(\t\"g\n\x0c\x43\x61\x63heMissMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.proto_types.CacheMiss\"b\n\rListRelations\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12/\n\trelations\x18\x03 \x03(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"o\n\x10ListRelationsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.ListRelations\"g\n\x0e\x43onnectionUsed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_type\x18\x02 \x01(\t\x12\x11\n\tconn_name\x18\x03 \x01(\t\"q\n\x11\x43onnectionUsedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.ConnectionUsed\"[\n\x08SQLQuery\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\x12\x0b\n\x03sql\x18\x03 \x01(\t\"e\n\x0bSQLQueryMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12#\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x15.proto_types.SQLQuery\"b\n\x0eSQLQueryStatus\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x0f\n\x07\x65lapsed\x18\x03 \x01(\x02\"q\n\x11SQLQueryStatusMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.SQLQueryStatus\"O\n\tSQLCommit\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"g\n\x0cSQLCommitMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.proto_types.SQLCommit\"a\n\rColTypeChange\x12\x11\n\torig_type\x18\x01 \x01(\t\x12\x10\n\x08new_type\x18\x02 \x01(\t\x12+\n\x05table\x18\x03 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"o\n\x10\x43olTypeChangeMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.ColTypeChange\"@\n\x0eSchemaCreation\x12.\n\x08relation\x18\x01 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"q\n\x11SchemaCreationMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.SchemaCreation\"<\n\nSchemaDrop\x12.\n\x08relation\x18\x01 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"i\n\rSchemaDropMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12%\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.proto_types.SchemaDrop\"\xde\x01\n\x0b\x43\x61\x63heAction\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12-\n\x07ref_key\x18\x02 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12/\n\tref_key_2\x18\x03 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12/\n\tref_key_3\x18\x04 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12.\n\x08ref_list\x18\x05 \x03(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"k\n\x0e\x43\x61\x63heActionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12&\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x18.proto_types.CacheAction\"\x98\x01\n\x0e\x43\x61\x63heDumpGraph\x12\x33\n\x04\x64ump\x18\x01 \x03(\x0b\x32%.proto_types.CacheDumpGraph.DumpEntry\x12\x14\n\x0c\x62\x65\x66ore_after\x18\x02 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t\x1a+\n\tDumpEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"q\n\x11\x43\x61\x63heDumpGraphMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.CacheDumpGraph\"B\n\x11\x41\x64\x61pterRegistered\x12\x14\n\x0c\x61\x64\x61pter_name\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x64\x61pter_version\x18\x02 \x01(\t\"w\n\x14\x41\x64\x61pterRegisteredMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterRegistered\"!\n\x12\x41\x64\x61pterImportError\x12\x0b\n\x03\x65xc\x18\x01 \x01(\t\"y\n\x15\x41\x64\x61pterImportErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.AdapterImportError\"#\n\x0fPluginLoadError\x12\x10\n\x08\x65xc_info\x18\x01 \x01(\t\"s\n\x12PluginLoadErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.proto_types.PluginLoadError\"a\n\x14NewConnectionOpening\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x18\n\x10\x63onnection_state\x18\x02 \x01(\t\"}\n\x17NewConnectionOpeningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32!.proto_types.NewConnectionOpening\"8\n\rCodeExecution\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x14\n\x0c\x63ode_content\x18\x02 \x01(\t\"o\n\x10\x43odeExecutionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.CodeExecution\"6\n\x13\x43odeExecutionStatus\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0f\n\x07\x65lapsed\x18\x02 \x01(\x02\"{\n\x16\x43odeExecutionStatusMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.CodeExecutionStatus\"%\n\x16\x43\x61talogGenerationError\x12\x0b\n\x03\x65xc\x18\x01 \x01(\t\"\x81\x01\n\x19\x43\x61talogGenerationErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.proto_types.CatalogGenerationError\"-\n\x13WriteCatalogFailure\x12\x16\n\x0enum_exceptions\x18\x01 \x01(\x05\"{\n\x16WriteCatalogFailureMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.WriteCatalogFailure\"\x1e\n\x0e\x43\x61talogWritten\x12\x0c\n\x04path\x18\x01 \x01(\t\"q\n\x11\x43\x61talogWrittenMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.CatalogWritten\"\x14\n\x12\x43\x61nnotGenerateDocs\"y\n\x15\x43\x61nnotGenerateDocsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.CannotGenerateDocs\"\x11\n\x0f\x42uildingCatalog\"s\n\x12\x42uildingCatalogMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.proto_types.BuildingCatalog\"-\n\x18\x44\x61tabaseErrorRunningHook\x12\x11\n\thook_type\x18\x01 \x01(\t\"\x85\x01\n\x1b\x44\x61tabaseErrorRunningHookMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x33\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32%.proto_types.DatabaseErrorRunningHook\"4\n\x0cHooksRunning\x12\x11\n\tnum_hooks\x18\x01 \x01(\x05\x12\x11\n\thook_type\x18\x02 \x01(\t\"m\n\x0fHooksRunningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\'\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x19.proto_types.HooksRunning\"T\n\x14\x46inishedRunningStats\x12\x11\n\tstat_line\x18\x01 \x01(\t\x12\x11\n\texecution\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_time\x18\x03 \x01(\x02\"}\n\x17\x46inishedRunningStatsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32!.proto_types.FinishedRunningStats\"<\n\x15\x43onstraintNotEnforced\x12\x12\n\nconstraint\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\"\x7f\n\x18\x43onstraintNotEnforcedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\".proto_types.ConstraintNotEnforced\"=\n\x16\x43onstraintNotSupported\x12\x12\n\nconstraint\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\"\x81\x01\n\x19\x43onstraintNotSupportedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.proto_types.ConstraintNotSupported\"%\n\x10TypeCodeNotFound\x12\x11\n\ttype_code\x18\x01 \x01(\x05\"u\n\x13TypeCodeNotFoundMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.TypeCodeNotFoundb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61\x64\x61pter_types.proto\x12\x0bproto_types\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xab\x02\n\x16\x41\x64\x61pterCommonEventInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\r\n\x05level\x18\x04 \x01(\t\x12\x15\n\rinvocation_id\x18\x05 \x01(\t\x12\x0b\n\x03pid\x18\x06 \x01(\x05\x12\x0e\n\x06thread\x18\x07 \x01(\t\x12&\n\x02ts\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x05\x65xtra\x18\t \x03(\x0b\x32..proto_types.AdapterCommonEventInfo.ExtraEntry\x12\x10\n\x08\x63\x61tegory\x18\n \x01(\t\x1a,\n\nExtraEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x13\x41\x64\x61pterNodeRelation\x12\x10\n\x08\x64\x61tabase\x18\n \x01(\t\x12\x0e\n\x06schema\x18\x0b \x01(\t\x12\r\n\x05\x61lias\x18\x0c \x01(\t\x12\x15\n\rrelation_name\x18\r \x01(\t\"\x9f\x02\n\x0f\x41\x64\x61pterNodeInfo\x12\x11\n\tnode_path\x18\x01 \x01(\t\x12\x11\n\tnode_name\x18\x02 \x01(\t\x12\x11\n\tunique_id\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x14\n\x0cmaterialized\x18\x05 \x01(\t\x12\x13\n\x0bnode_status\x18\x06 \x01(\t\x12\x17\n\x0fnode_started_at\x18\x07 \x01(\t\x12\x18\n\x10node_finished_at\x18\x08 \x01(\t\x12%\n\x04meta\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x37\n\rnode_relation\x18\n \x01(\x0b\x32 .proto_types.AdapterNodeRelation\"G\n\x0fReferenceKeyMsg\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12\x12\n\nidentifier\x18\x03 \x01(\t\"?\n\x19\x41\x64\x61pterDeprecationWarning\x12\x10\n\x08old_name\x18\x01 \x01(\t\x12\x10\n\x08new_name\x18\x02 \x01(\t\"\x87\x01\n\x1c\x41\x64\x61pterDeprecationWarningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x34\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32&.proto_types.AdapterDeprecationWarning\"!\n\x1f\x43ollectFreshnessReturnSignature\"\x93\x01\n\"CollectFreshnessReturnSignatureMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12:\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32,.proto_types.CollectFreshnessReturnSignature\"\x8e\x01\n\x11\x41\x64\x61pterEventDebug\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"w\n\x14\x41\x64\x61pterEventDebugMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterEventDebug\"\x8d\x01\n\x10\x41\x64\x61pterEventInfo\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"u\n\x13\x41\x64\x61pterEventInfoMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.AdapterEventInfo\"\x90\x01\n\x13\x41\x64\x61pterEventWarning\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\"{\n\x16\x41\x64\x61pterEventWarningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.AdapterEventWarning\"\xa0\x01\n\x11\x41\x64\x61pterEventError\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x62\x61se_msg\x18\x03 \x01(\t\x12(\n\x04\x61rgs\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValue\x12\x10\n\x08\x65xc_info\x18\x05 \x01(\t\"w\n\x14\x41\x64\x61pterEventErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterEventError\"f\n\rNewConnection\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_type\x18\x02 \x01(\t\x12\x11\n\tconn_name\x18\x03 \x01(\t\"o\n\x10NewConnectionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.NewConnection\"=\n\x10\x43onnectionReused\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x16\n\x0eorig_conn_name\x18\x02 \x01(\t\"u\n\x13\x43onnectionReusedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.ConnectionReused\"0\n\x1b\x43onnectionLeftOpenInCleanup\x12\x11\n\tconn_name\x18\x01 \x01(\t\"\x8b\x01\n\x1e\x43onnectionLeftOpenInCleanupMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x36\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32(.proto_types.ConnectionLeftOpenInCleanup\".\n\x19\x43onnectionClosedInCleanup\x12\x11\n\tconn_name\x18\x01 \x01(\t\"\x87\x01\n\x1c\x43onnectionClosedInCleanupMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x34\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32&.proto_types.ConnectionClosedInCleanup\"f\n\x0eRollbackFailed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\x12\x10\n\x08\x65xc_info\x18\x03 \x01(\t\"q\n\x11RollbackFailedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.RollbackFailed\"V\n\x10\x43onnectionClosed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"u\n\x13\x43onnectionClosedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.ConnectionClosed\"X\n\x12\x43onnectionLeftOpen\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"y\n\x15\x43onnectionLeftOpenMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.ConnectionLeftOpen\"N\n\x08Rollback\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"e\n\x0bRollbackMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12#\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x15.proto_types.Rollback\"@\n\tCacheMiss\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x0e\n\x06schema\x18\x03 \x01(\t\"g\n\x0c\x43\x61\x63heMissMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.proto_types.CacheMiss\"b\n\rListRelations\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t\x12/\n\trelations\x18\x03 \x03(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"o\n\x10ListRelationsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.ListRelations\"g\n\x0e\x43onnectionUsed\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_type\x18\x02 \x01(\t\x12\x11\n\tconn_name\x18\x03 \x01(\t\"q\n\x11\x43onnectionUsedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.ConnectionUsed\"[\n\x08SQLQuery\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\x12\x0b\n\x03sql\x18\x03 \x01(\t\"e\n\x0bSQLQueryMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12#\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x15.proto_types.SQLQuery\"t\n\x0eSQLQueryStatus\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x0f\n\x07\x65lapsed\x18\x03 \x01(\x02\x12\x10\n\x08query_id\x18\x04 \x01(\t\"q\n\x11SQLQueryStatusMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.SQLQueryStatus\"O\n\tSQLCommit\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x11\n\tconn_name\x18\x02 \x01(\t\"g\n\x0cSQLCommitMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12$\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x16.proto_types.SQLCommit\"a\n\rColTypeChange\x12\x11\n\torig_type\x18\x01 \x01(\t\x12\x10\n\x08new_type\x18\x02 \x01(\t\x12+\n\x05table\x18\x03 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"o\n\x10\x43olTypeChangeMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.ColTypeChange\"@\n\x0eSchemaCreation\x12.\n\x08relation\x18\x01 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"q\n\x11SchemaCreationMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.SchemaCreation\"<\n\nSchemaDrop\x12.\n\x08relation\x18\x01 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"i\n\rSchemaDropMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12%\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.proto_types.SchemaDrop\"\xde\x01\n\x0b\x43\x61\x63heAction\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12-\n\x07ref_key\x18\x02 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12/\n\tref_key_2\x18\x03 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12/\n\tref_key_3\x18\x04 \x01(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\x12.\n\x08ref_list\x18\x05 \x03(\x0b\x32\x1c.proto_types.ReferenceKeyMsg\"k\n\x0e\x43\x61\x63heActionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12&\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x18.proto_types.CacheAction\"\x98\x01\n\x0e\x43\x61\x63heDumpGraph\x12\x33\n\x04\x64ump\x18\x01 \x03(\x0b\x32%.proto_types.CacheDumpGraph.DumpEntry\x12\x14\n\x0c\x62\x65\x66ore_after\x18\x02 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t\x1a+\n\tDumpEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"q\n\x11\x43\x61\x63heDumpGraphMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.CacheDumpGraph\"B\n\x11\x41\x64\x61pterRegistered\x12\x14\n\x0c\x61\x64\x61pter_name\x18\x01 \x01(\t\x12\x17\n\x0f\x61\x64\x61pter_version\x18\x02 \x01(\t\"w\n\x14\x41\x64\x61pterRegisteredMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12,\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1e.proto_types.AdapterRegistered\"!\n\x12\x41\x64\x61pterImportError\x12\x0b\n\x03\x65xc\x18\x01 \x01(\t\"y\n\x15\x41\x64\x61pterImportErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.AdapterImportError\"#\n\x0fPluginLoadError\x12\x10\n\x08\x65xc_info\x18\x01 \x01(\t\"s\n\x12PluginLoadErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.proto_types.PluginLoadError\"a\n\x14NewConnectionOpening\x12/\n\tnode_info\x18\x01 \x01(\x0b\x32\x1c.proto_types.AdapterNodeInfo\x12\x18\n\x10\x63onnection_state\x18\x02 \x01(\t\"}\n\x17NewConnectionOpeningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32!.proto_types.NewConnectionOpening\"8\n\rCodeExecution\x12\x11\n\tconn_name\x18\x01 \x01(\t\x12\x14\n\x0c\x63ode_content\x18\x02 \x01(\t\"o\n\x10\x43odeExecutionMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12(\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1a.proto_types.CodeExecution\"6\n\x13\x43odeExecutionStatus\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x0f\n\x07\x65lapsed\x18\x02 \x01(\x02\"{\n\x16\x43odeExecutionStatusMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.CodeExecutionStatus\"%\n\x16\x43\x61talogGenerationError\x12\x0b\n\x03\x65xc\x18\x01 \x01(\t\"\x81\x01\n\x19\x43\x61talogGenerationErrorMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.proto_types.CatalogGenerationError\"-\n\x13WriteCatalogFailure\x12\x16\n\x0enum_exceptions\x18\x01 \x01(\x05\"{\n\x16WriteCatalogFailureMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12.\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32 .proto_types.WriteCatalogFailure\"\x1e\n\x0e\x43\x61talogWritten\x12\x0c\n\x04path\x18\x01 \x01(\t\"q\n\x11\x43\x61talogWrittenMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12)\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.proto_types.CatalogWritten\"\x14\n\x12\x43\x61nnotGenerateDocs\"y\n\x15\x43\x61nnotGenerateDocsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12-\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1f.proto_types.CannotGenerateDocs\"\x11\n\x0f\x42uildingCatalog\"s\n\x12\x42uildingCatalogMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12*\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1c.proto_types.BuildingCatalog\"-\n\x18\x44\x61tabaseErrorRunningHook\x12\x11\n\thook_type\x18\x01 \x01(\t\"\x85\x01\n\x1b\x44\x61tabaseErrorRunningHookMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x33\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32%.proto_types.DatabaseErrorRunningHook\"4\n\x0cHooksRunning\x12\x11\n\tnum_hooks\x18\x01 \x01(\x05\x12\x11\n\thook_type\x18\x02 \x01(\t\"m\n\x0fHooksRunningMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\'\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x19.proto_types.HooksRunning\"T\n\x14\x46inishedRunningStats\x12\x11\n\tstat_line\x18\x01 \x01(\t\x12\x11\n\texecution\x18\x02 \x01(\t\x12\x16\n\x0e\x65xecution_time\x18\x03 \x01(\x02\"}\n\x17\x46inishedRunningStatsMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12/\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32!.proto_types.FinishedRunningStats\"<\n\x15\x43onstraintNotEnforced\x12\x12\n\nconstraint\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\"\x7f\n\x18\x43onstraintNotEnforcedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x30\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\".proto_types.ConstraintNotEnforced\"=\n\x16\x43onstraintNotSupported\x12\x12\n\nconstraint\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x61pter\x18\x02 \x01(\t\"\x81\x01\n\x19\x43onstraintNotSupportedMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12\x31\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32#.proto_types.ConstraintNotSupported\"%\n\x10TypeCodeNotFound\x12\x11\n\ttype_code\x18\x01 \x01(\x05\"u\n\x13TypeCodeNotFoundMsg\x12\x31\n\x04info\x18\x01 \x01(\x0b\x32#.proto_types.AdapterCommonEventInfo\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.proto_types.TypeCodeNotFoundb\x06proto3')
19
19
 
20
20
  _globals = globals()
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'adapter_types_pb2', _globals)
23
23
  if _descriptor._USE_C_DESCRIPTORS == False:
24
+
24
25
  DESCRIPTOR._options = None
25
- _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._options = None
26
- _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._serialized_options = b'8\001'
27
- _globals['_CACHEDUMPGRAPH_DUMPENTRY']._options = None
28
- _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_options = b'8\001'
26
+ _ADAPTERCOMMONEVENTINFO_EXTRAENTRY._options = None
27
+ _ADAPTERCOMMONEVENTINFO_EXTRAENTRY._serialized_options = b'8\001'
28
+ _CACHEDUMPGRAPH_DUMPENTRY._options = None
29
+ _CACHEDUMPGRAPH_DUMPENTRY._serialized_options = b'8\001'
29
30
  _globals['_ADAPTERCOMMONEVENTINFO']._serialized_start=100
30
31
  _globals['_ADAPTERCOMMONEVENTINFO']._serialized_end=399
31
32
  _globals['_ADAPTERCOMMONEVENTINFO_EXTRAENTRY']._serialized_start=355
@@ -109,101 +110,101 @@ if _descriptor._USE_C_DESCRIPTORS == False:
109
110
  _globals['_SQLQUERYMSG']._serialized_start=4628
110
111
  _globals['_SQLQUERYMSG']._serialized_end=4729
111
112
  _globals['_SQLQUERYSTATUS']._serialized_start=4731
112
- _globals['_SQLQUERYSTATUS']._serialized_end=4829
113
- _globals['_SQLQUERYSTATUSMSG']._serialized_start=4831
114
- _globals['_SQLQUERYSTATUSMSG']._serialized_end=4944
115
- _globals['_SQLCOMMIT']._serialized_start=4946
116
- _globals['_SQLCOMMIT']._serialized_end=5025
117
- _globals['_SQLCOMMITMSG']._serialized_start=5027
118
- _globals['_SQLCOMMITMSG']._serialized_end=5130
119
- _globals['_COLTYPECHANGE']._serialized_start=5132
120
- _globals['_COLTYPECHANGE']._serialized_end=5229
121
- _globals['_COLTYPECHANGEMSG']._serialized_start=5231
122
- _globals['_COLTYPECHANGEMSG']._serialized_end=5342
123
- _globals['_SCHEMACREATION']._serialized_start=5344
124
- _globals['_SCHEMACREATION']._serialized_end=5408
125
- _globals['_SCHEMACREATIONMSG']._serialized_start=5410
126
- _globals['_SCHEMACREATIONMSG']._serialized_end=5523
127
- _globals['_SCHEMADROP']._serialized_start=5525
128
- _globals['_SCHEMADROP']._serialized_end=5585
129
- _globals['_SCHEMADROPMSG']._serialized_start=5587
130
- _globals['_SCHEMADROPMSG']._serialized_end=5692
131
- _globals['_CACHEACTION']._serialized_start=5695
132
- _globals['_CACHEACTION']._serialized_end=5917
133
- _globals['_CACHEACTIONMSG']._serialized_start=5919
134
- _globals['_CACHEACTIONMSG']._serialized_end=6026
135
- _globals['_CACHEDUMPGRAPH']._serialized_start=6029
136
- _globals['_CACHEDUMPGRAPH']._serialized_end=6181
137
- _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_start=6138
138
- _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_end=6181
139
- _globals['_CACHEDUMPGRAPHMSG']._serialized_start=6183
140
- _globals['_CACHEDUMPGRAPHMSG']._serialized_end=6296
141
- _globals['_ADAPTERREGISTERED']._serialized_start=6298
142
- _globals['_ADAPTERREGISTERED']._serialized_end=6364
143
- _globals['_ADAPTERREGISTEREDMSG']._serialized_start=6366
144
- _globals['_ADAPTERREGISTEREDMSG']._serialized_end=6485
145
- _globals['_ADAPTERIMPORTERROR']._serialized_start=6487
146
- _globals['_ADAPTERIMPORTERROR']._serialized_end=6520
147
- _globals['_ADAPTERIMPORTERRORMSG']._serialized_start=6522
148
- _globals['_ADAPTERIMPORTERRORMSG']._serialized_end=6643
149
- _globals['_PLUGINLOADERROR']._serialized_start=6645
150
- _globals['_PLUGINLOADERROR']._serialized_end=6680
151
- _globals['_PLUGINLOADERRORMSG']._serialized_start=6682
152
- _globals['_PLUGINLOADERRORMSG']._serialized_end=6797
153
- _globals['_NEWCONNECTIONOPENING']._serialized_start=6799
154
- _globals['_NEWCONNECTIONOPENING']._serialized_end=6896
155
- _globals['_NEWCONNECTIONOPENINGMSG']._serialized_start=6898
156
- _globals['_NEWCONNECTIONOPENINGMSG']._serialized_end=7023
157
- _globals['_CODEEXECUTION']._serialized_start=7025
158
- _globals['_CODEEXECUTION']._serialized_end=7081
159
- _globals['_CODEEXECUTIONMSG']._serialized_start=7083
160
- _globals['_CODEEXECUTIONMSG']._serialized_end=7194
161
- _globals['_CODEEXECUTIONSTATUS']._serialized_start=7196
162
- _globals['_CODEEXECUTIONSTATUS']._serialized_end=7250
163
- _globals['_CODEEXECUTIONSTATUSMSG']._serialized_start=7252
164
- _globals['_CODEEXECUTIONSTATUSMSG']._serialized_end=7375
165
- _globals['_CATALOGGENERATIONERROR']._serialized_start=7377
166
- _globals['_CATALOGGENERATIONERROR']._serialized_end=7414
167
- _globals['_CATALOGGENERATIONERRORMSG']._serialized_start=7417
168
- _globals['_CATALOGGENERATIONERRORMSG']._serialized_end=7546
169
- _globals['_WRITECATALOGFAILURE']._serialized_start=7548
170
- _globals['_WRITECATALOGFAILURE']._serialized_end=7593
171
- _globals['_WRITECATALOGFAILUREMSG']._serialized_start=7595
172
- _globals['_WRITECATALOGFAILUREMSG']._serialized_end=7718
173
- _globals['_CATALOGWRITTEN']._serialized_start=7720
174
- _globals['_CATALOGWRITTEN']._serialized_end=7750
175
- _globals['_CATALOGWRITTENMSG']._serialized_start=7752
176
- _globals['_CATALOGWRITTENMSG']._serialized_end=7865
177
- _globals['_CANNOTGENERATEDOCS']._serialized_start=7867
178
- _globals['_CANNOTGENERATEDOCS']._serialized_end=7887
179
- _globals['_CANNOTGENERATEDOCSMSG']._serialized_start=7889
180
- _globals['_CANNOTGENERATEDOCSMSG']._serialized_end=8010
181
- _globals['_BUILDINGCATALOG']._serialized_start=8012
182
- _globals['_BUILDINGCATALOG']._serialized_end=8029
183
- _globals['_BUILDINGCATALOGMSG']._serialized_start=8031
184
- _globals['_BUILDINGCATALOGMSG']._serialized_end=8146
185
- _globals['_DATABASEERRORRUNNINGHOOK']._serialized_start=8148
186
- _globals['_DATABASEERRORRUNNINGHOOK']._serialized_end=8193
187
- _globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_start=8196
188
- _globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_end=8329
189
- _globals['_HOOKSRUNNING']._serialized_start=8331
190
- _globals['_HOOKSRUNNING']._serialized_end=8383
191
- _globals['_HOOKSRUNNINGMSG']._serialized_start=8385
192
- _globals['_HOOKSRUNNINGMSG']._serialized_end=8494
193
- _globals['_FINISHEDRUNNINGSTATS']._serialized_start=8496
194
- _globals['_FINISHEDRUNNINGSTATS']._serialized_end=8580
195
- _globals['_FINISHEDRUNNINGSTATSMSG']._serialized_start=8582
196
- _globals['_FINISHEDRUNNINGSTATSMSG']._serialized_end=8707
197
- _globals['_CONSTRAINTNOTENFORCED']._serialized_start=8709
198
- _globals['_CONSTRAINTNOTENFORCED']._serialized_end=8769
199
- _globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_start=8771
200
- _globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_end=8898
201
- _globals['_CONSTRAINTNOTSUPPORTED']._serialized_start=8900
202
- _globals['_CONSTRAINTNOTSUPPORTED']._serialized_end=8961
203
- _globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_start=8964
204
- _globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_end=9093
205
- _globals['_TYPECODENOTFOUND']._serialized_start=9095
206
- _globals['_TYPECODENOTFOUND']._serialized_end=9132
207
- _globals['_TYPECODENOTFOUNDMSG']._serialized_start=9134
208
- _globals['_TYPECODENOTFOUNDMSG']._serialized_end=9251
113
+ _globals['_SQLQUERYSTATUS']._serialized_end=4847
114
+ _globals['_SQLQUERYSTATUSMSG']._serialized_start=4849
115
+ _globals['_SQLQUERYSTATUSMSG']._serialized_end=4962
116
+ _globals['_SQLCOMMIT']._serialized_start=4964
117
+ _globals['_SQLCOMMIT']._serialized_end=5043
118
+ _globals['_SQLCOMMITMSG']._serialized_start=5045
119
+ _globals['_SQLCOMMITMSG']._serialized_end=5148
120
+ _globals['_COLTYPECHANGE']._serialized_start=5150
121
+ _globals['_COLTYPECHANGE']._serialized_end=5247
122
+ _globals['_COLTYPECHANGEMSG']._serialized_start=5249
123
+ _globals['_COLTYPECHANGEMSG']._serialized_end=5360
124
+ _globals['_SCHEMACREATION']._serialized_start=5362
125
+ _globals['_SCHEMACREATION']._serialized_end=5426
126
+ _globals['_SCHEMACREATIONMSG']._serialized_start=5428
127
+ _globals['_SCHEMACREATIONMSG']._serialized_end=5541
128
+ _globals['_SCHEMADROP']._serialized_start=5543
129
+ _globals['_SCHEMADROP']._serialized_end=5603
130
+ _globals['_SCHEMADROPMSG']._serialized_start=5605
131
+ _globals['_SCHEMADROPMSG']._serialized_end=5710
132
+ _globals['_CACHEACTION']._serialized_start=5713
133
+ _globals['_CACHEACTION']._serialized_end=5935
134
+ _globals['_CACHEACTIONMSG']._serialized_start=5937
135
+ _globals['_CACHEACTIONMSG']._serialized_end=6044
136
+ _globals['_CACHEDUMPGRAPH']._serialized_start=6047
137
+ _globals['_CACHEDUMPGRAPH']._serialized_end=6199
138
+ _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_start=6156
139
+ _globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_end=6199
140
+ _globals['_CACHEDUMPGRAPHMSG']._serialized_start=6201
141
+ _globals['_CACHEDUMPGRAPHMSG']._serialized_end=6314
142
+ _globals['_ADAPTERREGISTERED']._serialized_start=6316
143
+ _globals['_ADAPTERREGISTERED']._serialized_end=6382
144
+ _globals['_ADAPTERREGISTEREDMSG']._serialized_start=6384
145
+ _globals['_ADAPTERREGISTEREDMSG']._serialized_end=6503
146
+ _globals['_ADAPTERIMPORTERROR']._serialized_start=6505
147
+ _globals['_ADAPTERIMPORTERROR']._serialized_end=6538
148
+ _globals['_ADAPTERIMPORTERRORMSG']._serialized_start=6540
149
+ _globals['_ADAPTERIMPORTERRORMSG']._serialized_end=6661
150
+ _globals['_PLUGINLOADERROR']._serialized_start=6663
151
+ _globals['_PLUGINLOADERROR']._serialized_end=6698
152
+ _globals['_PLUGINLOADERRORMSG']._serialized_start=6700
153
+ _globals['_PLUGINLOADERRORMSG']._serialized_end=6815
154
+ _globals['_NEWCONNECTIONOPENING']._serialized_start=6817
155
+ _globals['_NEWCONNECTIONOPENING']._serialized_end=6914
156
+ _globals['_NEWCONNECTIONOPENINGMSG']._serialized_start=6916
157
+ _globals['_NEWCONNECTIONOPENINGMSG']._serialized_end=7041
158
+ _globals['_CODEEXECUTION']._serialized_start=7043
159
+ _globals['_CODEEXECUTION']._serialized_end=7099
160
+ _globals['_CODEEXECUTIONMSG']._serialized_start=7101
161
+ _globals['_CODEEXECUTIONMSG']._serialized_end=7212
162
+ _globals['_CODEEXECUTIONSTATUS']._serialized_start=7214
163
+ _globals['_CODEEXECUTIONSTATUS']._serialized_end=7268
164
+ _globals['_CODEEXECUTIONSTATUSMSG']._serialized_start=7270
165
+ _globals['_CODEEXECUTIONSTATUSMSG']._serialized_end=7393
166
+ _globals['_CATALOGGENERATIONERROR']._serialized_start=7395
167
+ _globals['_CATALOGGENERATIONERROR']._serialized_end=7432
168
+ _globals['_CATALOGGENERATIONERRORMSG']._serialized_start=7435
169
+ _globals['_CATALOGGENERATIONERRORMSG']._serialized_end=7564
170
+ _globals['_WRITECATALOGFAILURE']._serialized_start=7566
171
+ _globals['_WRITECATALOGFAILURE']._serialized_end=7611
172
+ _globals['_WRITECATALOGFAILUREMSG']._serialized_start=7613
173
+ _globals['_WRITECATALOGFAILUREMSG']._serialized_end=7736
174
+ _globals['_CATALOGWRITTEN']._serialized_start=7738
175
+ _globals['_CATALOGWRITTEN']._serialized_end=7768
176
+ _globals['_CATALOGWRITTENMSG']._serialized_start=7770
177
+ _globals['_CATALOGWRITTENMSG']._serialized_end=7883
178
+ _globals['_CANNOTGENERATEDOCS']._serialized_start=7885
179
+ _globals['_CANNOTGENERATEDOCS']._serialized_end=7905
180
+ _globals['_CANNOTGENERATEDOCSMSG']._serialized_start=7907
181
+ _globals['_CANNOTGENERATEDOCSMSG']._serialized_end=8028
182
+ _globals['_BUILDINGCATALOG']._serialized_start=8030
183
+ _globals['_BUILDINGCATALOG']._serialized_end=8047
184
+ _globals['_BUILDINGCATALOGMSG']._serialized_start=8049
185
+ _globals['_BUILDINGCATALOGMSG']._serialized_end=8164
186
+ _globals['_DATABASEERRORRUNNINGHOOK']._serialized_start=8166
187
+ _globals['_DATABASEERRORRUNNINGHOOK']._serialized_end=8211
188
+ _globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_start=8214
189
+ _globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_end=8347
190
+ _globals['_HOOKSRUNNING']._serialized_start=8349
191
+ _globals['_HOOKSRUNNING']._serialized_end=8401
192
+ _globals['_HOOKSRUNNINGMSG']._serialized_start=8403
193
+ _globals['_HOOKSRUNNINGMSG']._serialized_end=8512
194
+ _globals['_FINISHEDRUNNINGSTATS']._serialized_start=8514
195
+ _globals['_FINISHEDRUNNINGSTATS']._serialized_end=8598
196
+ _globals['_FINISHEDRUNNINGSTATSMSG']._serialized_start=8600
197
+ _globals['_FINISHEDRUNNINGSTATSMSG']._serialized_end=8725
198
+ _globals['_CONSTRAINTNOTENFORCED']._serialized_start=8727
199
+ _globals['_CONSTRAINTNOTENFORCED']._serialized_end=8787
200
+ _globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_start=8789
201
+ _globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_end=8916
202
+ _globals['_CONSTRAINTNOTSUPPORTED']._serialized_start=8918
203
+ _globals['_CONSTRAINTNOTSUPPORTED']._serialized_end=8979
204
+ _globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_start=8982
205
+ _globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_end=9111
206
+ _globals['_TYPECODENOTFOUND']._serialized_start=9113
207
+ _globals['_TYPECODENOTFOUND']._serialized_end=9150
208
+ _globals['_TYPECODENOTFOUNDMSG']._serialized_start=9152
209
+ _globals['_TYPECODENOTFOUNDMSG']._serialized_end=9269
209
210
  # @@protoc_insertion_point(module_scope)
@@ -92,11 +92,14 @@ class SQLConnectionManager(BaseConnectionManager):
92
92
  cursor = connection.handle.cursor()
93
93
  cursor.execute(sql, bindings)
94
94
 
95
+ result = self.get_response(cursor)
96
+
95
97
  fire_event(
96
98
  SQLQueryStatus(
97
- status=str(self.get_response(cursor)),
99
+ status=str(result),
98
100
  elapsed=time.perf_counter() - pre,
99
101
  node_info=get_node_info(),
102
+ query_id=result.query_id,
100
103
  )
101
104
  )
102
105
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dbt-adapters
3
- Version: 1.7.2
3
+ Version: 1.9.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,7 +9,6 @@ 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
13
12
  Keywords: adapter,adapters,database,dbt,dbt Cloud,dbt Core,dbt Labs,dbt-core,elt
14
13
  Classifier: Development Status :: 5 - Production/Stable
15
14
  Classifier: License :: OSI Approved :: Apache Software License
@@ -1,5 +1,5 @@
1
1
  dbt/__init__.py,sha256=iY4jdvOxcDhkdr5FiyOTZPHadKtMZDQ-qC6Fw6_EHPM,277
2
- dbt/adapters/__about__.py,sha256=nmG3pZh3PHNxtCaqlmZrGx0G1CNyDdjUYvAO0SpMB8E,18
2
+ dbt/adapters/__about__.py,sha256=cXjavBUobbggOyp9SOIeDA3iCRdu2Hzw1qBttGe-RYs,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
@@ -9,24 +9,24 @@ dbt/adapters/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  dbt/adapters/reference_keys.py,sha256=lRN3gPdQD6Qciy-BAGx_rz3CFlbS7zMSZ43pZ_9ondE,1046
10
10
  dbt/adapters/utils.py,sha256=OtakbxPgxwrxN5Yd2vAO-cvLETSgzBwMWebhgegAVyA,2414
11
11
  dbt/adapters/base/README.md,sha256=muHQntC07Lh6L1XfVgwKhV5RltOPBLYPdQqd8_7l34c,516
12
- dbt/adapters/base/__init__.py,sha256=KGGGbj8jGMjAFJdQ5YHcOpApMMVZ_6Xuni1swhpkqRY,423
12
+ dbt/adapters/base/__init__.py,sha256=Nc8lQVkOzAqdcxk4cw4E_raxN9CAWMwhQx4STdiicxg,456
13
13
  dbt/adapters/base/column.py,sha256=Uj20UixoxCn2rlv4QDNONyys6CDkDFyG3anCXKf0T2c,5350
14
14
  dbt/adapters/base/connections.py,sha256=-C5dOwGgMKH8n_v6wjwOxV7chBdS0GjOGwNQCUbhhWc,16951
15
- dbt/adapters/base/impl.py,sha256=7dUeQxHUaC8UpHHayacgUKP2JGGuWgfoh_I00YjN6yc,70604
15
+ dbt/adapters/base/impl.py,sha256=G4xUyz9QOLNn9xV3MVafkClqa-HZPNn3ybzaRaPTJU8,72804
16
16
  dbt/adapters/base/meta.py,sha256=IKqviGf7gK_qGtrn0t8NaSdUaw8g_M8SjICacMvNwGY,5702
17
17
  dbt/adapters/base/plugin.py,sha256=rm0GjNHnWM2mn0GJOjciZLwn-02xlzWCoMT9u-epwP0,1076
18
18
  dbt/adapters/base/query_headers.py,sha256=UluGd9IYCYkoMiDi5Yx_lnrCOSjWppjwRro4SIGgx8I,3496
19
- dbt/adapters/base/relation.py,sha256=uBvDb3XwYSu5t5RVj-OwfQgJFcxP9qBPgSqgQ_yzYbI,18708
19
+ dbt/adapters/base/relation.py,sha256=LgluQrBxbkd3OvLCxFxds3UspuOMkBn6INv5FUlxGjQ,18924
20
20
  dbt/adapters/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  dbt/adapters/clients/jinja.py,sha256=NsZOiBpOLunS46hRL5OcX1MpY3Ih6_87Vgz4qd_PNbc,768
22
22
  dbt/adapters/contracts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
- dbt/adapters/contracts/connection.py,sha256=nkqIRpJqO0sB2aMrJ_hTPPQOe-jL3se__ppAoCNYiOA,6898
23
+ dbt/adapters/contracts/connection.py,sha256=CAKHn6zb5LJCxbtPoGJYOC0s2iV9_wX6RDO3mxL98jM,6933
24
24
  dbt/adapters/contracts/macros.py,sha256=NYVDi5ww7v4ksKBwF836TXE-2xU4IBaUINqvxMY-ieU,366
25
25
  dbt/adapters/contracts/relation.py,sha256=H_IYxRtg9LV8kYAfAiWeQAf-2ByMRN-EkfxHim-7AJE,4731
26
26
  dbt/adapters/events/README.md,sha256=kVUFIsDQrHTUmk9Mmu-yXYkWh4pA5MJK_H6739rQr5I,3521
27
27
  dbt/adapters/events/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- dbt/adapters/events/adapter_types.proto,sha256=wFhPMVokFgU1KFyc4h4OKzX1I0I_d2AVBcXdpS0KoW4,9648
29
- dbt/adapters/events/adapter_types_pb2.py,sha256=06gi23B_q_wGp2EnjGuLW09SV578IjPsyH6RhACuBFU,26480
28
+ dbt/adapters/events/adapter_types.proto,sha256=Cjs_XEZFGlKDj_dGbtjSUcAuXm6jRBRMnZEXHCQd5-I,9673
29
+ dbt/adapters/events/adapter_types_pb2.py,sha256=HCk8PoldHIsAC5zLfcRr0gmIeNey7N9e8s-5NZ24CJk,26471
30
30
  dbt/adapters/events/base_types.py,sha256=sTlNRl15GaRIrIDVxalf7sK08dfo3Ol1Ua2jbFO7-7c,966
31
31
  dbt/adapters/events/logging.py,sha256=1nRFswQubgUrVHL5DB9ewBtbEv1-OcIXC7mMmu3NOaM,2350
32
32
  dbt/adapters/events/types.py,sha256=nW7_FgrEmWlM-HWPHrYcJ5K5QLZtfspLizyqlXrJaoE,12189
@@ -51,7 +51,7 @@ dbt/adapters/relation_configs/config_base.py,sha256=IK9oKf9TuOTLIiKX8ms_X-p4yxZv
51
51
  dbt/adapters/relation_configs/config_change.py,sha256=hf6fDWbZpKvZdM6z-OtY-GveipzfLRR_dsUZmYmXkdk,713
52
52
  dbt/adapters/relation_configs/config_validation.py,sha256=wlJUMwOEPhYFch-LRtEWfLNJMq8jL1tRhOUHmNX8nFw,1978
53
53
  dbt/adapters/sql/__init__.py,sha256=WLWZJfqc8pr1N1BMVe9gM-KQ4URJIeKfLqTuJBD1VN0,107
54
- dbt/adapters/sql/connections.py,sha256=JYML3G9Ro2rTa0Q5IujKaNzpiPRGrUDuzQH0qej7SmE,6472
54
+ dbt/adapters/sql/connections.py,sha256=qWsDFdenuzPDzhawPktrrHOf-5GKeMwXi4iWoQJVu4A,6547
55
55
  dbt/adapters/sql/impl.py,sha256=HmH3eC-qVeCAAukjEOnUNZbH-UK32X-NL4kwb_EHzs0,10763
56
56
  dbt/include/__init__.py,sha256=qEFeq3yuf3lQKVseALmL8aPM8fpCS54B_5pry00M3hk,76
57
57
  dbt/include/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -157,7 +157,7 @@ dbt/include/global_project/macros/utils/right.sql,sha256=EwNG98CAFIwNDmarwopf7Rk
157
157
  dbt/include/global_project/macros/utils/safe_cast.sql,sha256=1mswwkDACmIi1I99JKb_-vq3kjMe4HhMRV70mW8Bt4Y,298
158
158
  dbt/include/global_project/macros/utils/split_part.sql,sha256=fXEIS0oIiYR7-4lYbb0QbZdG-q2TpV63AFd1ky4I5UM,714
159
159
  dbt/include/global_project/tests/generic/builtin.sql,sha256=p94xdyPwb2TlxgLBqCfrcRfJ1QNgsjPvBm8f0Q5eqZM,1022
160
- dbt_adapters-1.7.2.dist-info/METADATA,sha256=MBPlx_JfK9iYRkF61AxSwob5KA15Y_4irl6FW99QO7Y,2498
161
- dbt_adapters-1.7.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
162
- dbt_adapters-1.7.2.dist-info/licenses/LICENSE,sha256=9yjigiJhWcCZvQjdagGKDwrRph58QWc5P2bVSQwXo6s,11344
163
- dbt_adapters-1.7.2.dist-info/RECORD,,
160
+ dbt_adapters-1.9.0.dist-info/METADATA,sha256=MkUbs5aluBBOz96hZK6mA13h5tJk4FPyKmpKM3QrMPc,2476
161
+ dbt_adapters-1.9.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
162
+ dbt_adapters-1.9.0.dist-info/licenses/LICENSE,sha256=9yjigiJhWcCZvQjdagGKDwrRph58QWc5P2bVSQwXo6s,11344
163
+ dbt_adapters-1.9.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.26.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any