query-cache-protobuf 2.6.0__tar.gz → 2.8.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.6.0 → query_cache_protobuf-2.8.0}/PKG-INFO +1 -1
- query_cache_protobuf-2.8.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +76 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +33 -0
- query_cache_protobuf-2.8.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +71 -0
- query_cache_protobuf-2.8.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +86 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +43 -0
- query_cache_protobuf-2.8.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- query_cache_protobuf-2.8.0/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +86 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +34 -4
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +43 -0
- query_cache_protobuf-2.8.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +8 -2
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -72
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -71
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -82
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -82
- query_cache_protobuf-2.6.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/.gitignore +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/pyproject.toml +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
- {query_cache_protobuf-2.6.0 → query_cache_protobuf-2.8.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: query_cache_protobuf/query_cache/services/execution_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
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAquery_cache_protobuf/query_cache/services/execution_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\"\xa5\x03\n\x17\x43onfirmExecutionRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\x0f\x66\x61iled_to_clone\x18\x03 \x01(\x08\x12\x17\n\ntable_type\x18\x04 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x06 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x07 \x01(\x03H\x02\x88\x01\x01\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.com.fivetran.query_cache.ConfirmExecutionRequest.LabelsEntry\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\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_msJ\x04\x08\x05\x10\x06\"A\n\x18\x43onfirmExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\"U\n\x17RecordExecutionsRequest\x12:\n\x07records\x18\x01 \x03(\x0b\x32).com.fivetran.query_cache.ExecutionRecord\"\xd4\x01\n\x0f\x45xecutionRecord\x12;\n\x07outcome\x18\x01 \x01(\x0b\x32*.com.fivetran.query_cache.ExecutionOutcome\x12>\n\x0c\x65nriched_sql\x18\x02 \x01(\x0b\x32&.com.fivetran.query_cache.SQLExecutionH\x00\x12;\n\x06values\x18\x03 \x01(\x0b\x32).com.fivetran.query_cache.ValuesExecutionH\x00\x42\x07\n\x05input\"\x95\x06\n\x0cSQLExecution\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\x12S\n\x0fsemantic_extras\x18\x08 \x03(\x0b\x32:.com.fivetran.query_cache.SQLExecution.SemanticExtrasEntry\x12\x42\n\x06labels\x18\t \x03(\x0b\x32\x32.com.fivetran.query_cache.SQLExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\n \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x01\x88\x01\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x1f\n\x17\x66rom_speculative_submit\x18\x0c \x01(\x08\x12\x1c\n\x0ftable_namespace\x18\r \x01(\tH\x03\x88\x01\x01\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\x11\n\x0f_dbt_node_stateB\x11\n\x0f_default_schemaB\x12\n\x10_table_namespace\"\xf5\x03\n\x0fValuesExecution\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\x12V\n\x0fsemantic_extras\x18\x05 \x03(\x0b\x32=.com.fivetran.query_cache.ValuesExecution.SemanticExtrasEntry\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x35.com.fivetran.query_cache.ValuesExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\x07 \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x00\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x0e \x01(\tH\x01\x88\x01\x01\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\x11\n\x0f_dbt_node_stateB\x12\n\x10_table_namespace\"\xed\x01\n\x10\x45xecutionOutcome\x12 \n\x13last_modified_epoch\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\ntable_type\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x03 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x04 \x01(\x03H\x02\x88\x01\x01\x42\x16\n\x14_last_modified_epochB\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_ms\"2\n\x18RecordExecutionsResponse\x12\x16\n\x0erecords_stored\x18\x01 \x01(\r\"\xa3\x01\n\x1fResolveDeferredRelationsRequest\x12\x14\n\x0cprofile_name\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x17\n\nproject_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fnode_unique_ids\x18\x05 \x03(\tB\r\n\x0b_project_id\"\xc1\x01\n ResolveDeferredRelationsResponse\x12g\n\x10\x66qn_by_unique_id\x18\x01 \x03(\x0b\x32M.com.fivetran.query_cache.ResolveDeferredRelationsResponse.FqnByUniqueIdEntry\x1a\x34\n\x12\x46qnByUniqueIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x1eUpdateExecutionMetadataRequest\x12\x14\n\x0c\x65xecution_id\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\x1fUpdateExecutionMetadataResponse2\xa6\x04\n\tExecution\x12y\n\x10\x43onfirmExecution\x12\x31.com.fivetran.query_cache.ConfirmExecutionRequest\x1a\x32.com.fivetran.query_cache.ConfirmExecutionResponse\x12y\n\x10RecordExecutions\x12\x31.com.fivetran.query_cache.RecordExecutionsRequest\x1a\x32.com.fivetran.query_cache.RecordExecutionsResponse\x12\x91\x01\n\x18ResolveDeferredRelations\x12\x39.com.fivetran.query_cache.ResolveDeferredRelationsRequest\x1a:.com.fivetran.query_cache.ResolveDeferredRelationsResponse\x12\x8e\x01\n\x17UpdateExecutionMetadata\x12\x38.com.fivetran.query_cache.UpdateExecutionMetadataRequest\x1a\x39.com.fivetran.query_cache.UpdateExecutionMetadataResponseb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.execution_service_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._options = None
|
|
27
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
28
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._options = None
|
|
29
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
30
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._options = None
|
|
31
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
32
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._options = None
|
|
33
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
34
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._options = None
|
|
35
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
36
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._options = None
|
|
37
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_CONFIRMEXECUTIONREQUEST']._serialized_start=190
|
|
39
|
+
_globals['_CONFIRMEXECUTIONREQUEST']._serialized_end=611
|
|
40
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_start=496
|
|
41
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_end=541
|
|
42
|
+
_globals['_CONFIRMEXECUTIONRESPONSE']._serialized_start=613
|
|
43
|
+
_globals['_CONFIRMEXECUTIONRESPONSE']._serialized_end=678
|
|
44
|
+
_globals['_RECORDEXECUTIONSREQUEST']._serialized_start=680
|
|
45
|
+
_globals['_RECORDEXECUTIONSREQUEST']._serialized_end=765
|
|
46
|
+
_globals['_EXECUTIONRECORD']._serialized_start=768
|
|
47
|
+
_globals['_EXECUTIONRECORD']._serialized_end=980
|
|
48
|
+
_globals['_SQLEXECUTION']._serialized_start=983
|
|
49
|
+
_globals['_SQLEXECUTION']._serialized_end=1772
|
|
50
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
|
|
51
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
|
|
52
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_start=496
|
|
53
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_end=541
|
|
54
|
+
_globals['_VALUESEXECUTION']._serialized_start=1775
|
|
55
|
+
_globals['_VALUESEXECUTION']._serialized_end=2276
|
|
56
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
|
|
57
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
|
|
58
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_start=496
|
|
59
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_end=541
|
|
60
|
+
_globals['_EXECUTIONOUTCOME']._serialized_start=2279
|
|
61
|
+
_globals['_EXECUTIONOUTCOME']._serialized_end=2516
|
|
62
|
+
_globals['_RECORDEXECUTIONSRESPONSE']._serialized_start=2518
|
|
63
|
+
_globals['_RECORDEXECUTIONSRESPONSE']._serialized_end=2568
|
|
64
|
+
_globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_start=2571
|
|
65
|
+
_globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_end=2734
|
|
66
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_start=2737
|
|
67
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_end=2930
|
|
68
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_start=2878
|
|
69
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_end=2930
|
|
70
|
+
_globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_start=2932
|
|
71
|
+
_globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_end=3044
|
|
72
|
+
_globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_start=3046
|
|
73
|
+
_globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_end=3079
|
|
74
|
+
_globals['_EXECUTION']._serialized_start=3082
|
|
75
|
+
_globals['_EXECUTION']._serialized_end=3632
|
|
76
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -29,6 +29,11 @@ class ExecutionStub(object):
|
|
|
29
29
|
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsRequest.SerializeToString,
|
|
30
30
|
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsResponse.FromString,
|
|
31
31
|
)
|
|
32
|
+
self.UpdateExecutionMetadata = channel.unary_unary(
|
|
33
|
+
'/com.fivetran.query_cache.Execution/UpdateExecutionMetadata',
|
|
34
|
+
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataRequest.SerializeToString,
|
|
35
|
+
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataResponse.FromString,
|
|
36
|
+
)
|
|
32
37
|
|
|
33
38
|
|
|
34
39
|
class ExecutionServicer(object):
|
|
@@ -52,6 +57,12 @@ class ExecutionServicer(object):
|
|
|
52
57
|
context.set_details('Method not implemented!')
|
|
53
58
|
raise NotImplementedError('Method not implemented!')
|
|
54
59
|
|
|
60
|
+
def UpdateExecutionMetadata(self, request, context):
|
|
61
|
+
"""Missing associated documentation comment in .proto file."""
|
|
62
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
|
+
context.set_details('Method not implemented!')
|
|
64
|
+
raise NotImplementedError('Method not implemented!')
|
|
65
|
+
|
|
55
66
|
|
|
56
67
|
def add_ExecutionServicer_to_server(servicer, server):
|
|
57
68
|
rpc_method_handlers = {
|
|
@@ -70,6 +81,11 @@ def add_ExecutionServicer_to_server(servicer, server):
|
|
|
70
81
|
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsRequest.FromString,
|
|
71
82
|
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsResponse.SerializeToString,
|
|
72
83
|
),
|
|
84
|
+
'UpdateExecutionMetadata': grpc.unary_unary_rpc_method_handler(
|
|
85
|
+
servicer.UpdateExecutionMetadata,
|
|
86
|
+
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataRequest.FromString,
|
|
87
|
+
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataResponse.SerializeToString,
|
|
88
|
+
),
|
|
73
89
|
}
|
|
74
90
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
75
91
|
'com.fivetran.query_cache.Execution', rpc_method_handlers)
|
|
@@ -130,3 +146,20 @@ class Execution(object):
|
|
|
130
146
|
query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsResponse.FromString,
|
|
131
147
|
options, channel_credentials,
|
|
132
148
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
|
+
|
|
150
|
+
@staticmethod
|
|
151
|
+
def UpdateExecutionMetadata(request,
|
|
152
|
+
target,
|
|
153
|
+
options=(),
|
|
154
|
+
channel_credentials=None,
|
|
155
|
+
call_credentials=None,
|
|
156
|
+
insecure=False,
|
|
157
|
+
compression=None,
|
|
158
|
+
wait_for_ready=None,
|
|
159
|
+
timeout=None,
|
|
160
|
+
metadata=None):
|
|
161
|
+
return grpc.experimental.unary_unary(request, target, '/com.fivetran.query_cache.Execution/UpdateExecutionMetadata',
|
|
162
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataRequest.SerializeToString,
|
|
163
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataResponse.FromString,
|
|
164
|
+
options, channel_credentials,
|
|
165
|
+
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\"\xd3\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\x12\x1c\n\x14target_table_missing\x18\x1d \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\"\x90\x04\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\x12\x14\n\x0c\x65xecution_id\x18\x07 \x01(\t\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=1738
|
|
43
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1445
|
|
44
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1498
|
|
45
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1500
|
|
46
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1545
|
|
47
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1741
|
|
48
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2647
|
|
49
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1445
|
|
50
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1498
|
|
51
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1500
|
|
52
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1545
|
|
53
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2650
|
|
54
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2914
|
|
55
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2917
|
|
56
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3357
|
|
57
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3220
|
|
58
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3325
|
|
59
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3360
|
|
60
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3888
|
|
61
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3220
|
|
62
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3325
|
|
63
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3890
|
|
64
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3923
|
|
65
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3925
|
|
66
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3944
|
|
67
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3947
|
|
68
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=4301
|
|
69
|
+
_globals['_SQL']._serialized_start=4304
|
|
70
|
+
_globals['_SQL']._serialized_end=4676
|
|
71
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,86 @@
|
|
|
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/execution_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/execution_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
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAquery_cache_protobuf/query_cache/services/execution_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\"\xa5\x03\n\x17\x43onfirmExecutionRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\x0f\x66\x61iled_to_clone\x18\x03 \x01(\x08\x12\x17\n\ntable_type\x18\x04 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x06 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x07 \x01(\x03H\x02\x88\x01\x01\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.com.fivetran.query_cache.ConfirmExecutionRequest.LabelsEntry\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\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_msJ\x04\x08\x05\x10\x06\"A\n\x18\x43onfirmExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\"U\n\x17RecordExecutionsRequest\x12:\n\x07records\x18\x01 \x03(\x0b\x32).com.fivetran.query_cache.ExecutionRecord\"\xd4\x01\n\x0f\x45xecutionRecord\x12;\n\x07outcome\x18\x01 \x01(\x0b\x32*.com.fivetran.query_cache.ExecutionOutcome\x12>\n\x0c\x65nriched_sql\x18\x02 \x01(\x0b\x32&.com.fivetran.query_cache.SQLExecutionH\x00\x12;\n\x06values\x18\x03 \x01(\x0b\x32).com.fivetran.query_cache.ValuesExecutionH\x00\x42\x07\n\x05input\"\x95\x06\n\x0cSQLExecution\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\x12S\n\x0fsemantic_extras\x18\x08 \x03(\x0b\x32:.com.fivetran.query_cache.SQLExecution.SemanticExtrasEntry\x12\x42\n\x06labels\x18\t \x03(\x0b\x32\x32.com.fivetran.query_cache.SQLExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\n \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x01\x88\x01\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x1f\n\x17\x66rom_speculative_submit\x18\x0c \x01(\x08\x12\x1c\n\x0ftable_namespace\x18\r \x01(\tH\x03\x88\x01\x01\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\x11\n\x0f_dbt_node_stateB\x11\n\x0f_default_schemaB\x12\n\x10_table_namespace\"\xf5\x03\n\x0fValuesExecution\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\x12V\n\x0fsemantic_extras\x18\x05 \x03(\x0b\x32=.com.fivetran.query_cache.ValuesExecution.SemanticExtrasEntry\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x35.com.fivetran.query_cache.ValuesExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\x07 \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x00\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x0e \x01(\tH\x01\x88\x01\x01\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\x11\n\x0f_dbt_node_stateB\x12\n\x10_table_namespace\"\xed\x01\n\x10\x45xecutionOutcome\x12 \n\x13last_modified_epoch\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\ntable_type\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x03 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x04 \x01(\x03H\x02\x88\x01\x01\x42\x16\n\x14_last_modified_epochB\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_ms\"2\n\x18RecordExecutionsResponse\x12\x16\n\x0erecords_stored\x18\x01 \x01(\r\"\xa3\x01\n\x1fResolveDeferredRelationsRequest\x12\x14\n\x0cprofile_name\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x17\n\nproject_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fnode_unique_ids\x18\x05 \x03(\tB\r\n\x0b_project_id\"\xc1\x01\n ResolveDeferredRelationsResponse\x12g\n\x10\x66qn_by_unique_id\x18\x01 \x03(\x0b\x32M.com.fivetran.query_cache.ResolveDeferredRelationsResponse.FqnByUniqueIdEntry\x1a\x34\n\x12\x46qnByUniqueIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x1eUpdateExecutionMetadataRequest\x12\x14\n\x0c\x65xecution_id\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\x1fUpdateExecutionMetadataResponse2\xa6\x04\n\tExecution\x12y\n\x10\x43onfirmExecution\x12\x31.com.fivetran.query_cache.ConfirmExecutionRequest\x1a\x32.com.fivetran.query_cache.ConfirmExecutionResponse\x12y\n\x10RecordExecutions\x12\x31.com.fivetran.query_cache.RecordExecutionsRequest\x1a\x32.com.fivetran.query_cache.RecordExecutionsResponse\x12\x91\x01\n\x18ResolveDeferredRelations\x12\x39.com.fivetran.query_cache.ResolveDeferredRelationsRequest\x1a:.com.fivetran.query_cache.ResolveDeferredRelationsResponse\x12\x8e\x01\n\x17UpdateExecutionMetadata\x12\x38.com.fivetran.query_cache.UpdateExecutionMetadataRequest\x1a\x39.com.fivetran.query_cache.UpdateExecutionMetadataResponseb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.execution_service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
DESCRIPTOR._loaded_options = None
|
|
36
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._loaded_options = None
|
|
37
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._loaded_options = None
|
|
39
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._loaded_options = None
|
|
41
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
42
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._loaded_options = None
|
|
43
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
44
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._loaded_options = None
|
|
45
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
46
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._loaded_options = None
|
|
47
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_options = b'8\001'
|
|
48
|
+
_globals['_CONFIRMEXECUTIONREQUEST']._serialized_start=190
|
|
49
|
+
_globals['_CONFIRMEXECUTIONREQUEST']._serialized_end=611
|
|
50
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_start=496
|
|
51
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_end=541
|
|
52
|
+
_globals['_CONFIRMEXECUTIONRESPONSE']._serialized_start=613
|
|
53
|
+
_globals['_CONFIRMEXECUTIONRESPONSE']._serialized_end=678
|
|
54
|
+
_globals['_RECORDEXECUTIONSREQUEST']._serialized_start=680
|
|
55
|
+
_globals['_RECORDEXECUTIONSREQUEST']._serialized_end=765
|
|
56
|
+
_globals['_EXECUTIONRECORD']._serialized_start=768
|
|
57
|
+
_globals['_EXECUTIONRECORD']._serialized_end=980
|
|
58
|
+
_globals['_SQLEXECUTION']._serialized_start=983
|
|
59
|
+
_globals['_SQLEXECUTION']._serialized_end=1772
|
|
60
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
|
|
61
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
|
|
62
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_start=496
|
|
63
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_end=541
|
|
64
|
+
_globals['_VALUESEXECUTION']._serialized_start=1775
|
|
65
|
+
_globals['_VALUESEXECUTION']._serialized_end=2276
|
|
66
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
|
|
67
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
|
|
68
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_start=496
|
|
69
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_end=541
|
|
70
|
+
_globals['_EXECUTIONOUTCOME']._serialized_start=2279
|
|
71
|
+
_globals['_EXECUTIONOUTCOME']._serialized_end=2516
|
|
72
|
+
_globals['_RECORDEXECUTIONSRESPONSE']._serialized_start=2518
|
|
73
|
+
_globals['_RECORDEXECUTIONSRESPONSE']._serialized_end=2568
|
|
74
|
+
_globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_start=2571
|
|
75
|
+
_globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_end=2734
|
|
76
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_start=2737
|
|
77
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_end=2930
|
|
78
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_start=2878
|
|
79
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_end=2930
|
|
80
|
+
_globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_start=2932
|
|
81
|
+
_globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_end=3044
|
|
82
|
+
_globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_start=3046
|
|
83
|
+
_globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_end=3079
|
|
84
|
+
_globals['_EXECUTION']._serialized_start=3082
|
|
85
|
+
_globals['_EXECUTION']._serialized_end=3632
|
|
86
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -49,6 +49,11 @@ class ExecutionStub(object):
|
|
|
49
49
|
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsRequest.SerializeToString,
|
|
50
50
|
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsResponse.FromString,
|
|
51
51
|
_registered_method=True)
|
|
52
|
+
self.UpdateExecutionMetadata = channel.unary_unary(
|
|
53
|
+
'/com.fivetran.query_cache.Execution/UpdateExecutionMetadata',
|
|
54
|
+
request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataRequest.SerializeToString,
|
|
55
|
+
response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
52
57
|
|
|
53
58
|
|
|
54
59
|
class ExecutionServicer(object):
|
|
@@ -72,6 +77,12 @@ class ExecutionServicer(object):
|
|
|
72
77
|
context.set_details('Method not implemented!')
|
|
73
78
|
raise NotImplementedError('Method not implemented!')
|
|
74
79
|
|
|
80
|
+
def UpdateExecutionMetadata(self, request, context):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
75
86
|
|
|
76
87
|
def add_ExecutionServicer_to_server(servicer, server):
|
|
77
88
|
rpc_method_handlers = {
|
|
@@ -90,6 +101,11 @@ def add_ExecutionServicer_to_server(servicer, server):
|
|
|
90
101
|
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsRequest.FromString,
|
|
91
102
|
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.ResolveDeferredRelationsResponse.SerializeToString,
|
|
92
103
|
),
|
|
104
|
+
'UpdateExecutionMetadata': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.UpdateExecutionMetadata,
|
|
106
|
+
request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataRequest.FromString,
|
|
107
|
+
response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataResponse.SerializeToString,
|
|
108
|
+
),
|
|
93
109
|
}
|
|
94
110
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
95
111
|
'com.fivetran.query_cache.Execution', rpc_method_handlers)
|
|
@@ -181,3 +197,30 @@ class Execution(object):
|
|
|
181
197
|
timeout,
|
|
182
198
|
metadata,
|
|
183
199
|
_registered_method=True)
|
|
200
|
+
|
|
201
|
+
@staticmethod
|
|
202
|
+
def UpdateExecutionMetadata(request,
|
|
203
|
+
target,
|
|
204
|
+
options=(),
|
|
205
|
+
channel_credentials=None,
|
|
206
|
+
call_credentials=None,
|
|
207
|
+
insecure=False,
|
|
208
|
+
compression=None,
|
|
209
|
+
wait_for_ready=None,
|
|
210
|
+
timeout=None,
|
|
211
|
+
metadata=None):
|
|
212
|
+
return grpc.experimental.unary_unary(
|
|
213
|
+
request,
|
|
214
|
+
target,
|
|
215
|
+
'/com.fivetran.query_cache.Execution/UpdateExecutionMetadata',
|
|
216
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataRequest.SerializeToString,
|
|
217
|
+
query__cache__protobuf_dot_query__cache_dot_services_dot_execution__service__pb2.UpdateExecutionMetadataResponse.FromString,
|
|
218
|
+
options,
|
|
219
|
+
channel_credentials,
|
|
220
|
+
insecure,
|
|
221
|
+
call_credentials,
|
|
222
|
+
compression,
|
|
223
|
+
wait_for_ready,
|
|
224
|
+
timeout,
|
|
225
|
+
metadata,
|
|
226
|
+
_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\"\xd3\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\x12\x1c\n\x14target_table_missing\x18\x1d \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\"\x90\x04\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\x12\x14\n\x0c\x65xecution_id\x18\x07 \x01(\t\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=1738
|
|
53
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1445
|
|
54
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1498
|
|
55
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1500
|
|
56
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1545
|
|
57
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1741
|
|
58
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2647
|
|
59
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1445
|
|
60
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1498
|
|
61
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1500
|
|
62
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1545
|
|
63
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2650
|
|
64
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2914
|
|
65
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2917
|
|
66
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3357
|
|
67
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3220
|
|
68
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3325
|
|
69
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3360
|
|
70
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3888
|
|
71
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=3220
|
|
72
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3325
|
|
73
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3890
|
|
74
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3923
|
|
75
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3925
|
|
76
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3944
|
|
77
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3947
|
|
78
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=4301
|
|
79
|
+
_globals['_SQL']._serialized_start=4304
|
|
80
|
+
_globals['_SQL']._serialized_end=4676
|
|
81
|
+
# @@protoc_insertion_point(module_scope)
|
query_cache_protobuf-2.8.0/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
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/execution_service.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/services/execution_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
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAquery_cache_protobuf/query_cache/services/execution_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\"\xa5\x03\n\x17\x43onfirmExecutionRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\x0f\x66\x61iled_to_clone\x18\x03 \x01(\x08\x12\x17\n\ntable_type\x18\x04 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x06 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x07 \x01(\x03H\x02\x88\x01\x01\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.com.fivetran.query_cache.ConfirmExecutionRequest.LabelsEntry\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\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_msJ\x04\x08\x05\x10\x06\"A\n\x18\x43onfirmExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\"U\n\x17RecordExecutionsRequest\x12:\n\x07records\x18\x01 \x03(\x0b\x32).com.fivetran.query_cache.ExecutionRecord\"\xd4\x01\n\x0f\x45xecutionRecord\x12;\n\x07outcome\x18\x01 \x01(\x0b\x32*.com.fivetran.query_cache.ExecutionOutcome\x12>\n\x0c\x65nriched_sql\x18\x02 \x01(\x0b\x32&.com.fivetran.query_cache.SQLExecutionH\x00\x12;\n\x06values\x18\x03 \x01(\x0b\x32).com.fivetran.query_cache.ValuesExecutionH\x00\x42\x07\n\x05input\"\x95\x06\n\x0cSQLExecution\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\x12S\n\x0fsemantic_extras\x18\x08 \x03(\x0b\x32:.com.fivetran.query_cache.SQLExecution.SemanticExtrasEntry\x12\x42\n\x06labels\x18\t \x03(\x0b\x32\x32.com.fivetran.query_cache.SQLExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\n \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x01\x88\x01\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x1f\n\x17\x66rom_speculative_submit\x18\x0c \x01(\x08\x12\x1c\n\x0ftable_namespace\x18\r \x01(\tH\x03\x88\x01\x01\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\x11\n\x0f_dbt_node_stateB\x11\n\x0f_default_schemaB\x12\n\x10_table_namespace\"\xf5\x03\n\x0fValuesExecution\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\x12V\n\x0fsemantic_extras\x18\x05 \x03(\x0b\x32=.com.fivetran.query_cache.ValuesExecution.SemanticExtrasEntry\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x35.com.fivetran.query_cache.ValuesExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\x07 \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x00\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x0e \x01(\tH\x01\x88\x01\x01\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\x11\n\x0f_dbt_node_stateB\x12\n\x10_table_namespace\"\xed\x01\n\x10\x45xecutionOutcome\x12 \n\x13last_modified_epoch\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\ntable_type\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x03 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x04 \x01(\x03H\x02\x88\x01\x01\x42\x16\n\x14_last_modified_epochB\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_ms\"2\n\x18RecordExecutionsResponse\x12\x16\n\x0erecords_stored\x18\x01 \x01(\r\"\xa3\x01\n\x1fResolveDeferredRelationsRequest\x12\x14\n\x0cprofile_name\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x17\n\nproject_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fnode_unique_ids\x18\x05 \x03(\tB\r\n\x0b_project_id\"\xc1\x01\n ResolveDeferredRelationsResponse\x12g\n\x10\x66qn_by_unique_id\x18\x01 \x03(\x0b\x32M.com.fivetran.query_cache.ResolveDeferredRelationsResponse.FqnByUniqueIdEntry\x1a\x34\n\x12\x46qnByUniqueIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x1eUpdateExecutionMetadataRequest\x12\x14\n\x0c\x65xecution_id\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\x1fUpdateExecutionMetadataResponse2\xa6\x04\n\tExecution\x12y\n\x10\x43onfirmExecution\x12\x31.com.fivetran.query_cache.ConfirmExecutionRequest\x1a\x32.com.fivetran.query_cache.ConfirmExecutionResponse\x12y\n\x10RecordExecutions\x12\x31.com.fivetran.query_cache.RecordExecutionsRequest\x1a\x32.com.fivetran.query_cache.RecordExecutionsResponse\x12\x91\x01\n\x18ResolveDeferredRelations\x12\x39.com.fivetran.query_cache.ResolveDeferredRelationsRequest\x1a:.com.fivetran.query_cache.ResolveDeferredRelationsResponse\x12\x8e\x01\n\x17UpdateExecutionMetadata\x12\x38.com.fivetran.query_cache.UpdateExecutionMetadataRequest\x1a\x39.com.fivetran.query_cache.UpdateExecutionMetadataResponseb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.execution_service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
DESCRIPTOR._loaded_options = None
|
|
36
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._loaded_options = None
|
|
37
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._loaded_options = None
|
|
39
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._loaded_options = None
|
|
41
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
42
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._loaded_options = None
|
|
43
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
|
|
44
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._loaded_options = None
|
|
45
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
|
|
46
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._loaded_options = None
|
|
47
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_options = b'8\001'
|
|
48
|
+
_globals['_CONFIRMEXECUTIONREQUEST']._serialized_start=190
|
|
49
|
+
_globals['_CONFIRMEXECUTIONREQUEST']._serialized_end=611
|
|
50
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_start=496
|
|
51
|
+
_globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_end=541
|
|
52
|
+
_globals['_CONFIRMEXECUTIONRESPONSE']._serialized_start=613
|
|
53
|
+
_globals['_CONFIRMEXECUTIONRESPONSE']._serialized_end=678
|
|
54
|
+
_globals['_RECORDEXECUTIONSREQUEST']._serialized_start=680
|
|
55
|
+
_globals['_RECORDEXECUTIONSREQUEST']._serialized_end=765
|
|
56
|
+
_globals['_EXECUTIONRECORD']._serialized_start=768
|
|
57
|
+
_globals['_EXECUTIONRECORD']._serialized_end=980
|
|
58
|
+
_globals['_SQLEXECUTION']._serialized_start=983
|
|
59
|
+
_globals['_SQLEXECUTION']._serialized_end=1772
|
|
60
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
|
|
61
|
+
_globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
|
|
62
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_start=496
|
|
63
|
+
_globals['_SQLEXECUTION_LABELSENTRY']._serialized_end=541
|
|
64
|
+
_globals['_VALUESEXECUTION']._serialized_start=1775
|
|
65
|
+
_globals['_VALUESEXECUTION']._serialized_end=2276
|
|
66
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
|
|
67
|
+
_globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
|
|
68
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_start=496
|
|
69
|
+
_globals['_VALUESEXECUTION_LABELSENTRY']._serialized_end=541
|
|
70
|
+
_globals['_EXECUTIONOUTCOME']._serialized_start=2279
|
|
71
|
+
_globals['_EXECUTIONOUTCOME']._serialized_end=2516
|
|
72
|
+
_globals['_RECORDEXECUTIONSRESPONSE']._serialized_start=2518
|
|
73
|
+
_globals['_RECORDEXECUTIONSRESPONSE']._serialized_end=2568
|
|
74
|
+
_globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_start=2571
|
|
75
|
+
_globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_end=2734
|
|
76
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_start=2737
|
|
77
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_end=2930
|
|
78
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_start=2878
|
|
79
|
+
_globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_end=2930
|
|
80
|
+
_globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_start=2932
|
|
81
|
+
_globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_end=3044
|
|
82
|
+
_globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_start=3046
|
|
83
|
+
_globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_end=3079
|
|
84
|
+
_globals['_EXECUTION']._serialized_start=3082
|
|
85
|
+
_globals['_EXECUTION']._serialized_end=3632
|
|
86
|
+
# @@protoc_insertion_point(module_scope)
|