query-cache-protobuf 2.3.1__tar.gz → 2.5.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.3.1 → query_cache_protobuf-2.5.0}/PKG-INFO +1 -1
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +13 -7
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +33 -0
- query_cache_protobuf-2.5.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +71 -0
- query_cache_protobuf-2.5.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +52 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +13 -7
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +43 -0
- query_cache_protobuf-2.5.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- query_cache_protobuf-2.5.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +62 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +13 -7
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +51 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +43 -0
- query_cache_protobuf-2.5.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +8 -1
- query_cache_protobuf-2.5.0/src/query_cache_protobuf/query_cache/shared_pb2.py +62 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +39 -0
- query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -71
- query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -48
- query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -58
- query_cache_protobuf-2.3.1/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- query_cache_protobuf-2.3.1/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -58
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/.gitignore +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/pyproject.toml +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.5.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,71 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: query_cache_protobuf/query_cache/services/sql_service.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
|
+
from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
|
|
16
|
+
from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
|
|
17
|
+
from query_cache_protobuf.query_cache.services import clone_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;query_cache_protobuf/query_cache/services/sql_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\x1a=query_cache_protobuf/query_cache/services/clone_service.proto\"\xb5\x0b\n\x18SubmitEnrichedSQLRequest\x12\x19\n\x0ctarget_table\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x44\n\x0e\x65xecution_type\x18\x04 \x01(\x0e\x32,.com.fivetran.query_cache.ModelExecutionType\x12\x0b\n\x03sql\x18\x05 \x01(\t\x12;\n\x06tables\x18\x06 \x03(\x0b\x32+.com.fivetran.query_cache.TableModifiedInfo\x12\x45\n\x12query_dependencies\x18\x07 \x03(\x0b\x32).com.fivetran.query_cache.QueryDependency\x12_\n\x0fsemantic_extras\x18\x08 \x03(\x0b\x32\x46.com.fivetran.query_cache.SubmitEnrichedSQLRequest.SemanticExtrasEntry\x12#\n\x1b\x66reshness_tolerance_seconds\x18\x0b \x01(\x03\x12\x1f\n\x17tolerate_nondeterminism\x18\r \x01(\x08\x12N\n\x06labels\x18\x0e \x03(\x0b\x32>.com.fivetran.query_cache.SubmitEnrichedSQLRequest.LabelsEntry\x12$\n\x17\x63lone_time_travel_limit\x18\x0f \x01(\x03H\x01\x88\x01\x01\x12N\n\x16\x63lone_table_properties\x18\x10 \x01(\x0b\x32).com.fivetran.query_cache.TablePropertiesH\x02\x88\x01\x01\x12L\n\x15stale_upstream_policy\x18\x11 \x01(\x0e\x32-.com.fivetran.query_cache.StaleUpstreamPolicy\x12$\n\x17\x63lone_chain_depth_limit\x18\x12 \x01(\x03H\x03\x88\x01\x01\x12\x43\n\x0e\x64\x62t_node_state\x18\x13 \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x04\x88\x01\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x14 \x01(\tH\x05\x88\x01\x01\x12\x1f\n\x17\x63ompare_unrendered_code\x18\x15 \x01(\x08\x12\x1c\n\x0ftable_namespace\x18\x16 \x01(\tH\x06\x88\x01\x01\x12%\n\x1dignore_external_modifications\x18\x17 \x01(\x08\x12\x19\n\x0c\x61llow_clones\x18\x18 \x01(\x08H\x07\x88\x01\x01\x12\x1b\n\x13is_defer_to_profile\x18\x19 \x01(\x08\x12\x15\n\rdefer_enabled\x18\x1a \x01(\x08\x12<\n\rtable_schemas\x18\x1b \x03(\x0b\x32%.com.fivetran.query_cache.TableSchema\x12 \n\x18\x63ompare_selected_columns\x18\x1c \x01(\x08\x1a\x35\n\x13SemanticExtrasEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_target_tableB\x1a\n\x18_clone_time_travel_limitB\x19\n\x17_clone_table_propertiesB\x1a\n\x18_clone_chain_depth_limitB\x11\n\x0f_dbt_node_stateB\x11\n\x0f_default_schemaB\x12\n\x10_table_namespaceB\x0f\n\r_allow_clonesJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\r\"\x8a\x07\n\x13SubmitValuesRequest\x12\x14\n\x0ctarget_table\x18\x01 \x01(\t\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x13\n\x0bvalues_hash\x18\x04 \x01(\t\x12Z\n\x0fsemantic_extras\x18\x05 \x03(\x0b\x32\x41.com.fivetran.query_cache.SubmitValuesRequest.SemanticExtrasEntry\x12 \n\x13last_modified_epoch\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12I\n\x06labels\x18\x07 \x03(\x0b\x32\x39.com.fivetran.query_cache.SubmitValuesRequest.LabelsEntry\x12$\n\x17\x63lone_time_travel_limit\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12N\n\x16\x63lone_table_properties\x18\t \x01(\x0b\x32).com.fivetran.query_cache.TablePropertiesH\x02\x88\x01\x01\x12$\n\x17\x63lone_chain_depth_limit\x18\n \x01(\x03H\x03\x88\x01\x01\x12\x43\n\x0e\x64\x62t_node_state\x18\x0b \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x04\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x16 \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0c\x61llow_clones\x18\x17 \x01(\x08H\x06\x88\x01\x01\x12\x1b\n\x13is_defer_to_profile\x18\x18 \x01(\x08\x12\x15\n\rdefer_enabled\x18\x19 \x01(\x08\x1a\x35\n\x13SemanticExtrasEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14_last_modified_epochB\x1a\n\x18_clone_time_travel_limitB\x19\n\x17_clone_table_propertiesB\x1a\n\x18_clone_chain_depth_limitB\x11\n\x0f_dbt_node_stateB\x12\n\x10_table_namespaceB\x0f\n\r_allow_clones\"\x88\x02\n\x11SubmitSQLResponse\x12L\n\x10ready_to_execute\x18\x02 \x01(\x0b\x32\x30.com.fivetran.query_cache.ReadyToExecuteResponseH\x00\x12I\n\x0eskip_execution\x18\x03 \x01(\x0b\x32/.com.fivetran.query_cache.SkipExecutionResponseH\x00\x12H\n\x0eready_to_clone\x18\x04 \x01(\x0b\x32..com.fivetran.query_cache.ReadyToCloneResponseH\x00\x42\n\n\x08responseJ\x04\x08\x01\x10\x02\"\xb8\x03\n\x16ReadyToExecuteResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x1f\n\x13last_modified_query\x18\x02 \x01(\tB\x02\x18\x01\x12G\n\x12\x65xplained_decision\x18\x03 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision\x12q\n\x1atransformed_nodes_by_query\x18\x04 \x03(\x0b\x32M.com.fivetran.query_cache.ReadyToExecuteResponse.TransformedNodesByQueryEntry\x12\"\n\x15\x65xecution_decision_id\x18\x06 \x01(\tH\x00\x88\x01\x01\x1ai\n\x1cTransformedNodesByQueryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).com.fivetran.query_cache.NodeFuncMapping:\x02\x38\x01\x42\x18\n\x16_execution_decision_idJ\x04\x08\x05\x10\x06\"\xfa\x03\n\x15SkipExecutionResponse\x12G\n\x12\x65xplained_decision\x18\x01 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision\x12p\n\x1atransformed_nodes_by_query\x18\x02 \x03(\x0b\x32L.com.fivetran.query_cache.SkipExecutionResponse.TransformedNodesByQueryEntry\x12;\n\x11\x65xecution_results\x18\x04 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x05 \x01(\x03H\x00\x88\x01\x01\x12\"\n\x15\x65xecution_decision_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x1ai\n\x1cTransformedNodesByQueryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).com.fivetran.query_cache.NodeFuncMapping:\x02\x38\x01\x42\x17\n\x15_execution_runtime_msB\x18\n\x16_execution_decision_idJ\x04\x08\x03\x10\x04\"!\n\x1fReadyToExecuteUntrackedResponse\"\x13\n\x11UndecidedResponse\"\xe2\x02\n\x1cSubmitSQLSpeculativeResponse\x12_\n\x1aready_to_execute_untracked\x18\x01 \x01(\x0b\x32\x39.com.fivetran.query_cache.ReadyToExecuteUntrackedResponseH\x00\x12I\n\x0eskip_execution\x18\x02 \x01(\x0b\x32/.com.fivetran.query_cache.SkipExecutionResponseH\x00\x12H\n\x0eready_to_clone\x18\x03 \x01(\x0b\x32..com.fivetran.query_cache.ReadyToCloneResponseH\x00\x12@\n\tundecided\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.UndecidedResponseH\x00\x42\n\n\x08response2\xf4\x02\n\x03SQL\x12t\n\x11SubmitEnrichedSQL\x12\x32.com.fivetran.query_cache.SubmitEnrichedSQLRequest\x1a+.com.fivetran.query_cache.SubmitSQLResponse\x12j\n\x0cSubmitValues\x12-.com.fivetran.query_cache.SubmitValuesRequest\x1a+.com.fivetran.query_cache.SubmitSQLResponse\x12\x8a\x01\n\x1cSubmitEnrichedSQLSpeculative\x12\x32.com.fivetran.query_cache.SubmitEnrichedSQLRequest\x1a\x36.com.fivetran.query_cache.SubmitSQLSpeculativeResponseb\x06proto3')
|
|
21
|
+
|
|
22
|
+
_globals = globals()
|
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.sql_service_pb2', _globals)
|
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
+
DESCRIPTOR._options = None
|
|
27
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._options = None
|
|
28
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
29
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._options = None
|
|
30
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
31
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._options = None
|
|
32
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
33
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._options = None
|
|
34
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
35
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._options = None
|
|
36
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_READYTOEXECUTERESPONSE'].fields_by_name['last_modified_query']._options = None
|
|
38
|
+
_globals['_READYTOEXECUTERESPONSE'].fields_by_name['last_modified_query']._serialized_options = b'\030\001'
|
|
39
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._options = None
|
|
40
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_SUBMITENRICHEDSQLREQUEST']._serialized_start=247
|
|
42
|
+
_globals['_SUBMITENRICHEDSQLREQUEST']._serialized_end=1708
|
|
43
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1415
|
|
44
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1468
|
|
45
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1470
|
|
46
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1515
|
|
47
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1711
|
|
48
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2617
|
|
49
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1415
|
|
50
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1468
|
|
51
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1470
|
|
52
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1515
|
|
53
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2620
|
|
54
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2884
|
|
55
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2887
|
|
56
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3327
|
|
57
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3190
|
|
58
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3295
|
|
59
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3330
|
|
60
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3836
|
|
61
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3190
|
|
62
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3295
|
|
63
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3838
|
|
64
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3871
|
|
65
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3873
|
|
66
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3892
|
|
67
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3895
|
|
68
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=4249
|
|
69
|
+
_globals['_SQL']._serialized_start=4252
|
|
70
|
+
_globals['_SQL']._serialized_end=4624
|
|
71
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,52 @@
|
|
|
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)
|
|
@@ -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,81 @@
|
|
|
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/services/sql_service.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/services/sql_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
|
|
26
|
+
from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
|
|
27
|
+
from query_cache_protobuf.query_cache.services import clone_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;query_cache_protobuf/query_cache/services/sql_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\x1a=query_cache_protobuf/query_cache/services/clone_service.proto\"\xb5\x0b\n\x18SubmitEnrichedSQLRequest\x12\x19\n\x0ctarget_table\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x44\n\x0e\x65xecution_type\x18\x04 \x01(\x0e\x32,.com.fivetran.query_cache.ModelExecutionType\x12\x0b\n\x03sql\x18\x05 \x01(\t\x12;\n\x06tables\x18\x06 \x03(\x0b\x32+.com.fivetran.query_cache.TableModifiedInfo\x12\x45\n\x12query_dependencies\x18\x07 \x03(\x0b\x32).com.fivetran.query_cache.QueryDependency\x12_\n\x0fsemantic_extras\x18\x08 \x03(\x0b\x32\x46.com.fivetran.query_cache.SubmitEnrichedSQLRequest.SemanticExtrasEntry\x12#\n\x1b\x66reshness_tolerance_seconds\x18\x0b \x01(\x03\x12\x1f\n\x17tolerate_nondeterminism\x18\r \x01(\x08\x12N\n\x06labels\x18\x0e \x03(\x0b\x32>.com.fivetran.query_cache.SubmitEnrichedSQLRequest.LabelsEntry\x12$\n\x17\x63lone_time_travel_limit\x18\x0f \x01(\x03H\x01\x88\x01\x01\x12N\n\x16\x63lone_table_properties\x18\x10 \x01(\x0b\x32).com.fivetran.query_cache.TablePropertiesH\x02\x88\x01\x01\x12L\n\x15stale_upstream_policy\x18\x11 \x01(\x0e\x32-.com.fivetran.query_cache.StaleUpstreamPolicy\x12$\n\x17\x63lone_chain_depth_limit\x18\x12 \x01(\x03H\x03\x88\x01\x01\x12\x43\n\x0e\x64\x62t_node_state\x18\x13 \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x04\x88\x01\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x14 \x01(\tH\x05\x88\x01\x01\x12\x1f\n\x17\x63ompare_unrendered_code\x18\x15 \x01(\x08\x12\x1c\n\x0ftable_namespace\x18\x16 \x01(\tH\x06\x88\x01\x01\x12%\n\x1dignore_external_modifications\x18\x17 \x01(\x08\x12\x19\n\x0c\x61llow_clones\x18\x18 \x01(\x08H\x07\x88\x01\x01\x12\x1b\n\x13is_defer_to_profile\x18\x19 \x01(\x08\x12\x15\n\rdefer_enabled\x18\x1a \x01(\x08\x12<\n\rtable_schemas\x18\x1b \x03(\x0b\x32%.com.fivetran.query_cache.TableSchema\x12 \n\x18\x63ompare_selected_columns\x18\x1c \x01(\x08\x1a\x35\n\x13SemanticExtrasEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_target_tableB\x1a\n\x18_clone_time_travel_limitB\x19\n\x17_clone_table_propertiesB\x1a\n\x18_clone_chain_depth_limitB\x11\n\x0f_dbt_node_stateB\x11\n\x0f_default_schemaB\x12\n\x10_table_namespaceB\x0f\n\r_allow_clonesJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\r\"\x8a\x07\n\x13SubmitValuesRequest\x12\x14\n\x0ctarget_table\x18\x01 \x01(\t\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x13\n\x0bvalues_hash\x18\x04 \x01(\t\x12Z\n\x0fsemantic_extras\x18\x05 \x03(\x0b\x32\x41.com.fivetran.query_cache.SubmitValuesRequest.SemanticExtrasEntry\x12 \n\x13last_modified_epoch\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12I\n\x06labels\x18\x07 \x03(\x0b\x32\x39.com.fivetran.query_cache.SubmitValuesRequest.LabelsEntry\x12$\n\x17\x63lone_time_travel_limit\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12N\n\x16\x63lone_table_properties\x18\t \x01(\x0b\x32).com.fivetran.query_cache.TablePropertiesH\x02\x88\x01\x01\x12$\n\x17\x63lone_chain_depth_limit\x18\n \x01(\x03H\x03\x88\x01\x01\x12\x43\n\x0e\x64\x62t_node_state\x18\x0b \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x04\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x16 \x01(\tH\x05\x88\x01\x01\x12\x19\n\x0c\x61llow_clones\x18\x17 \x01(\x08H\x06\x88\x01\x01\x12\x1b\n\x13is_defer_to_profile\x18\x18 \x01(\x08\x12\x15\n\rdefer_enabled\x18\x19 \x01(\x08\x1a\x35\n\x13SemanticExtrasEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14_last_modified_epochB\x1a\n\x18_clone_time_travel_limitB\x19\n\x17_clone_table_propertiesB\x1a\n\x18_clone_chain_depth_limitB\x11\n\x0f_dbt_node_stateB\x12\n\x10_table_namespaceB\x0f\n\r_allow_clones\"\x88\x02\n\x11SubmitSQLResponse\x12L\n\x10ready_to_execute\x18\x02 \x01(\x0b\x32\x30.com.fivetran.query_cache.ReadyToExecuteResponseH\x00\x12I\n\x0eskip_execution\x18\x03 \x01(\x0b\x32/.com.fivetran.query_cache.SkipExecutionResponseH\x00\x12H\n\x0eready_to_clone\x18\x04 \x01(\x0b\x32..com.fivetran.query_cache.ReadyToCloneResponseH\x00\x42\n\n\x08responseJ\x04\x08\x01\x10\x02\"\xb8\x03\n\x16ReadyToExecuteResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x1f\n\x13last_modified_query\x18\x02 \x01(\tB\x02\x18\x01\x12G\n\x12\x65xplained_decision\x18\x03 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision\x12q\n\x1atransformed_nodes_by_query\x18\x04 \x03(\x0b\x32M.com.fivetran.query_cache.ReadyToExecuteResponse.TransformedNodesByQueryEntry\x12\"\n\x15\x65xecution_decision_id\x18\x06 \x01(\tH\x00\x88\x01\x01\x1ai\n\x1cTransformedNodesByQueryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).com.fivetran.query_cache.NodeFuncMapping:\x02\x38\x01\x42\x18\n\x16_execution_decision_idJ\x04\x08\x05\x10\x06\"\xfa\x03\n\x15SkipExecutionResponse\x12G\n\x12\x65xplained_decision\x18\x01 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision\x12p\n\x1atransformed_nodes_by_query\x18\x02 \x03(\x0b\x32L.com.fivetran.query_cache.SkipExecutionResponse.TransformedNodesByQueryEntry\x12;\n\x11\x65xecution_results\x18\x04 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x05 \x01(\x03H\x00\x88\x01\x01\x12\"\n\x15\x65xecution_decision_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x1ai\n\x1cTransformedNodesByQueryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).com.fivetran.query_cache.NodeFuncMapping:\x02\x38\x01\x42\x17\n\x15_execution_runtime_msB\x18\n\x16_execution_decision_idJ\x04\x08\x03\x10\x04\"!\n\x1fReadyToExecuteUntrackedResponse\"\x13\n\x11UndecidedResponse\"\xe2\x02\n\x1cSubmitSQLSpeculativeResponse\x12_\n\x1aready_to_execute_untracked\x18\x01 \x01(\x0b\x32\x39.com.fivetran.query_cache.ReadyToExecuteUntrackedResponseH\x00\x12I\n\x0eskip_execution\x18\x02 \x01(\x0b\x32/.com.fivetran.query_cache.SkipExecutionResponseH\x00\x12H\n\x0eready_to_clone\x18\x03 \x01(\x0b\x32..com.fivetran.query_cache.ReadyToCloneResponseH\x00\x12@\n\tundecided\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.UndecidedResponseH\x00\x42\n\n\x08response2\xf4\x02\n\x03SQL\x12t\n\x11SubmitEnrichedSQL\x12\x32.com.fivetran.query_cache.SubmitEnrichedSQLRequest\x1a+.com.fivetran.query_cache.SubmitSQLResponse\x12j\n\x0cSubmitValues\x12-.com.fivetran.query_cache.SubmitValuesRequest\x1a+.com.fivetran.query_cache.SubmitSQLResponse\x12\x8a\x01\n\x1cSubmitEnrichedSQLSpeculative\x12\x32.com.fivetran.query_cache.SubmitEnrichedSQLRequest\x1a\x36.com.fivetran.query_cache.SubmitSQLSpeculativeResponseb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.sql_service_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._loaded_options = None
|
|
38
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
|
|
40
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._loaded_options = None
|
|
42
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
43
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._loaded_options = None
|
|
44
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
45
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._loaded_options = None
|
|
46
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_options = b'8\001'
|
|
47
|
+
_globals['_READYTOEXECUTERESPONSE'].fields_by_name['last_modified_query']._loaded_options = None
|
|
48
|
+
_globals['_READYTOEXECUTERESPONSE'].fields_by_name['last_modified_query']._serialized_options = b'\030\001'
|
|
49
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._loaded_options = None
|
|
50
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_options = b'8\001'
|
|
51
|
+
_globals['_SUBMITENRICHEDSQLREQUEST']._serialized_start=247
|
|
52
|
+
_globals['_SUBMITENRICHEDSQLREQUEST']._serialized_end=1708
|
|
53
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1415
|
|
54
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1468
|
|
55
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1470
|
|
56
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1515
|
|
57
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1711
|
|
58
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2617
|
|
59
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1415
|
|
60
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1468
|
|
61
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1470
|
|
62
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1515
|
|
63
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2620
|
|
64
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2884
|
|
65
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2887
|
|
66
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3327
|
|
67
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3190
|
|
68
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3295
|
|
69
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3330
|
|
70
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3836
|
|
71
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3190
|
|
72
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3295
|
|
73
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3838
|
|
74
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3871
|
|
75
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3873
|
|
76
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3892
|
|
77
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3895
|
|
78
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=4249
|
|
79
|
+
_globals['_SQL']._serialized_start=4252
|
|
80
|
+
_globals['_SQL']._serialized_end=4624
|
|
81
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,62 @@
|
|
|
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)
|
|
@@ -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)
|