query-cache-protobuf 2.4.0__tar.gz → 2.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/PKG-INFO +1 -1
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +13 -7
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +33 -0
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +54 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +13 -7
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +43 -0
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +64 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +13 -7
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +51 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +43 -0
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/query_cache/shared_pb2.py +64 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +21 -1
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -52
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -62
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -62
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/.gitignore +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/pyproject.toml +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
- {query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
|
@@ -15,17 +15,17 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?query_cache_protobuf/query_cache/services/explain_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\"\xe3\x01\n\x0b\x45xplainLine\x12\x0c\n\x04text\x18\x01 \x01(\t\x12<\n\x06marker\x18\x02 \x01(\x0e\x32\'.com.fivetran.query_cache.ExplainMarkerH\x00\x88\x01\x01\x12:\n\x05\x62\x61\x64ge\x18\x03 \x01(\x0e\x32&.com.fivetran.query_cache.ExplainBadgeH\x01\x88\x01\x01\x12\x37\n\x08\x63hildren\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLineB\t\n\x07_markerB\x08\n\x06_badge\"\xd1\x01\n\x13\x45xplainMessageEntry\x12\x1d\n\x15\x65xecution_decision_id\x18\x01 \x01(\t\x12?\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x03 \x01(\t\x12<\n\rexplain_lines\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine\";\n\x19GetExplainMessagesRequest\x12\x1e\n\x16\x65xecution_decision_ids\x18\x01 \x03(\t\"]\n\x1aGetExplainMessagesResponse\x12?\n\x08messages\x18\x01 \x03(\x0b\x32-.com.fivetran.query_cache.ExplainMessageEntry*D\n\rExplainMarker\x12\x12\n\x0e\x45M_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x08\n\x04INFO\x10\x03*\xd6\x01\n\x0c\x45xplainBadge\x12\x12\n\x0e\x45\x42_UNSPECIFIED\x10\x00\x12\t\n\x05\x46RESH\x10\x01\x12\x14\n\x10WITHIN_TOLERANCE\x10\x02\x12\x0c\n\x08OUTDATED\x10\x03\x12\x16\n\x12NODE_QUERY_CHANGED\x10\x04\x12\x18\n\x14NODE_QUERY_UNCHANGED\x10\x05\x12\x1a\n\x16UPSTREAM_QUERY_CHANGED\x10\x06\x12\x1c\n\x18UPSTREAM_QUERY_UNCHANGED\x10\x07\x12\x17\n\x13TARGET_TABLE_EXISTS\x10\x08\x32\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?query_cache_protobuf/query_cache/services/explain_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\"\xe3\x01\n\x0b\x45xplainLine\x12\x0c\n\x04text\x18\x01 \x01(\t\x12<\n\x06marker\x18\x02 \x01(\x0e\x32\'.com.fivetran.query_cache.ExplainMarkerH\x00\x88\x01\x01\x12:\n\x05\x62\x61\x64ge\x18\x03 \x01(\x0e\x32&.com.fivetran.query_cache.ExplainBadgeH\x01\x88\x01\x01\x12\x37\n\x08\x63hildren\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLineB\t\n\x07_markerB\x08\n\x06_badge\"\xd1\x01\n\x13\x45xplainMessageEntry\x12\x1d\n\x15\x65xecution_decision_id\x18\x01 \x01(\t\x12?\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x03 \x01(\t\x12<\n\rexplain_lines\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine\";\n\x19GetExplainMessagesRequest\x12\x1e\n\x16\x65xecution_decision_ids\x18\x01 \x03(\t\"]\n\x1aGetExplainMessagesResponse\x12?\n\x08messages\x18\x01 \x03(\x0b\x32-.com.fivetran.query_cache.ExplainMessageEntry\"<\n#GetUpstreamDependencyChangesRequest\x12\x15\n\rexecution_ids\x18\x01 \x03(\t\"w\n$GetUpstreamDependencyChangesResponse\x12O\n\x12\x64\x65pendency_changes\x18\x01 \x03(\x0b\x32\x33.com.fivetran.query_cache.UpstreamDependencyChanges\"g\n\x19UpstreamDependencyChanges\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12\x34\n\x05lines\x18\x02 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine*D\n\rExplainMarker\x12\x12\n\x0e\x45M_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x08\n\x04INFO\x10\x03*\xd6\x01\n\x0c\x45xplainBadge\x12\x12\n\x0e\x45\x42_UNSPECIFIED\x10\x00\x12\t\n\x05\x46RESH\x10\x01\x12\x14\n\x10WITHIN_TOLERANCE\x10\x02\x12\x0c\n\x08OUTDATED\x10\x03\x12\x16\n\x12NODE_QUERY_CHANGED\x10\x04\x12\x18\n\x14NODE_QUERY_UNCHANGED\x10\x05\x12\x1a\n\x16UPSTREAM_QUERY_CHANGED\x10\x06\x12\x1c\n\x18UPSTREAM_QUERY_UNCHANGED\x10\x07\x12\x17\n\x13TARGET_TABLE_EXISTS\x10\x08\x32\xaa\x02\n\x07\x45xplain\x12\x7f\n\x12GetExplainMessages\x12\x33.com.fivetran.query_cache.GetExplainMessagesRequest\x1a\x34.com.fivetran.query_cache.GetExplainMessagesResponse\x12\x9d\x01\n\x1cGetUpstreamDependencyChanges\x12=.com.fivetran.query_cache.GetUpstreamDependencyChangesRequest\x1a>.com.fivetran.query_cache.GetUpstreamDependencyChangesResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.explain_service_pb2', _globals)
|
|
23
23
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
|
-
_globals['_EXPLAINMARKER']._serialized_start=
|
|
26
|
-
_globals['_EXPLAINMARKER']._serialized_end=
|
|
27
|
-
_globals['_EXPLAINBADGE']._serialized_start=
|
|
28
|
-
_globals['_EXPLAINBADGE']._serialized_end=
|
|
25
|
+
_globals['_EXPLAINMARKER']._serialized_start=1026
|
|
26
|
+
_globals['_EXPLAINMARKER']._serialized_end=1094
|
|
27
|
+
_globals['_EXPLAINBADGE']._serialized_start=1097
|
|
28
|
+
_globals['_EXPLAINBADGE']._serialized_end=1311
|
|
29
29
|
_globals['_EXPLAINLINE']._serialized_start=141
|
|
30
30
|
_globals['_EXPLAINLINE']._serialized_end=368
|
|
31
31
|
_globals['_EXPLAINMESSAGEENTRY']._serialized_start=371
|
|
@@ -34,6 +34,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
34
34
|
_globals['_GETEXPLAINMESSAGESREQUEST']._serialized_end=641
|
|
35
35
|
_globals['_GETEXPLAINMESSAGESRESPONSE']._serialized_start=643
|
|
36
36
|
_globals['_GETEXPLAINMESSAGESRESPONSE']._serialized_end=736
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
37
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESREQUEST']._serialized_start=738
|
|
38
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESREQUEST']._serialized_end=798
|
|
39
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESRESPONSE']._serialized_start=800
|
|
40
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESRESPONSE']._serialized_end=919
|
|
41
|
+
_globals['_UPSTREAMDEPENDENCYCHANGES']._serialized_start=921
|
|
42
|
+
_globals['_UPSTREAMDEPENDENCYCHANGES']._serialized_end=1024
|
|
43
|
+
_globals['_EXPLAIN']._serialized_start=1314
|
|
44
|
+
_globals['_EXPLAIN']._serialized_end=1612
|
|
39
45
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,11 @@ class ExplainStub(object):
|
|
|
19
19
|
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesRequest.SerializeToString,
|
|
20
20
|
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.FromString,
|
|
21
21
|
)
|
|
22
|
+
self.GetUpstreamDependencyChanges = channel.unary_unary(
|
|
23
|
+
'/com.fivetran.query_cache.Explain/GetUpstreamDependencyChanges',
|
|
24
|
+
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.SerializeToString,
|
|
25
|
+
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.FromString,
|
|
26
|
+
)
|
|
22
27
|
|
|
23
28
|
|
|
24
29
|
class ExplainServicer(object):
|
|
@@ -30,6 +35,12 @@ class ExplainServicer(object):
|
|
|
30
35
|
context.set_details('Method not implemented!')
|
|
31
36
|
raise NotImplementedError('Method not implemented!')
|
|
32
37
|
|
|
38
|
+
def GetUpstreamDependencyChanges(self, request, context):
|
|
39
|
+
"""Missing associated documentation comment in .proto file."""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details('Method not implemented!')
|
|
42
|
+
raise NotImplementedError('Method not implemented!')
|
|
43
|
+
|
|
33
44
|
|
|
34
45
|
def add_ExplainServicer_to_server(servicer, server):
|
|
35
46
|
rpc_method_handlers = {
|
|
@@ -38,6 +49,11 @@ def add_ExplainServicer_to_server(servicer, server):
|
|
|
38
49
|
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesRequest.FromString,
|
|
39
50
|
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.SerializeToString,
|
|
40
51
|
),
|
|
52
|
+
'GetUpstreamDependencyChanges': grpc.unary_unary_rpc_method_handler(
|
|
53
|
+
servicer.GetUpstreamDependencyChanges,
|
|
54
|
+
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.FromString,
|
|
55
|
+
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.SerializeToString,
|
|
56
|
+
),
|
|
41
57
|
}
|
|
42
58
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
43
59
|
'com.fivetran.query_cache.Explain', rpc_method_handlers)
|
|
@@ -64,3 +80,20 @@ class Explain(object):
|
|
|
64
80
|
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.FromString,
|
|
65
81
|
options, channel_credentials,
|
|
66
82
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
83
|
+
|
|
84
|
+
@staticmethod
|
|
85
|
+
def GetUpstreamDependencyChanges(request,
|
|
86
|
+
target,
|
|
87
|
+
options=(),
|
|
88
|
+
channel_credentials=None,
|
|
89
|
+
call_credentials=None,
|
|
90
|
+
insecure=False,
|
|
91
|
+
compression=None,
|
|
92
|
+
wait_for_ready=None,
|
|
93
|
+
timeout=None,
|
|
94
|
+
metadata=None):
|
|
95
|
+
return grpc.experimental.unary_unary(request, target, '/com.fivetran.query_cache.Explain/GetUpstreamDependencyChanges',
|
|
96
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.SerializeToString,
|
|
97
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.FromString,
|
|
98
|
+
options, channel_credentials,
|
|
99
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: query_cache_protobuf/query_cache/shared.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"\xe5\x01\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12H\n\x04kind\x18\x03 \x01(\x0e\x32:.com.fivetran.query_cache.TableModifiedInfo.DependencyKind\">\n\x0e\x44\x65pendencyKind\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\x08\n\x04SEED\x10\x02\x12\t\n\x05MODEL\x10\x03\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._options = None
|
|
25
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
26
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._options = None
|
|
27
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
28
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_start=1600
|
|
29
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_end=1798
|
|
30
|
+
_globals['_REJECTIONREASON']._serialized_start=1801
|
|
31
|
+
_globals['_REJECTIONREASON']._serialized_end=2141
|
|
32
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2143
|
|
33
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2245
|
|
34
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2247
|
|
35
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2286
|
|
36
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_start=76
|
|
37
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_end=305
|
|
38
|
+
_globals['_TABLEMODIFIEDINFO_DEPENDENCYKIND']._serialized_start=219
|
|
39
|
+
_globals['_TABLEMODIFIEDINFO_DEPENDENCYKIND']._serialized_end=281
|
|
40
|
+
_globals['_COLUMNINFO']._serialized_start=307
|
|
41
|
+
_globals['_COLUMNINFO']._serialized_end=347
|
|
42
|
+
_globals['_TABLESCHEMA']._serialized_start=349
|
|
43
|
+
_globals['_TABLESCHEMA']._serialized_end=431
|
|
44
|
+
_globals['_QUERYDEPENDENCY']._serialized_start=433
|
|
45
|
+
_globals['_QUERYDEPENDENCY']._serialized_end=528
|
|
46
|
+
_globals['_EXPLAINEDDECISION']._serialized_start=531
|
|
47
|
+
_globals['_EXPLAINEDDECISION']._serialized_end=875
|
|
48
|
+
_globals['_NODEFUNCMAPPING']._serialized_start=878
|
|
49
|
+
_globals['_NODEFUNCMAPPING']._serialized_end=1027
|
|
50
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=978
|
|
51
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=1027
|
|
52
|
+
_globals['_DBTNODESTATE']._serialized_start=1030
|
|
53
|
+
_globals['_DBTNODESTATE']._serialized_end=1597
|
|
54
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,17 +25,17 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?query_cache_protobuf/query_cache/services/explain_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\"\xe3\x01\n\x0b\x45xplainLine\x12\x0c\n\x04text\x18\x01 \x01(\t\x12<\n\x06marker\x18\x02 \x01(\x0e\x32\'.com.fivetran.query_cache.ExplainMarkerH\x00\x88\x01\x01\x12:\n\x05\x62\x61\x64ge\x18\x03 \x01(\x0e\x32&.com.fivetran.query_cache.ExplainBadgeH\x01\x88\x01\x01\x12\x37\n\x08\x63hildren\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLineB\t\n\x07_markerB\x08\n\x06_badge\"\xd1\x01\n\x13\x45xplainMessageEntry\x12\x1d\n\x15\x65xecution_decision_id\x18\x01 \x01(\t\x12?\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x03 \x01(\t\x12<\n\rexplain_lines\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine\";\n\x19GetExplainMessagesRequest\x12\x1e\n\x16\x65xecution_decision_ids\x18\x01 \x03(\t\"]\n\x1aGetExplainMessagesResponse\x12?\n\x08messages\x18\x01 \x03(\x0b\x32-.com.fivetran.query_cache.ExplainMessageEntry*D\n\rExplainMarker\x12\x12\n\x0e\x45M_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x08\n\x04INFO\x10\x03*\xd6\x01\n\x0c\x45xplainBadge\x12\x12\n\x0e\x45\x42_UNSPECIFIED\x10\x00\x12\t\n\x05\x46RESH\x10\x01\x12\x14\n\x10WITHIN_TOLERANCE\x10\x02\x12\x0c\n\x08OUTDATED\x10\x03\x12\x16\n\x12NODE_QUERY_CHANGED\x10\x04\x12\x18\n\x14NODE_QUERY_UNCHANGED\x10\x05\x12\x1a\n\x16UPSTREAM_QUERY_CHANGED\x10\x06\x12\x1c\n\x18UPSTREAM_QUERY_UNCHANGED\x10\x07\x12\x17\n\x13TARGET_TABLE_EXISTS\x10\x08\x32\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?query_cache_protobuf/query_cache/services/explain_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\"\xe3\x01\n\x0b\x45xplainLine\x12\x0c\n\x04text\x18\x01 \x01(\t\x12<\n\x06marker\x18\x02 \x01(\x0e\x32\'.com.fivetran.query_cache.ExplainMarkerH\x00\x88\x01\x01\x12:\n\x05\x62\x61\x64ge\x18\x03 \x01(\x0e\x32&.com.fivetran.query_cache.ExplainBadgeH\x01\x88\x01\x01\x12\x37\n\x08\x63hildren\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLineB\t\n\x07_markerB\x08\n\x06_badge\"\xd1\x01\n\x13\x45xplainMessageEntry\x12\x1d\n\x15\x65xecution_decision_id\x18\x01 \x01(\t\x12?\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x03 \x01(\t\x12<\n\rexplain_lines\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine\";\n\x19GetExplainMessagesRequest\x12\x1e\n\x16\x65xecution_decision_ids\x18\x01 \x03(\t\"]\n\x1aGetExplainMessagesResponse\x12?\n\x08messages\x18\x01 \x03(\x0b\x32-.com.fivetran.query_cache.ExplainMessageEntry\"<\n#GetUpstreamDependencyChangesRequest\x12\x15\n\rexecution_ids\x18\x01 \x03(\t\"w\n$GetUpstreamDependencyChangesResponse\x12O\n\x12\x64\x65pendency_changes\x18\x01 \x03(\x0b\x32\x33.com.fivetran.query_cache.UpstreamDependencyChanges\"g\n\x19UpstreamDependencyChanges\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12\x34\n\x05lines\x18\x02 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine*D\n\rExplainMarker\x12\x12\n\x0e\x45M_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x08\n\x04INFO\x10\x03*\xd6\x01\n\x0c\x45xplainBadge\x12\x12\n\x0e\x45\x42_UNSPECIFIED\x10\x00\x12\t\n\x05\x46RESH\x10\x01\x12\x14\n\x10WITHIN_TOLERANCE\x10\x02\x12\x0c\n\x08OUTDATED\x10\x03\x12\x16\n\x12NODE_QUERY_CHANGED\x10\x04\x12\x18\n\x14NODE_QUERY_UNCHANGED\x10\x05\x12\x1a\n\x16UPSTREAM_QUERY_CHANGED\x10\x06\x12\x1c\n\x18UPSTREAM_QUERY_UNCHANGED\x10\x07\x12\x17\n\x13TARGET_TABLE_EXISTS\x10\x08\x32\xaa\x02\n\x07\x45xplain\x12\x7f\n\x12GetExplainMessages\x12\x33.com.fivetran.query_cache.GetExplainMessagesRequest\x1a\x34.com.fivetran.query_cache.GetExplainMessagesResponse\x12\x9d\x01\n\x1cGetUpstreamDependencyChanges\x12=.com.fivetran.query_cache.GetUpstreamDependencyChangesRequest\x1a>.com.fivetran.query_cache.GetUpstreamDependencyChangesResponseb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
32
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.explain_service_pb2', _globals)
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
DESCRIPTOR._loaded_options = None
|
|
35
|
-
_globals['_EXPLAINMARKER']._serialized_start=
|
|
36
|
-
_globals['_EXPLAINMARKER']._serialized_end=
|
|
37
|
-
_globals['_EXPLAINBADGE']._serialized_start=
|
|
38
|
-
_globals['_EXPLAINBADGE']._serialized_end=
|
|
35
|
+
_globals['_EXPLAINMARKER']._serialized_start=1026
|
|
36
|
+
_globals['_EXPLAINMARKER']._serialized_end=1094
|
|
37
|
+
_globals['_EXPLAINBADGE']._serialized_start=1097
|
|
38
|
+
_globals['_EXPLAINBADGE']._serialized_end=1311
|
|
39
39
|
_globals['_EXPLAINLINE']._serialized_start=141
|
|
40
40
|
_globals['_EXPLAINLINE']._serialized_end=368
|
|
41
41
|
_globals['_EXPLAINMESSAGEENTRY']._serialized_start=371
|
|
@@ -44,6 +44,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_GETEXPLAINMESSAGESREQUEST']._serialized_end=641
|
|
45
45
|
_globals['_GETEXPLAINMESSAGESRESPONSE']._serialized_start=643
|
|
46
46
|
_globals['_GETEXPLAINMESSAGESRESPONSE']._serialized_end=736
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
47
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESREQUEST']._serialized_start=738
|
|
48
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESREQUEST']._serialized_end=798
|
|
49
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESRESPONSE']._serialized_start=800
|
|
50
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESRESPONSE']._serialized_end=919
|
|
51
|
+
_globals['_UPSTREAMDEPENDENCYCHANGES']._serialized_start=921
|
|
52
|
+
_globals['_UPSTREAMDEPENDENCYCHANGES']._serialized_end=1024
|
|
53
|
+
_globals['_EXPLAIN']._serialized_start=1314
|
|
54
|
+
_globals['_EXPLAIN']._serialized_end=1612
|
|
49
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -39,6 +39,11 @@ class ExplainStub(object):
|
|
|
39
39
|
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesRequest.SerializeToString,
|
|
40
40
|
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.FromString,
|
|
41
41
|
_registered_method=True)
|
|
42
|
+
self.GetUpstreamDependencyChanges = channel.unary_unary(
|
|
43
|
+
'/com.fivetran.query_cache.Explain/GetUpstreamDependencyChanges',
|
|
44
|
+
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.SerializeToString,
|
|
45
|
+
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
42
47
|
|
|
43
48
|
|
|
44
49
|
class ExplainServicer(object):
|
|
@@ -50,6 +55,12 @@ class ExplainServicer(object):
|
|
|
50
55
|
context.set_details('Method not implemented!')
|
|
51
56
|
raise NotImplementedError('Method not implemented!')
|
|
52
57
|
|
|
58
|
+
def GetUpstreamDependencyChanges(self, request, context):
|
|
59
|
+
"""Missing associated documentation comment in .proto file."""
|
|
60
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
61
|
+
context.set_details('Method not implemented!')
|
|
62
|
+
raise NotImplementedError('Method not implemented!')
|
|
63
|
+
|
|
53
64
|
|
|
54
65
|
def add_ExplainServicer_to_server(servicer, server):
|
|
55
66
|
rpc_method_handlers = {
|
|
@@ -58,6 +69,11 @@ def add_ExplainServicer_to_server(servicer, server):
|
|
|
58
69
|
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesRequest.FromString,
|
|
59
70
|
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.SerializeToString,
|
|
60
71
|
),
|
|
72
|
+
'GetUpstreamDependencyChanges': grpc.unary_unary_rpc_method_handler(
|
|
73
|
+
servicer.GetUpstreamDependencyChanges,
|
|
74
|
+
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.FromString,
|
|
75
|
+
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.SerializeToString,
|
|
76
|
+
),
|
|
61
77
|
}
|
|
62
78
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
63
79
|
'com.fivetran.query_cache.Explain', rpc_method_handlers)
|
|
@@ -95,3 +111,30 @@ class Explain(object):
|
|
|
95
111
|
timeout,
|
|
96
112
|
metadata,
|
|
97
113
|
_registered_method=True)
|
|
114
|
+
|
|
115
|
+
@staticmethod
|
|
116
|
+
def GetUpstreamDependencyChanges(request,
|
|
117
|
+
target,
|
|
118
|
+
options=(),
|
|
119
|
+
channel_credentials=None,
|
|
120
|
+
call_credentials=None,
|
|
121
|
+
insecure=False,
|
|
122
|
+
compression=None,
|
|
123
|
+
wait_for_ready=None,
|
|
124
|
+
timeout=None,
|
|
125
|
+
metadata=None):
|
|
126
|
+
return grpc.experimental.unary_unary(
|
|
127
|
+
request,
|
|
128
|
+
target,
|
|
129
|
+
'/com.fivetran.query_cache.Explain/GetUpstreamDependencyChanges',
|
|
130
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.SerializeToString,
|
|
131
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.FromString,
|
|
132
|
+
options,
|
|
133
|
+
channel_credentials,
|
|
134
|
+
insecure,
|
|
135
|
+
call_credentials,
|
|
136
|
+
compression,
|
|
137
|
+
wait_for_ready,
|
|
138
|
+
timeout,
|
|
139
|
+
metadata,
|
|
140
|
+
_registered_method=True)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: query_cache_protobuf/query_cache/shared.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'query_cache_protobuf/query_cache/shared.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"\xe5\x01\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12H\n\x04kind\x18\x03 \x01(\x0e\x32:.com.fivetran.query_cache.TableModifiedInfo.DependencyKind\">\n\x0e\x44\x65pendencyKind\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\x08\n\x04SEED\x10\x02\x12\t\n\x05MODEL\x10\x03\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._loaded_options = None
|
|
35
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
36
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._loaded_options = None
|
|
37
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_start=1600
|
|
39
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_end=1798
|
|
40
|
+
_globals['_REJECTIONREASON']._serialized_start=1801
|
|
41
|
+
_globals['_REJECTIONREASON']._serialized_end=2141
|
|
42
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2143
|
|
43
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2245
|
|
44
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2247
|
|
45
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2286
|
|
46
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_start=76
|
|
47
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_end=305
|
|
48
|
+
_globals['_TABLEMODIFIEDINFO_DEPENDENCYKIND']._serialized_start=219
|
|
49
|
+
_globals['_TABLEMODIFIEDINFO_DEPENDENCYKIND']._serialized_end=281
|
|
50
|
+
_globals['_COLUMNINFO']._serialized_start=307
|
|
51
|
+
_globals['_COLUMNINFO']._serialized_end=347
|
|
52
|
+
_globals['_TABLESCHEMA']._serialized_start=349
|
|
53
|
+
_globals['_TABLESCHEMA']._serialized_end=431
|
|
54
|
+
_globals['_QUERYDEPENDENCY']._serialized_start=433
|
|
55
|
+
_globals['_QUERYDEPENDENCY']._serialized_end=528
|
|
56
|
+
_globals['_EXPLAINEDDECISION']._serialized_start=531
|
|
57
|
+
_globals['_EXPLAINEDDECISION']._serialized_end=875
|
|
58
|
+
_globals['_NODEFUNCMAPPING']._serialized_start=878
|
|
59
|
+
_globals['_NODEFUNCMAPPING']._serialized_end=1027
|
|
60
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=978
|
|
61
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=1027
|
|
62
|
+
_globals['_DBTNODESTATE']._serialized_start=1030
|
|
63
|
+
_globals['_DBTNODESTATE']._serialized_end=1597
|
|
64
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,17 +25,17 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?query_cache_protobuf/query_cache/services/explain_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\"\xe3\x01\n\x0b\x45xplainLine\x12\x0c\n\x04text\x18\x01 \x01(\t\x12<\n\x06marker\x18\x02 \x01(\x0e\x32\'.com.fivetran.query_cache.ExplainMarkerH\x00\x88\x01\x01\x12:\n\x05\x62\x61\x64ge\x18\x03 \x01(\x0e\x32&.com.fivetran.query_cache.ExplainBadgeH\x01\x88\x01\x01\x12\x37\n\x08\x63hildren\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLineB\t\n\x07_markerB\x08\n\x06_badge\"\xd1\x01\n\x13\x45xplainMessageEntry\x12\x1d\n\x15\x65xecution_decision_id\x18\x01 \x01(\t\x12?\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x03 \x01(\t\x12<\n\rexplain_lines\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine\";\n\x19GetExplainMessagesRequest\x12\x1e\n\x16\x65xecution_decision_ids\x18\x01 \x03(\t\"]\n\x1aGetExplainMessagesResponse\x12?\n\x08messages\x18\x01 \x03(\x0b\x32-.com.fivetran.query_cache.ExplainMessageEntry*D\n\rExplainMarker\x12\x12\n\x0e\x45M_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x08\n\x04INFO\x10\x03*\xd6\x01\n\x0c\x45xplainBadge\x12\x12\n\x0e\x45\x42_UNSPECIFIED\x10\x00\x12\t\n\x05\x46RESH\x10\x01\x12\x14\n\x10WITHIN_TOLERANCE\x10\x02\x12\x0c\n\x08OUTDATED\x10\x03\x12\x16\n\x12NODE_QUERY_CHANGED\x10\x04\x12\x18\n\x14NODE_QUERY_UNCHANGED\x10\x05\x12\x1a\n\x16UPSTREAM_QUERY_CHANGED\x10\x06\x12\x1c\n\x18UPSTREAM_QUERY_UNCHANGED\x10\x07\x12\x17\n\x13TARGET_TABLE_EXISTS\x10\x08\x32\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?query_cache_protobuf/query_cache/services/explain_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\"\xe3\x01\n\x0b\x45xplainLine\x12\x0c\n\x04text\x18\x01 \x01(\t\x12<\n\x06marker\x18\x02 \x01(\x0e\x32\'.com.fivetran.query_cache.ExplainMarkerH\x00\x88\x01\x01\x12:\n\x05\x62\x61\x64ge\x18\x03 \x01(\x0e\x32&.com.fivetran.query_cache.ExplainBadgeH\x01\x88\x01\x01\x12\x37\n\x08\x63hildren\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLineB\t\n\x07_markerB\x08\n\x06_badge\"\xd1\x01\n\x13\x45xplainMessageEntry\x12\x1d\n\x15\x65xecution_decision_id\x18\x01 \x01(\t\x12?\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x03 \x01(\t\x12<\n\rexplain_lines\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine\";\n\x19GetExplainMessagesRequest\x12\x1e\n\x16\x65xecution_decision_ids\x18\x01 \x03(\t\"]\n\x1aGetExplainMessagesResponse\x12?\n\x08messages\x18\x01 \x03(\x0b\x32-.com.fivetran.query_cache.ExplainMessageEntry\"<\n#GetUpstreamDependencyChangesRequest\x12\x15\n\rexecution_ids\x18\x01 \x03(\t\"w\n$GetUpstreamDependencyChangesResponse\x12O\n\x12\x64\x65pendency_changes\x18\x01 \x03(\x0b\x32\x33.com.fivetran.query_cache.UpstreamDependencyChanges\"g\n\x19UpstreamDependencyChanges\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12\x34\n\x05lines\x18\x02 \x03(\x0b\x32%.com.fivetran.query_cache.ExplainLine*D\n\rExplainMarker\x12\x12\n\x0e\x45M_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x12\x08\n\x04INFO\x10\x03*\xd6\x01\n\x0c\x45xplainBadge\x12\x12\n\x0e\x45\x42_UNSPECIFIED\x10\x00\x12\t\n\x05\x46RESH\x10\x01\x12\x14\n\x10WITHIN_TOLERANCE\x10\x02\x12\x0c\n\x08OUTDATED\x10\x03\x12\x16\n\x12NODE_QUERY_CHANGED\x10\x04\x12\x18\n\x14NODE_QUERY_UNCHANGED\x10\x05\x12\x1a\n\x16UPSTREAM_QUERY_CHANGED\x10\x06\x12\x1c\n\x18UPSTREAM_QUERY_UNCHANGED\x10\x07\x12\x17\n\x13TARGET_TABLE_EXISTS\x10\x08\x32\xaa\x02\n\x07\x45xplain\x12\x7f\n\x12GetExplainMessages\x12\x33.com.fivetran.query_cache.GetExplainMessagesRequest\x1a\x34.com.fivetran.query_cache.GetExplainMessagesResponse\x12\x9d\x01\n\x1cGetUpstreamDependencyChanges\x12=.com.fivetran.query_cache.GetUpstreamDependencyChangesRequest\x1a>.com.fivetran.query_cache.GetUpstreamDependencyChangesResponseb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
32
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.explain_service_pb2', _globals)
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
DESCRIPTOR._loaded_options = None
|
|
35
|
-
_globals['_EXPLAINMARKER']._serialized_start=
|
|
36
|
-
_globals['_EXPLAINMARKER']._serialized_end=
|
|
37
|
-
_globals['_EXPLAINBADGE']._serialized_start=
|
|
38
|
-
_globals['_EXPLAINBADGE']._serialized_end=
|
|
35
|
+
_globals['_EXPLAINMARKER']._serialized_start=1026
|
|
36
|
+
_globals['_EXPLAINMARKER']._serialized_end=1094
|
|
37
|
+
_globals['_EXPLAINBADGE']._serialized_start=1097
|
|
38
|
+
_globals['_EXPLAINBADGE']._serialized_end=1311
|
|
39
39
|
_globals['_EXPLAINLINE']._serialized_start=141
|
|
40
40
|
_globals['_EXPLAINLINE']._serialized_end=368
|
|
41
41
|
_globals['_EXPLAINMESSAGEENTRY']._serialized_start=371
|
|
@@ -44,6 +44,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
44
|
_globals['_GETEXPLAINMESSAGESREQUEST']._serialized_end=641
|
|
45
45
|
_globals['_GETEXPLAINMESSAGESRESPONSE']._serialized_start=643
|
|
46
46
|
_globals['_GETEXPLAINMESSAGESRESPONSE']._serialized_end=736
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
47
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESREQUEST']._serialized_start=738
|
|
48
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESREQUEST']._serialized_end=798
|
|
49
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESRESPONSE']._serialized_start=800
|
|
50
|
+
_globals['_GETUPSTREAMDEPENDENCYCHANGESRESPONSE']._serialized_end=919
|
|
51
|
+
_globals['_UPSTREAMDEPENDENCYCHANGES']._serialized_start=921
|
|
52
|
+
_globals['_UPSTREAMDEPENDENCYCHANGES']._serialized_end=1024
|
|
53
|
+
_globals['_EXPLAIN']._serialized_start=1314
|
|
54
|
+
_globals['_EXPLAIN']._serialized_end=1612
|
|
49
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -154,3 +154,54 @@ class GetExplainMessagesResponse(google.protobuf.message.Message):
|
|
|
154
154
|
def ClearField(self, field_name: typing.Literal["messages", b"messages"]) -> None: ...
|
|
155
155
|
|
|
156
156
|
global___GetExplainMessagesResponse = GetExplainMessagesResponse
|
|
157
|
+
|
|
158
|
+
@typing.final
|
|
159
|
+
class GetUpstreamDependencyChangesRequest(google.protobuf.message.Message):
|
|
160
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
161
|
+
|
|
162
|
+
EXECUTION_IDS_FIELD_NUMBER: builtins.int
|
|
163
|
+
@property
|
|
164
|
+
def execution_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
165
|
+
def __init__(
|
|
166
|
+
self,
|
|
167
|
+
*,
|
|
168
|
+
execution_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
169
|
+
) -> None: ...
|
|
170
|
+
def ClearField(self, field_name: typing.Literal["execution_ids", b"execution_ids"]) -> None: ...
|
|
171
|
+
|
|
172
|
+
global___GetUpstreamDependencyChangesRequest = GetUpstreamDependencyChangesRequest
|
|
173
|
+
|
|
174
|
+
@typing.final
|
|
175
|
+
class GetUpstreamDependencyChangesResponse(google.protobuf.message.Message):
|
|
176
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
177
|
+
|
|
178
|
+
DEPENDENCY_CHANGES_FIELD_NUMBER: builtins.int
|
|
179
|
+
@property
|
|
180
|
+
def dependency_changes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___UpstreamDependencyChanges]: ...
|
|
181
|
+
def __init__(
|
|
182
|
+
self,
|
|
183
|
+
*,
|
|
184
|
+
dependency_changes: collections.abc.Iterable[global___UpstreamDependencyChanges] | None = ...,
|
|
185
|
+
) -> None: ...
|
|
186
|
+
def ClearField(self, field_name: typing.Literal["dependency_changes", b"dependency_changes"]) -> None: ...
|
|
187
|
+
|
|
188
|
+
global___GetUpstreamDependencyChangesResponse = GetUpstreamDependencyChangesResponse
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class UpstreamDependencyChanges(google.protobuf.message.Message):
|
|
192
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
193
|
+
|
|
194
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
195
|
+
LINES_FIELD_NUMBER: builtins.int
|
|
196
|
+
execution_id: builtins.str
|
|
197
|
+
@property
|
|
198
|
+
def lines(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExplainLine]: ...
|
|
199
|
+
def __init__(
|
|
200
|
+
self,
|
|
201
|
+
*,
|
|
202
|
+
execution_id: builtins.str = ...,
|
|
203
|
+
lines: collections.abc.Iterable[global___ExplainLine] | None = ...,
|
|
204
|
+
) -> None: ...
|
|
205
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id", "lines", b"lines"]) -> None: ...
|
|
206
|
+
|
|
207
|
+
global___UpstreamDependencyChanges = UpstreamDependencyChanges
|
|
@@ -39,6 +39,11 @@ class ExplainStub(object):
|
|
|
39
39
|
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesRequest.SerializeToString,
|
|
40
40
|
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.FromString,
|
|
41
41
|
_registered_method=True)
|
|
42
|
+
self.GetUpstreamDependencyChanges = channel.unary_unary(
|
|
43
|
+
'/com.fivetran.query_cache.Explain/GetUpstreamDependencyChanges',
|
|
44
|
+
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.SerializeToString,
|
|
45
|
+
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
42
47
|
|
|
43
48
|
|
|
44
49
|
class ExplainServicer(object):
|
|
@@ -50,6 +55,12 @@ class ExplainServicer(object):
|
|
|
50
55
|
context.set_details('Method not implemented!')
|
|
51
56
|
raise NotImplementedError('Method not implemented!')
|
|
52
57
|
|
|
58
|
+
def GetUpstreamDependencyChanges(self, request, context):
|
|
59
|
+
"""Missing associated documentation comment in .proto file."""
|
|
60
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
61
|
+
context.set_details('Method not implemented!')
|
|
62
|
+
raise NotImplementedError('Method not implemented!')
|
|
63
|
+
|
|
53
64
|
|
|
54
65
|
def add_ExplainServicer_to_server(servicer, server):
|
|
55
66
|
rpc_method_handlers = {
|
|
@@ -58,6 +69,11 @@ def add_ExplainServicer_to_server(servicer, server):
|
|
|
58
69
|
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesRequest.FromString,
|
|
59
70
|
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetExplainMessagesResponse.SerializeToString,
|
|
60
71
|
),
|
|
72
|
+
'GetUpstreamDependencyChanges': grpc.unary_unary_rpc_method_handler(
|
|
73
|
+
servicer.GetUpstreamDependencyChanges,
|
|
74
|
+
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.FromString,
|
|
75
|
+
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.SerializeToString,
|
|
76
|
+
),
|
|
61
77
|
}
|
|
62
78
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
63
79
|
'com.fivetran.query_cache.Explain', rpc_method_handlers)
|
|
@@ -95,3 +111,30 @@ class Explain(object):
|
|
|
95
111
|
timeout,
|
|
96
112
|
metadata,
|
|
97
113
|
_registered_method=True)
|
|
114
|
+
|
|
115
|
+
@staticmethod
|
|
116
|
+
def GetUpstreamDependencyChanges(request,
|
|
117
|
+
target,
|
|
118
|
+
options=(),
|
|
119
|
+
channel_credentials=None,
|
|
120
|
+
call_credentials=None,
|
|
121
|
+
insecure=False,
|
|
122
|
+
compression=None,
|
|
123
|
+
wait_for_ready=None,
|
|
124
|
+
timeout=None,
|
|
125
|
+
metadata=None):
|
|
126
|
+
return grpc.experimental.unary_unary(
|
|
127
|
+
request,
|
|
128
|
+
target,
|
|
129
|
+
'/com.fivetran.query_cache.Explain/GetUpstreamDependencyChanges',
|
|
130
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesRequest.SerializeToString,
|
|
131
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_explain__service__pb2.GetUpstreamDependencyChangesResponse.FromString,
|
|
132
|
+
options,
|
|
133
|
+
channel_credentials,
|
|
134
|
+
insecure,
|
|
135
|
+
call_credentials,
|
|
136
|
+
compression,
|
|
137
|
+
wait_for_ready,
|
|
138
|
+
timeout,
|
|
139
|
+
metadata,
|
|
140
|
+
_registered_method=True)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: query_cache_protobuf/query_cache/shared.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'query_cache_protobuf/query_cache/shared.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"\xe5\x01\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12H\n\x04kind\x18\x03 \x01(\x0e\x32:.com.fivetran.query_cache.TableModifiedInfo.DependencyKind\">\n\x0e\x44\x65pendencyKind\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\x08\n\x04SEED\x10\x02\x12\t\n\x05MODEL\x10\x03\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._loaded_options = None
|
|
35
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
36
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._loaded_options = None
|
|
37
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_start=1600
|
|
39
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_end=1798
|
|
40
|
+
_globals['_REJECTIONREASON']._serialized_start=1801
|
|
41
|
+
_globals['_REJECTIONREASON']._serialized_end=2141
|
|
42
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2143
|
|
43
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2245
|
|
44
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2247
|
|
45
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2286
|
|
46
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_start=76
|
|
47
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_end=305
|
|
48
|
+
_globals['_TABLEMODIFIEDINFO_DEPENDENCYKIND']._serialized_start=219
|
|
49
|
+
_globals['_TABLEMODIFIEDINFO_DEPENDENCYKIND']._serialized_end=281
|
|
50
|
+
_globals['_COLUMNINFO']._serialized_start=307
|
|
51
|
+
_globals['_COLUMNINFO']._serialized_end=347
|
|
52
|
+
_globals['_TABLESCHEMA']._serialized_start=349
|
|
53
|
+
_globals['_TABLESCHEMA']._serialized_end=431
|
|
54
|
+
_globals['_QUERYDEPENDENCY']._serialized_start=433
|
|
55
|
+
_globals['_QUERYDEPENDENCY']._serialized_end=528
|
|
56
|
+
_globals['_EXPLAINEDDECISION']._serialized_start=531
|
|
57
|
+
_globals['_EXPLAINEDDECISION']._serialized_end=875
|
|
58
|
+
_globals['_NODEFUNCMAPPING']._serialized_start=878
|
|
59
|
+
_globals['_NODEFUNCMAPPING']._serialized_end=1027
|
|
60
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=978
|
|
61
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=1027
|
|
62
|
+
_globals['_DBTNODESTATE']._serialized_start=1030
|
|
63
|
+
_globals['_DBTNODESTATE']._serialized_end=1597
|
|
64
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -125,18 +125,38 @@ global___StaleUpstreamPolicy = StaleUpstreamPolicy
|
|
|
125
125
|
class TableModifiedInfo(google.protobuf.message.Message):
|
|
126
126
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
127
127
|
|
|
128
|
+
class _DependencyKind:
|
|
129
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
130
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
131
|
+
|
|
132
|
+
class _DependencyKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TableModifiedInfo._DependencyKind.ValueType], builtins.type):
|
|
133
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
134
|
+
UNKNOWN: TableModifiedInfo._DependencyKind.ValueType # 0
|
|
135
|
+
SOURCE: TableModifiedInfo._DependencyKind.ValueType # 1
|
|
136
|
+
SEED: TableModifiedInfo._DependencyKind.ValueType # 2
|
|
137
|
+
MODEL: TableModifiedInfo._DependencyKind.ValueType # 3
|
|
138
|
+
|
|
139
|
+
class DependencyKind(_DependencyKind, metaclass=_DependencyKindEnumTypeWrapper): ...
|
|
140
|
+
UNKNOWN: TableModifiedInfo.DependencyKind.ValueType # 0
|
|
141
|
+
SOURCE: TableModifiedInfo.DependencyKind.ValueType # 1
|
|
142
|
+
SEED: TableModifiedInfo.DependencyKind.ValueType # 2
|
|
143
|
+
MODEL: TableModifiedInfo.DependencyKind.ValueType # 3
|
|
144
|
+
|
|
128
145
|
NAME_FIELD_NUMBER: builtins.int
|
|
129
146
|
LAST_MODIFIED_EPOCH_FIELD_NUMBER: builtins.int
|
|
147
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
130
148
|
name: builtins.str
|
|
131
149
|
last_modified_epoch: builtins.int
|
|
150
|
+
kind: global___TableModifiedInfo.DependencyKind.ValueType
|
|
132
151
|
def __init__(
|
|
133
152
|
self,
|
|
134
153
|
*,
|
|
135
154
|
name: builtins.str = ...,
|
|
136
155
|
last_modified_epoch: builtins.int | None = ...,
|
|
156
|
+
kind: global___TableModifiedInfo.DependencyKind.ValueType = ...,
|
|
137
157
|
) -> None: ...
|
|
138
158
|
def HasField(self, field_name: typing.Literal["_last_modified_epoch", b"_last_modified_epoch", "last_modified_epoch", b"last_modified_epoch"]) -> builtins.bool: ...
|
|
139
|
-
def ClearField(self, field_name: typing.Literal["_last_modified_epoch", b"_last_modified_epoch", "last_modified_epoch", b"last_modified_epoch", "name", b"name"]) -> None: ...
|
|
159
|
+
def ClearField(self, field_name: typing.Literal["_last_modified_epoch", b"_last_modified_epoch", "kind", b"kind", "last_modified_epoch", b"last_modified_epoch", "name", b"name"]) -> None: ...
|
|
140
160
|
def WhichOneof(self, oneof_group: typing.Literal["_last_modified_epoch", b"_last_modified_epoch"]) -> typing.Literal["last_modified_epoch"] | None: ...
|
|
141
161
|
|
|
142
162
|
global___TableModifiedInfo = TableModifiedInfo
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: query_cache_protobuf/query_cache/shared.proto
|
|
4
|
-
# Protobuf Python Version: 4.25.1
|
|
5
|
-
"""Generated protocol buffer code."""
|
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
|
7
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
-
from google.protobuf.internal import builder as _builder
|
|
10
|
-
# @@protoc_insertion_point(imports)
|
|
11
|
-
|
|
12
|
-
_sym_db = _symbol_database.Default()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"[\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
18
|
-
|
|
19
|
-
_globals = globals()
|
|
20
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
-
DESCRIPTOR._options = None
|
|
24
|
-
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._options = None
|
|
25
|
-
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
26
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._options = None
|
|
27
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
28
|
-
_globals['_MODELEXECUTIONTYPE']._serialized_start=1461
|
|
29
|
-
_globals['_MODELEXECUTIONTYPE']._serialized_end=1659
|
|
30
|
-
_globals['_REJECTIONREASON']._serialized_start=1662
|
|
31
|
-
_globals['_REJECTIONREASON']._serialized_end=2002
|
|
32
|
-
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2004
|
|
33
|
-
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2106
|
|
34
|
-
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2108
|
|
35
|
-
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2147
|
|
36
|
-
_globals['_TABLEMODIFIEDINFO']._serialized_start=75
|
|
37
|
-
_globals['_TABLEMODIFIEDINFO']._serialized_end=166
|
|
38
|
-
_globals['_COLUMNINFO']._serialized_start=168
|
|
39
|
-
_globals['_COLUMNINFO']._serialized_end=208
|
|
40
|
-
_globals['_TABLESCHEMA']._serialized_start=210
|
|
41
|
-
_globals['_TABLESCHEMA']._serialized_end=292
|
|
42
|
-
_globals['_QUERYDEPENDENCY']._serialized_start=294
|
|
43
|
-
_globals['_QUERYDEPENDENCY']._serialized_end=389
|
|
44
|
-
_globals['_EXPLAINEDDECISION']._serialized_start=392
|
|
45
|
-
_globals['_EXPLAINEDDECISION']._serialized_end=736
|
|
46
|
-
_globals['_NODEFUNCMAPPING']._serialized_start=739
|
|
47
|
-
_globals['_NODEFUNCMAPPING']._serialized_end=888
|
|
48
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=839
|
|
49
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=888
|
|
50
|
-
_globals['_DBTNODESTATE']._serialized_start=891
|
|
51
|
-
_globals['_DBTNODESTATE']._serialized_end=1458
|
|
52
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: query_cache_protobuf/query_cache/shared.proto
|
|
5
|
-
# Protobuf Python Version: 5.29.0
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
29,
|
|
16
|
-
0,
|
|
17
|
-
'',
|
|
18
|
-
'query_cache_protobuf/query_cache/shared.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"[\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
28
|
-
|
|
29
|
-
_globals = globals()
|
|
30
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
32
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
-
DESCRIPTOR._loaded_options = None
|
|
34
|
-
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._loaded_options = None
|
|
35
|
-
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
36
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._loaded_options = None
|
|
37
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['_MODELEXECUTIONTYPE']._serialized_start=1461
|
|
39
|
-
_globals['_MODELEXECUTIONTYPE']._serialized_end=1659
|
|
40
|
-
_globals['_REJECTIONREASON']._serialized_start=1662
|
|
41
|
-
_globals['_REJECTIONREASON']._serialized_end=2002
|
|
42
|
-
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2004
|
|
43
|
-
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2106
|
|
44
|
-
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2108
|
|
45
|
-
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2147
|
|
46
|
-
_globals['_TABLEMODIFIEDINFO']._serialized_start=75
|
|
47
|
-
_globals['_TABLEMODIFIEDINFO']._serialized_end=166
|
|
48
|
-
_globals['_COLUMNINFO']._serialized_start=168
|
|
49
|
-
_globals['_COLUMNINFO']._serialized_end=208
|
|
50
|
-
_globals['_TABLESCHEMA']._serialized_start=210
|
|
51
|
-
_globals['_TABLESCHEMA']._serialized_end=292
|
|
52
|
-
_globals['_QUERYDEPENDENCY']._serialized_start=294
|
|
53
|
-
_globals['_QUERYDEPENDENCY']._serialized_end=389
|
|
54
|
-
_globals['_EXPLAINEDDECISION']._serialized_start=392
|
|
55
|
-
_globals['_EXPLAINEDDECISION']._serialized_end=736
|
|
56
|
-
_globals['_NODEFUNCMAPPING']._serialized_start=739
|
|
57
|
-
_globals['_NODEFUNCMAPPING']._serialized_end=888
|
|
58
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=839
|
|
59
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=888
|
|
60
|
-
_globals['_DBTNODESTATE']._serialized_start=891
|
|
61
|
-
_globals['_DBTNODESTATE']._serialized_end=1458
|
|
62
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: query_cache_protobuf/query_cache/shared.proto
|
|
5
|
-
# Protobuf Python Version: 6.31.1
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
6,
|
|
15
|
-
31,
|
|
16
|
-
1,
|
|
17
|
-
'',
|
|
18
|
-
'query_cache_protobuf/query_cache/shared.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"[\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
28
|
-
|
|
29
|
-
_globals = globals()
|
|
30
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
32
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
-
DESCRIPTOR._loaded_options = None
|
|
34
|
-
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._loaded_options = None
|
|
35
|
-
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
36
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._loaded_options = None
|
|
37
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['_MODELEXECUTIONTYPE']._serialized_start=1461
|
|
39
|
-
_globals['_MODELEXECUTIONTYPE']._serialized_end=1659
|
|
40
|
-
_globals['_REJECTIONREASON']._serialized_start=1662
|
|
41
|
-
_globals['_REJECTIONREASON']._serialized_end=2002
|
|
42
|
-
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2004
|
|
43
|
-
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2106
|
|
44
|
-
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2108
|
|
45
|
-
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2147
|
|
46
|
-
_globals['_TABLEMODIFIEDINFO']._serialized_start=75
|
|
47
|
-
_globals['_TABLEMODIFIEDINFO']._serialized_end=166
|
|
48
|
-
_globals['_COLUMNINFO']._serialized_start=168
|
|
49
|
-
_globals['_COLUMNINFO']._serialized_end=208
|
|
50
|
-
_globals['_TABLESCHEMA']._serialized_start=210
|
|
51
|
-
_globals['_TABLESCHEMA']._serialized_end=292
|
|
52
|
-
_globals['_QUERYDEPENDENCY']._serialized_start=294
|
|
53
|
-
_globals['_QUERYDEPENDENCY']._serialized_end=389
|
|
54
|
-
_globals['_EXPLAINEDDECISION']._serialized_start=392
|
|
55
|
-
_globals['_EXPLAINEDDECISION']._serialized_end=736
|
|
56
|
-
_globals['_NODEFUNCMAPPING']._serialized_start=739
|
|
57
|
-
_globals['_NODEFUNCMAPPING']._serialized_end=888
|
|
58
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=839
|
|
59
|
-
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=888
|
|
60
|
-
_globals['_DBTNODESTATE']._serialized_start=891
|
|
61
|
-
_globals['_DBTNODESTATE']._serialized_end=1458
|
|
62
|
-
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
{query_cache_protobuf-2.4.0 → query_cache_protobuf-2.6.0}/src/query_cache_protobuf/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|