dbt-adapters 1.14.1__py3-none-any.whl → 1.14.3__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 +1 -1
- dbt/adapters/base/impl.py +76 -2
- dbt/adapters/base/relation.py +9 -0
- dbt/adapters/catalogs/__init__.py +10 -0
- dbt/adapters/catalogs/_client.py +54 -0
- dbt/adapters/catalogs/_exceptions.py +32 -0
- dbt/adapters/catalogs/_integration.py +75 -0
- dbt/adapters/contracts/relation.py +1 -0
- dbt/adapters/events/adapter_types.proto +1 -0
- dbt/adapters/events/adapter_types_pb2.py +174 -174
- dbt/adapters/record/base.py +163 -0
- dbt/adapters/record/handle.py +16 -0
- dbt/adapters/record/serialization.py +31 -0
- dbt/adapters/sql/impl.py +6 -0
- dbt/include/global_project/macros/python_model/python.sql +1 -1
- {dbt_adapters-1.14.1.dist-info → dbt_adapters-1.14.3.dist-info}/METADATA +1 -1
- {dbt_adapters-1.14.1.dist-info → dbt_adapters-1.14.3.dist-info}/RECORD +19 -13
- {dbt_adapters-1.14.1.dist-info → dbt_adapters-1.14.3.dist-info}/WHEEL +0 -0
- {dbt_adapters-1.14.1.dist-info → dbt_adapters-1.14.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
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')
|
|
29
|
+
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\"\xb6\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\x12\x15\n\rnode_checksum\x18\x0b \x01(\t\"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')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -44,177 +44,177 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_ADAPTERNODERELATION']._serialized_start=401
|
|
45
45
|
_globals['_ADAPTERNODERELATION']._serialized_end=494
|
|
46
46
|
_globals['_ADAPTERNODEINFO']._serialized_start=497
|
|
47
|
-
_globals['_ADAPTERNODEINFO']._serialized_end=
|
|
48
|
-
_globals['_REFERENCEKEYMSG']._serialized_start=
|
|
49
|
-
_globals['_REFERENCEKEYMSG']._serialized_end=
|
|
50
|
-
_globals['_ADAPTERDEPRECATIONWARNING']._serialized_start=
|
|
51
|
-
_globals['_ADAPTERDEPRECATIONWARNING']._serialized_end=
|
|
52
|
-
_globals['_ADAPTERDEPRECATIONWARNINGMSG']._serialized_start=
|
|
53
|
-
_globals['_ADAPTERDEPRECATIONWARNINGMSG']._serialized_end=
|
|
54
|
-
_globals['_COLLECTFRESHNESSRETURNSIGNATURE']._serialized_start=
|
|
55
|
-
_globals['_COLLECTFRESHNESSRETURNSIGNATURE']._serialized_end=
|
|
56
|
-
_globals['_COLLECTFRESHNESSRETURNSIGNATUREMSG']._serialized_start=
|
|
57
|
-
_globals['_COLLECTFRESHNESSRETURNSIGNATUREMSG']._serialized_end=
|
|
58
|
-
_globals['_ADAPTEREVENTDEBUG']._serialized_start=
|
|
59
|
-
_globals['_ADAPTEREVENTDEBUG']._serialized_end=
|
|
60
|
-
_globals['_ADAPTEREVENTDEBUGMSG']._serialized_start=
|
|
61
|
-
_globals['_ADAPTEREVENTDEBUGMSG']._serialized_end=
|
|
62
|
-
_globals['_ADAPTEREVENTINFO']._serialized_start=
|
|
63
|
-
_globals['_ADAPTEREVENTINFO']._serialized_end=
|
|
64
|
-
_globals['_ADAPTEREVENTINFOMSG']._serialized_start=
|
|
65
|
-
_globals['_ADAPTEREVENTINFOMSG']._serialized_end=
|
|
66
|
-
_globals['_ADAPTEREVENTWARNING']._serialized_start=
|
|
67
|
-
_globals['_ADAPTEREVENTWARNING']._serialized_end=
|
|
68
|
-
_globals['_ADAPTEREVENTWARNINGMSG']._serialized_start=
|
|
69
|
-
_globals['_ADAPTEREVENTWARNINGMSG']._serialized_end=
|
|
70
|
-
_globals['_ADAPTEREVENTERROR']._serialized_start=
|
|
71
|
-
_globals['_ADAPTEREVENTERROR']._serialized_end=
|
|
72
|
-
_globals['_ADAPTEREVENTERRORMSG']._serialized_start=
|
|
73
|
-
_globals['_ADAPTEREVENTERRORMSG']._serialized_end=
|
|
74
|
-
_globals['_NEWCONNECTION']._serialized_start=
|
|
75
|
-
_globals['_NEWCONNECTION']._serialized_end=
|
|
76
|
-
_globals['_NEWCONNECTIONMSG']._serialized_start=
|
|
77
|
-
_globals['_NEWCONNECTIONMSG']._serialized_end=
|
|
78
|
-
_globals['_CONNECTIONREUSED']._serialized_start=
|
|
79
|
-
_globals['_CONNECTIONREUSED']._serialized_end=
|
|
80
|
-
_globals['_CONNECTIONREUSEDMSG']._serialized_start=
|
|
81
|
-
_globals['_CONNECTIONREUSEDMSG']._serialized_end=
|
|
82
|
-
_globals['_CONNECTIONLEFTOPENINCLEANUP']._serialized_start=
|
|
83
|
-
_globals['_CONNECTIONLEFTOPENINCLEANUP']._serialized_end=
|
|
84
|
-
_globals['_CONNECTIONLEFTOPENINCLEANUPMSG']._serialized_start=
|
|
85
|
-
_globals['_CONNECTIONLEFTOPENINCLEANUPMSG']._serialized_end=
|
|
86
|
-
_globals['_CONNECTIONCLOSEDINCLEANUP']._serialized_start=
|
|
87
|
-
_globals['_CONNECTIONCLOSEDINCLEANUP']._serialized_end=
|
|
88
|
-
_globals['_CONNECTIONCLOSEDINCLEANUPMSG']._serialized_start=
|
|
89
|
-
_globals['_CONNECTIONCLOSEDINCLEANUPMSG']._serialized_end=
|
|
90
|
-
_globals['_ROLLBACKFAILED']._serialized_start=
|
|
91
|
-
_globals['_ROLLBACKFAILED']._serialized_end=
|
|
92
|
-
_globals['_ROLLBACKFAILEDMSG']._serialized_start=
|
|
93
|
-
_globals['_ROLLBACKFAILEDMSG']._serialized_end=
|
|
94
|
-
_globals['_CONNECTIONCLOSED']._serialized_start=
|
|
95
|
-
_globals['_CONNECTIONCLOSED']._serialized_end=
|
|
96
|
-
_globals['_CONNECTIONCLOSEDMSG']._serialized_start=
|
|
97
|
-
_globals['_CONNECTIONCLOSEDMSG']._serialized_end=
|
|
98
|
-
_globals['_CONNECTIONLEFTOPEN']._serialized_start=
|
|
99
|
-
_globals['_CONNECTIONLEFTOPEN']._serialized_end=
|
|
100
|
-
_globals['_CONNECTIONLEFTOPENMSG']._serialized_start=
|
|
101
|
-
_globals['_CONNECTIONLEFTOPENMSG']._serialized_end=
|
|
102
|
-
_globals['_ROLLBACK']._serialized_start=
|
|
103
|
-
_globals['_ROLLBACK']._serialized_end=
|
|
104
|
-
_globals['_ROLLBACKMSG']._serialized_start=
|
|
105
|
-
_globals['_ROLLBACKMSG']._serialized_end=
|
|
106
|
-
_globals['_CACHEMISS']._serialized_start=
|
|
107
|
-
_globals['_CACHEMISS']._serialized_end=
|
|
108
|
-
_globals['_CACHEMISSMSG']._serialized_start=
|
|
109
|
-
_globals['_CACHEMISSMSG']._serialized_end=
|
|
110
|
-
_globals['_LISTRELATIONS']._serialized_start=
|
|
111
|
-
_globals['_LISTRELATIONS']._serialized_end=
|
|
112
|
-
_globals['_LISTRELATIONSMSG']._serialized_start=
|
|
113
|
-
_globals['_LISTRELATIONSMSG']._serialized_end=
|
|
114
|
-
_globals['_CONNECTIONUSED']._serialized_start=
|
|
115
|
-
_globals['_CONNECTIONUSED']._serialized_end=
|
|
116
|
-
_globals['_CONNECTIONUSEDMSG']._serialized_start=
|
|
117
|
-
_globals['_CONNECTIONUSEDMSG']._serialized_end=
|
|
118
|
-
_globals['_SQLQUERY']._serialized_start=
|
|
119
|
-
_globals['_SQLQUERY']._serialized_end=
|
|
120
|
-
_globals['_SQLQUERYMSG']._serialized_start=
|
|
121
|
-
_globals['_SQLQUERYMSG']._serialized_end=
|
|
122
|
-
_globals['_SQLQUERYSTATUS']._serialized_start=
|
|
123
|
-
_globals['_SQLQUERYSTATUS']._serialized_end=
|
|
124
|
-
_globals['_SQLQUERYSTATUSMSG']._serialized_start=
|
|
125
|
-
_globals['_SQLQUERYSTATUSMSG']._serialized_end=
|
|
126
|
-
_globals['_SQLCOMMIT']._serialized_start=
|
|
127
|
-
_globals['_SQLCOMMIT']._serialized_end=
|
|
128
|
-
_globals['_SQLCOMMITMSG']._serialized_start=
|
|
129
|
-
_globals['_SQLCOMMITMSG']._serialized_end=
|
|
130
|
-
_globals['_COLTYPECHANGE']._serialized_start=
|
|
131
|
-
_globals['_COLTYPECHANGE']._serialized_end=
|
|
132
|
-
_globals['_COLTYPECHANGEMSG']._serialized_start=
|
|
133
|
-
_globals['_COLTYPECHANGEMSG']._serialized_end=
|
|
134
|
-
_globals['_SCHEMACREATION']._serialized_start=
|
|
135
|
-
_globals['_SCHEMACREATION']._serialized_end=
|
|
136
|
-
_globals['_SCHEMACREATIONMSG']._serialized_start=
|
|
137
|
-
_globals['_SCHEMACREATIONMSG']._serialized_end=
|
|
138
|
-
_globals['_SCHEMADROP']._serialized_start=
|
|
139
|
-
_globals['_SCHEMADROP']._serialized_end=
|
|
140
|
-
_globals['_SCHEMADROPMSG']._serialized_start=
|
|
141
|
-
_globals['_SCHEMADROPMSG']._serialized_end=
|
|
142
|
-
_globals['_CACHEACTION']._serialized_start=
|
|
143
|
-
_globals['_CACHEACTION']._serialized_end=
|
|
144
|
-
_globals['_CACHEACTIONMSG']._serialized_start=
|
|
145
|
-
_globals['_CACHEACTIONMSG']._serialized_end=
|
|
146
|
-
_globals['_CACHEDUMPGRAPH']._serialized_start=
|
|
147
|
-
_globals['_CACHEDUMPGRAPH']._serialized_end=
|
|
148
|
-
_globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_start=
|
|
149
|
-
_globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_end=
|
|
150
|
-
_globals['_CACHEDUMPGRAPHMSG']._serialized_start=
|
|
151
|
-
_globals['_CACHEDUMPGRAPHMSG']._serialized_end=
|
|
152
|
-
_globals['_ADAPTERREGISTERED']._serialized_start=
|
|
153
|
-
_globals['_ADAPTERREGISTERED']._serialized_end=
|
|
154
|
-
_globals['_ADAPTERREGISTEREDMSG']._serialized_start=
|
|
155
|
-
_globals['_ADAPTERREGISTEREDMSG']._serialized_end=
|
|
156
|
-
_globals['_ADAPTERIMPORTERROR']._serialized_start=
|
|
157
|
-
_globals['_ADAPTERIMPORTERROR']._serialized_end=
|
|
158
|
-
_globals['_ADAPTERIMPORTERRORMSG']._serialized_start=
|
|
159
|
-
_globals['_ADAPTERIMPORTERRORMSG']._serialized_end=
|
|
160
|
-
_globals['_PLUGINLOADERROR']._serialized_start=
|
|
161
|
-
_globals['_PLUGINLOADERROR']._serialized_end=
|
|
162
|
-
_globals['_PLUGINLOADERRORMSG']._serialized_start=
|
|
163
|
-
_globals['_PLUGINLOADERRORMSG']._serialized_end=
|
|
164
|
-
_globals['_NEWCONNECTIONOPENING']._serialized_start=
|
|
165
|
-
_globals['_NEWCONNECTIONOPENING']._serialized_end=
|
|
166
|
-
_globals['_NEWCONNECTIONOPENINGMSG']._serialized_start=
|
|
167
|
-
_globals['_NEWCONNECTIONOPENINGMSG']._serialized_end=
|
|
168
|
-
_globals['_CODEEXECUTION']._serialized_start=
|
|
169
|
-
_globals['_CODEEXECUTION']._serialized_end=
|
|
170
|
-
_globals['_CODEEXECUTIONMSG']._serialized_start=
|
|
171
|
-
_globals['_CODEEXECUTIONMSG']._serialized_end=
|
|
172
|
-
_globals['_CODEEXECUTIONSTATUS']._serialized_start=
|
|
173
|
-
_globals['_CODEEXECUTIONSTATUS']._serialized_end=
|
|
174
|
-
_globals['_CODEEXECUTIONSTATUSMSG']._serialized_start=
|
|
175
|
-
_globals['_CODEEXECUTIONSTATUSMSG']._serialized_end=
|
|
176
|
-
_globals['_CATALOGGENERATIONERROR']._serialized_start=
|
|
177
|
-
_globals['_CATALOGGENERATIONERROR']._serialized_end=
|
|
178
|
-
_globals['_CATALOGGENERATIONERRORMSG']._serialized_start=
|
|
179
|
-
_globals['_CATALOGGENERATIONERRORMSG']._serialized_end=
|
|
180
|
-
_globals['_WRITECATALOGFAILURE']._serialized_start=
|
|
181
|
-
_globals['_WRITECATALOGFAILURE']._serialized_end=
|
|
182
|
-
_globals['_WRITECATALOGFAILUREMSG']._serialized_start=
|
|
183
|
-
_globals['_WRITECATALOGFAILUREMSG']._serialized_end=
|
|
184
|
-
_globals['_CATALOGWRITTEN']._serialized_start=
|
|
185
|
-
_globals['_CATALOGWRITTEN']._serialized_end=
|
|
186
|
-
_globals['_CATALOGWRITTENMSG']._serialized_start=
|
|
187
|
-
_globals['_CATALOGWRITTENMSG']._serialized_end=
|
|
188
|
-
_globals['_CANNOTGENERATEDOCS']._serialized_start=
|
|
189
|
-
_globals['_CANNOTGENERATEDOCS']._serialized_end=
|
|
190
|
-
_globals['_CANNOTGENERATEDOCSMSG']._serialized_start=
|
|
191
|
-
_globals['_CANNOTGENERATEDOCSMSG']._serialized_end=
|
|
192
|
-
_globals['_BUILDINGCATALOG']._serialized_start=
|
|
193
|
-
_globals['_BUILDINGCATALOG']._serialized_end=
|
|
194
|
-
_globals['_BUILDINGCATALOGMSG']._serialized_start=
|
|
195
|
-
_globals['_BUILDINGCATALOGMSG']._serialized_end=
|
|
196
|
-
_globals['_DATABASEERRORRUNNINGHOOK']._serialized_start=
|
|
197
|
-
_globals['_DATABASEERRORRUNNINGHOOK']._serialized_end=
|
|
198
|
-
_globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_start=
|
|
199
|
-
_globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_end=
|
|
200
|
-
_globals['_HOOKSRUNNING']._serialized_start=
|
|
201
|
-
_globals['_HOOKSRUNNING']._serialized_end=
|
|
202
|
-
_globals['_HOOKSRUNNINGMSG']._serialized_start=
|
|
203
|
-
_globals['_HOOKSRUNNINGMSG']._serialized_end=
|
|
204
|
-
_globals['_FINISHEDRUNNINGSTATS']._serialized_start=
|
|
205
|
-
_globals['_FINISHEDRUNNINGSTATS']._serialized_end=
|
|
206
|
-
_globals['_FINISHEDRUNNINGSTATSMSG']._serialized_start=
|
|
207
|
-
_globals['_FINISHEDRUNNINGSTATSMSG']._serialized_end=
|
|
208
|
-
_globals['_CONSTRAINTNOTENFORCED']._serialized_start=
|
|
209
|
-
_globals['_CONSTRAINTNOTENFORCED']._serialized_end=
|
|
210
|
-
_globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_start=
|
|
211
|
-
_globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_end=
|
|
212
|
-
_globals['_CONSTRAINTNOTSUPPORTED']._serialized_start=
|
|
213
|
-
_globals['_CONSTRAINTNOTSUPPORTED']._serialized_end=
|
|
214
|
-
_globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_start=
|
|
215
|
-
_globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_end=
|
|
216
|
-
_globals['_TYPECODENOTFOUND']._serialized_start=
|
|
217
|
-
_globals['_TYPECODENOTFOUND']._serialized_end=
|
|
218
|
-
_globals['_TYPECODENOTFOUNDMSG']._serialized_start=
|
|
219
|
-
_globals['_TYPECODENOTFOUNDMSG']._serialized_end=
|
|
47
|
+
_globals['_ADAPTERNODEINFO']._serialized_end=807
|
|
48
|
+
_globals['_REFERENCEKEYMSG']._serialized_start=809
|
|
49
|
+
_globals['_REFERENCEKEYMSG']._serialized_end=880
|
|
50
|
+
_globals['_ADAPTERDEPRECATIONWARNING']._serialized_start=882
|
|
51
|
+
_globals['_ADAPTERDEPRECATIONWARNING']._serialized_end=945
|
|
52
|
+
_globals['_ADAPTERDEPRECATIONWARNINGMSG']._serialized_start=948
|
|
53
|
+
_globals['_ADAPTERDEPRECATIONWARNINGMSG']._serialized_end=1083
|
|
54
|
+
_globals['_COLLECTFRESHNESSRETURNSIGNATURE']._serialized_start=1085
|
|
55
|
+
_globals['_COLLECTFRESHNESSRETURNSIGNATURE']._serialized_end=1118
|
|
56
|
+
_globals['_COLLECTFRESHNESSRETURNSIGNATUREMSG']._serialized_start=1121
|
|
57
|
+
_globals['_COLLECTFRESHNESSRETURNSIGNATUREMSG']._serialized_end=1268
|
|
58
|
+
_globals['_ADAPTEREVENTDEBUG']._serialized_start=1271
|
|
59
|
+
_globals['_ADAPTEREVENTDEBUG']._serialized_end=1413
|
|
60
|
+
_globals['_ADAPTEREVENTDEBUGMSG']._serialized_start=1415
|
|
61
|
+
_globals['_ADAPTEREVENTDEBUGMSG']._serialized_end=1534
|
|
62
|
+
_globals['_ADAPTEREVENTINFO']._serialized_start=1537
|
|
63
|
+
_globals['_ADAPTEREVENTINFO']._serialized_end=1678
|
|
64
|
+
_globals['_ADAPTEREVENTINFOMSG']._serialized_start=1680
|
|
65
|
+
_globals['_ADAPTEREVENTINFOMSG']._serialized_end=1797
|
|
66
|
+
_globals['_ADAPTEREVENTWARNING']._serialized_start=1800
|
|
67
|
+
_globals['_ADAPTEREVENTWARNING']._serialized_end=1944
|
|
68
|
+
_globals['_ADAPTEREVENTWARNINGMSG']._serialized_start=1946
|
|
69
|
+
_globals['_ADAPTEREVENTWARNINGMSG']._serialized_end=2069
|
|
70
|
+
_globals['_ADAPTEREVENTERROR']._serialized_start=2072
|
|
71
|
+
_globals['_ADAPTEREVENTERROR']._serialized_end=2232
|
|
72
|
+
_globals['_ADAPTEREVENTERRORMSG']._serialized_start=2234
|
|
73
|
+
_globals['_ADAPTEREVENTERRORMSG']._serialized_end=2353
|
|
74
|
+
_globals['_NEWCONNECTION']._serialized_start=2355
|
|
75
|
+
_globals['_NEWCONNECTION']._serialized_end=2457
|
|
76
|
+
_globals['_NEWCONNECTIONMSG']._serialized_start=2459
|
|
77
|
+
_globals['_NEWCONNECTIONMSG']._serialized_end=2570
|
|
78
|
+
_globals['_CONNECTIONREUSED']._serialized_start=2572
|
|
79
|
+
_globals['_CONNECTIONREUSED']._serialized_end=2633
|
|
80
|
+
_globals['_CONNECTIONREUSEDMSG']._serialized_start=2635
|
|
81
|
+
_globals['_CONNECTIONREUSEDMSG']._serialized_end=2752
|
|
82
|
+
_globals['_CONNECTIONLEFTOPENINCLEANUP']._serialized_start=2754
|
|
83
|
+
_globals['_CONNECTIONLEFTOPENINCLEANUP']._serialized_end=2802
|
|
84
|
+
_globals['_CONNECTIONLEFTOPENINCLEANUPMSG']._serialized_start=2805
|
|
85
|
+
_globals['_CONNECTIONLEFTOPENINCLEANUPMSG']._serialized_end=2944
|
|
86
|
+
_globals['_CONNECTIONCLOSEDINCLEANUP']._serialized_start=2946
|
|
87
|
+
_globals['_CONNECTIONCLOSEDINCLEANUP']._serialized_end=2992
|
|
88
|
+
_globals['_CONNECTIONCLOSEDINCLEANUPMSG']._serialized_start=2995
|
|
89
|
+
_globals['_CONNECTIONCLOSEDINCLEANUPMSG']._serialized_end=3130
|
|
90
|
+
_globals['_ROLLBACKFAILED']._serialized_start=3132
|
|
91
|
+
_globals['_ROLLBACKFAILED']._serialized_end=3234
|
|
92
|
+
_globals['_ROLLBACKFAILEDMSG']._serialized_start=3236
|
|
93
|
+
_globals['_ROLLBACKFAILEDMSG']._serialized_end=3349
|
|
94
|
+
_globals['_CONNECTIONCLOSED']._serialized_start=3351
|
|
95
|
+
_globals['_CONNECTIONCLOSED']._serialized_end=3437
|
|
96
|
+
_globals['_CONNECTIONCLOSEDMSG']._serialized_start=3439
|
|
97
|
+
_globals['_CONNECTIONCLOSEDMSG']._serialized_end=3556
|
|
98
|
+
_globals['_CONNECTIONLEFTOPEN']._serialized_start=3558
|
|
99
|
+
_globals['_CONNECTIONLEFTOPEN']._serialized_end=3646
|
|
100
|
+
_globals['_CONNECTIONLEFTOPENMSG']._serialized_start=3648
|
|
101
|
+
_globals['_CONNECTIONLEFTOPENMSG']._serialized_end=3769
|
|
102
|
+
_globals['_ROLLBACK']._serialized_start=3771
|
|
103
|
+
_globals['_ROLLBACK']._serialized_end=3849
|
|
104
|
+
_globals['_ROLLBACKMSG']._serialized_start=3851
|
|
105
|
+
_globals['_ROLLBACKMSG']._serialized_end=3952
|
|
106
|
+
_globals['_CACHEMISS']._serialized_start=3954
|
|
107
|
+
_globals['_CACHEMISS']._serialized_end=4018
|
|
108
|
+
_globals['_CACHEMISSMSG']._serialized_start=4020
|
|
109
|
+
_globals['_CACHEMISSMSG']._serialized_end=4123
|
|
110
|
+
_globals['_LISTRELATIONS']._serialized_start=4125
|
|
111
|
+
_globals['_LISTRELATIONS']._serialized_end=4223
|
|
112
|
+
_globals['_LISTRELATIONSMSG']._serialized_start=4225
|
|
113
|
+
_globals['_LISTRELATIONSMSG']._serialized_end=4336
|
|
114
|
+
_globals['_CONNECTIONUSED']._serialized_start=4338
|
|
115
|
+
_globals['_CONNECTIONUSED']._serialized_end=4441
|
|
116
|
+
_globals['_CONNECTIONUSEDMSG']._serialized_start=4443
|
|
117
|
+
_globals['_CONNECTIONUSEDMSG']._serialized_end=4556
|
|
118
|
+
_globals['_SQLQUERY']._serialized_start=4558
|
|
119
|
+
_globals['_SQLQUERY']._serialized_end=4649
|
|
120
|
+
_globals['_SQLQUERYMSG']._serialized_start=4651
|
|
121
|
+
_globals['_SQLQUERYMSG']._serialized_end=4752
|
|
122
|
+
_globals['_SQLQUERYSTATUS']._serialized_start=4754
|
|
123
|
+
_globals['_SQLQUERYSTATUS']._serialized_end=4870
|
|
124
|
+
_globals['_SQLQUERYSTATUSMSG']._serialized_start=4872
|
|
125
|
+
_globals['_SQLQUERYSTATUSMSG']._serialized_end=4985
|
|
126
|
+
_globals['_SQLCOMMIT']._serialized_start=4987
|
|
127
|
+
_globals['_SQLCOMMIT']._serialized_end=5066
|
|
128
|
+
_globals['_SQLCOMMITMSG']._serialized_start=5068
|
|
129
|
+
_globals['_SQLCOMMITMSG']._serialized_end=5171
|
|
130
|
+
_globals['_COLTYPECHANGE']._serialized_start=5173
|
|
131
|
+
_globals['_COLTYPECHANGE']._serialized_end=5270
|
|
132
|
+
_globals['_COLTYPECHANGEMSG']._serialized_start=5272
|
|
133
|
+
_globals['_COLTYPECHANGEMSG']._serialized_end=5383
|
|
134
|
+
_globals['_SCHEMACREATION']._serialized_start=5385
|
|
135
|
+
_globals['_SCHEMACREATION']._serialized_end=5449
|
|
136
|
+
_globals['_SCHEMACREATIONMSG']._serialized_start=5451
|
|
137
|
+
_globals['_SCHEMACREATIONMSG']._serialized_end=5564
|
|
138
|
+
_globals['_SCHEMADROP']._serialized_start=5566
|
|
139
|
+
_globals['_SCHEMADROP']._serialized_end=5626
|
|
140
|
+
_globals['_SCHEMADROPMSG']._serialized_start=5628
|
|
141
|
+
_globals['_SCHEMADROPMSG']._serialized_end=5733
|
|
142
|
+
_globals['_CACHEACTION']._serialized_start=5736
|
|
143
|
+
_globals['_CACHEACTION']._serialized_end=5958
|
|
144
|
+
_globals['_CACHEACTIONMSG']._serialized_start=5960
|
|
145
|
+
_globals['_CACHEACTIONMSG']._serialized_end=6067
|
|
146
|
+
_globals['_CACHEDUMPGRAPH']._serialized_start=6070
|
|
147
|
+
_globals['_CACHEDUMPGRAPH']._serialized_end=6222
|
|
148
|
+
_globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_start=6179
|
|
149
|
+
_globals['_CACHEDUMPGRAPH_DUMPENTRY']._serialized_end=6222
|
|
150
|
+
_globals['_CACHEDUMPGRAPHMSG']._serialized_start=6224
|
|
151
|
+
_globals['_CACHEDUMPGRAPHMSG']._serialized_end=6337
|
|
152
|
+
_globals['_ADAPTERREGISTERED']._serialized_start=6339
|
|
153
|
+
_globals['_ADAPTERREGISTERED']._serialized_end=6405
|
|
154
|
+
_globals['_ADAPTERREGISTEREDMSG']._serialized_start=6407
|
|
155
|
+
_globals['_ADAPTERREGISTEREDMSG']._serialized_end=6526
|
|
156
|
+
_globals['_ADAPTERIMPORTERROR']._serialized_start=6528
|
|
157
|
+
_globals['_ADAPTERIMPORTERROR']._serialized_end=6561
|
|
158
|
+
_globals['_ADAPTERIMPORTERRORMSG']._serialized_start=6563
|
|
159
|
+
_globals['_ADAPTERIMPORTERRORMSG']._serialized_end=6684
|
|
160
|
+
_globals['_PLUGINLOADERROR']._serialized_start=6686
|
|
161
|
+
_globals['_PLUGINLOADERROR']._serialized_end=6721
|
|
162
|
+
_globals['_PLUGINLOADERRORMSG']._serialized_start=6723
|
|
163
|
+
_globals['_PLUGINLOADERRORMSG']._serialized_end=6838
|
|
164
|
+
_globals['_NEWCONNECTIONOPENING']._serialized_start=6840
|
|
165
|
+
_globals['_NEWCONNECTIONOPENING']._serialized_end=6937
|
|
166
|
+
_globals['_NEWCONNECTIONOPENINGMSG']._serialized_start=6939
|
|
167
|
+
_globals['_NEWCONNECTIONOPENINGMSG']._serialized_end=7064
|
|
168
|
+
_globals['_CODEEXECUTION']._serialized_start=7066
|
|
169
|
+
_globals['_CODEEXECUTION']._serialized_end=7122
|
|
170
|
+
_globals['_CODEEXECUTIONMSG']._serialized_start=7124
|
|
171
|
+
_globals['_CODEEXECUTIONMSG']._serialized_end=7235
|
|
172
|
+
_globals['_CODEEXECUTIONSTATUS']._serialized_start=7237
|
|
173
|
+
_globals['_CODEEXECUTIONSTATUS']._serialized_end=7291
|
|
174
|
+
_globals['_CODEEXECUTIONSTATUSMSG']._serialized_start=7293
|
|
175
|
+
_globals['_CODEEXECUTIONSTATUSMSG']._serialized_end=7416
|
|
176
|
+
_globals['_CATALOGGENERATIONERROR']._serialized_start=7418
|
|
177
|
+
_globals['_CATALOGGENERATIONERROR']._serialized_end=7455
|
|
178
|
+
_globals['_CATALOGGENERATIONERRORMSG']._serialized_start=7458
|
|
179
|
+
_globals['_CATALOGGENERATIONERRORMSG']._serialized_end=7587
|
|
180
|
+
_globals['_WRITECATALOGFAILURE']._serialized_start=7589
|
|
181
|
+
_globals['_WRITECATALOGFAILURE']._serialized_end=7634
|
|
182
|
+
_globals['_WRITECATALOGFAILUREMSG']._serialized_start=7636
|
|
183
|
+
_globals['_WRITECATALOGFAILUREMSG']._serialized_end=7759
|
|
184
|
+
_globals['_CATALOGWRITTEN']._serialized_start=7761
|
|
185
|
+
_globals['_CATALOGWRITTEN']._serialized_end=7791
|
|
186
|
+
_globals['_CATALOGWRITTENMSG']._serialized_start=7793
|
|
187
|
+
_globals['_CATALOGWRITTENMSG']._serialized_end=7906
|
|
188
|
+
_globals['_CANNOTGENERATEDOCS']._serialized_start=7908
|
|
189
|
+
_globals['_CANNOTGENERATEDOCS']._serialized_end=7928
|
|
190
|
+
_globals['_CANNOTGENERATEDOCSMSG']._serialized_start=7930
|
|
191
|
+
_globals['_CANNOTGENERATEDOCSMSG']._serialized_end=8051
|
|
192
|
+
_globals['_BUILDINGCATALOG']._serialized_start=8053
|
|
193
|
+
_globals['_BUILDINGCATALOG']._serialized_end=8070
|
|
194
|
+
_globals['_BUILDINGCATALOGMSG']._serialized_start=8072
|
|
195
|
+
_globals['_BUILDINGCATALOGMSG']._serialized_end=8187
|
|
196
|
+
_globals['_DATABASEERRORRUNNINGHOOK']._serialized_start=8189
|
|
197
|
+
_globals['_DATABASEERRORRUNNINGHOOK']._serialized_end=8234
|
|
198
|
+
_globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_start=8237
|
|
199
|
+
_globals['_DATABASEERRORRUNNINGHOOKMSG']._serialized_end=8370
|
|
200
|
+
_globals['_HOOKSRUNNING']._serialized_start=8372
|
|
201
|
+
_globals['_HOOKSRUNNING']._serialized_end=8424
|
|
202
|
+
_globals['_HOOKSRUNNINGMSG']._serialized_start=8426
|
|
203
|
+
_globals['_HOOKSRUNNINGMSG']._serialized_end=8535
|
|
204
|
+
_globals['_FINISHEDRUNNINGSTATS']._serialized_start=8537
|
|
205
|
+
_globals['_FINISHEDRUNNINGSTATS']._serialized_end=8621
|
|
206
|
+
_globals['_FINISHEDRUNNINGSTATSMSG']._serialized_start=8623
|
|
207
|
+
_globals['_FINISHEDRUNNINGSTATSMSG']._serialized_end=8748
|
|
208
|
+
_globals['_CONSTRAINTNOTENFORCED']._serialized_start=8750
|
|
209
|
+
_globals['_CONSTRAINTNOTENFORCED']._serialized_end=8810
|
|
210
|
+
_globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_start=8812
|
|
211
|
+
_globals['_CONSTRAINTNOTENFORCEDMSG']._serialized_end=8939
|
|
212
|
+
_globals['_CONSTRAINTNOTSUPPORTED']._serialized_start=8941
|
|
213
|
+
_globals['_CONSTRAINTNOTSUPPORTED']._serialized_end=9002
|
|
214
|
+
_globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_start=9005
|
|
215
|
+
_globals['_CONSTRAINTNOTSUPPORTEDMSG']._serialized_end=9134
|
|
216
|
+
_globals['_TYPECODENOTFOUND']._serialized_start=9136
|
|
217
|
+
_globals['_TYPECODENOTFOUND']._serialized_end=9173
|
|
218
|
+
_globals['_TYPECODENOTFOUNDMSG']._serialized_start=9175
|
|
219
|
+
_globals['_TYPECODENOTFOUNDMSG']._serialized_end=9292
|
|
220
220
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"""Implementations of record/replay classes for the base adapter implementation."""
|
|
2
|
+
|
|
3
|
+
import dataclasses
|
|
4
|
+
|
|
5
|
+
from typing import Optional, Tuple, Dict, Any, TYPE_CHECKING
|
|
6
|
+
|
|
7
|
+
from dbt.adapters.contracts.connection import AdapterResponse
|
|
8
|
+
from dbt.adapters.record.serialization import serialize_agate_table
|
|
9
|
+
from dbt_common.record import Record, Recorder
|
|
10
|
+
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
from agate import Table
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@dataclasses.dataclass
|
|
16
|
+
class AdapterExecuteParams:
|
|
17
|
+
thread_id: str
|
|
18
|
+
sql: str
|
|
19
|
+
auto_begin: bool = False
|
|
20
|
+
fetch: bool = False
|
|
21
|
+
limit: Optional[int] = None
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@dataclasses.dataclass
|
|
25
|
+
class AdapterExecuteResult:
|
|
26
|
+
return_val: Tuple[AdapterResponse, "Table"]
|
|
27
|
+
|
|
28
|
+
def _to_dict(self):
|
|
29
|
+
adapter_response = self.return_val[0]
|
|
30
|
+
table = self.return_val[1]
|
|
31
|
+
return {
|
|
32
|
+
"return_val": {
|
|
33
|
+
"adapter_response": adapter_response.to_dict(),
|
|
34
|
+
"table": serialize_agate_table(table),
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
def _from_dict(self, data: Dict[str, Any]):
|
|
39
|
+
# We will need this for replay, but it is not a priority at time of writing.
|
|
40
|
+
raise NotImplementedError()
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@Recorder.register_record_type
|
|
44
|
+
class AdapterExecuteRecord(Record):
|
|
45
|
+
"""Implements record/replay support for the BaseAdapter.execute() method."""
|
|
46
|
+
|
|
47
|
+
params_cls = AdapterExecuteParams
|
|
48
|
+
result_cls = AdapterExecuteResult
|
|
49
|
+
group = "Available"
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@dataclasses.dataclass
|
|
53
|
+
class AdapterTestSqlResult:
|
|
54
|
+
return_val: str
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
@dataclasses.dataclass
|
|
58
|
+
class AdapterTestSqlParams:
|
|
59
|
+
thread_id: str
|
|
60
|
+
sql: str
|
|
61
|
+
fetch: str
|
|
62
|
+
conn: Any
|
|
63
|
+
|
|
64
|
+
def _to_dict(self):
|
|
65
|
+
return {
|
|
66
|
+
"thread_id": self.thread_id,
|
|
67
|
+
"sql": self.sql,
|
|
68
|
+
"fetch": self.fetch,
|
|
69
|
+
"conn": "conn",
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
@Recorder.register_record_type
|
|
74
|
+
class AdapterTestSqlRecord(Record):
|
|
75
|
+
"""Implements record/replay support for the BaseAdapter.execute() method."""
|
|
76
|
+
|
|
77
|
+
params_cls = AdapterTestSqlParams
|
|
78
|
+
result_cls = AdapterTestSqlResult
|
|
79
|
+
group = "Available"
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
@dataclasses.dataclass
|
|
83
|
+
class AdapterGetPartitionsMetadataParams:
|
|
84
|
+
thread_id: str
|
|
85
|
+
table: str
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
@dataclasses.dataclass
|
|
89
|
+
class AdapterGetPartitionsMetadataResult:
|
|
90
|
+
return_val: tuple["Table"]
|
|
91
|
+
|
|
92
|
+
def _to_dict(self):
|
|
93
|
+
return list(map(serialize_agate_table, self.return_val))
|
|
94
|
+
|
|
95
|
+
def _from_dict(self, data: Dict[str, Any]):
|
|
96
|
+
# We will need this for replay, but it is not a priority at time of writing.
|
|
97
|
+
raise NotImplementedError()
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
@Recorder.register_record_type
|
|
101
|
+
class AdapterGetPartitionsMetadataRecord(Record):
|
|
102
|
+
"""Implements record/replay support for the BaseAdapter.get_partitions_metadata() method."""
|
|
103
|
+
|
|
104
|
+
params_cls = AdapterGetPartitionsMetadataParams
|
|
105
|
+
result_cls = AdapterGetPartitionsMetadataResult
|
|
106
|
+
group = "Available"
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
@dataclasses.dataclass
|
|
110
|
+
class AdapterConvertTypeParams:
|
|
111
|
+
thread_id: str
|
|
112
|
+
table: "Table"
|
|
113
|
+
col_idx: int
|
|
114
|
+
|
|
115
|
+
def _to_dict(self):
|
|
116
|
+
return {
|
|
117
|
+
"thread_id": self.thread_id,
|
|
118
|
+
"table": serialize_agate_table(self.table),
|
|
119
|
+
"col_idx": self.col_idx,
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
def _from_dict(self, data: Dict[str, Any]):
|
|
123
|
+
# We will need this for replay, but it is not a priority at time of writing.
|
|
124
|
+
raise NotImplementedError()
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@dataclasses.dataclass
|
|
128
|
+
class AdapterConvertTypeResult:
|
|
129
|
+
return_val: Optional[str]
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
@Recorder.register_record_type
|
|
133
|
+
class AdapterConvertTypeRecord(Record):
|
|
134
|
+
"""Implements record/replay support for the BaseAdapter.convert_type() method."""
|
|
135
|
+
|
|
136
|
+
params_cls = AdapterConvertTypeParams
|
|
137
|
+
result_cls = AdapterConvertTypeResult
|
|
138
|
+
group = "Available"
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
@dataclasses.dataclass
|
|
142
|
+
class AdapterStandardizeGrantsDictParams:
|
|
143
|
+
thread_id: str
|
|
144
|
+
table: "Table"
|
|
145
|
+
|
|
146
|
+
def _to_dict(self):
|
|
147
|
+
return {"thread_id": self.thread_id, "table": serialize_agate_table(self.table)}
|
|
148
|
+
|
|
149
|
+
def _from_dict(self, data: Dict[str, Any]):
|
|
150
|
+
# We will need this for replay, but it is not a priority at time of writing.
|
|
151
|
+
raise NotImplementedError()
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
@dataclasses.dataclass
|
|
155
|
+
class AdapterStandardizeGrantsDictResult:
|
|
156
|
+
return_val: dict
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
@Recorder.register_record_type
|
|
160
|
+
class AdapterStandardizeGrantsDictRecord(Record):
|
|
161
|
+
params_cls = AdapterStandardizeGrantsDictParams
|
|
162
|
+
result_cls = AdapterStandardizeGrantsDictResult
|
|
163
|
+
group = "Available"
|
dbt/adapters/record/handle.py
CHANGED
|
@@ -22,3 +22,19 @@ class RecordReplayHandle:
|
|
|
22
22
|
# actual database access should be performed in that mode.
|
|
23
23
|
cursor = None if self.native_handle is None else self.native_handle.cursor()
|
|
24
24
|
return RecordReplayCursor(cursor, self.connection)
|
|
25
|
+
|
|
26
|
+
def commit(self):
|
|
27
|
+
self.native_handle.commit()
|
|
28
|
+
|
|
29
|
+
def rollback(self):
|
|
30
|
+
self.native_handle.rollback()
|
|
31
|
+
|
|
32
|
+
def close(self):
|
|
33
|
+
self.native_handle.close()
|
|
34
|
+
|
|
35
|
+
def get_backend_pid(self):
|
|
36
|
+
return self.native_handle.get_backend_pid()
|
|
37
|
+
|
|
38
|
+
@property
|
|
39
|
+
def closed(self):
|
|
40
|
+
return self.native_handle.closed
|