query-cache-protobuf 2.3.0__tar.gz → 2.4.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.0 → query_cache_protobuf-2.4.0}/.gitignore +1 -1
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/PKG-INFO +1 -1
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +71 -0
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +52 -0
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +62 -0
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +33 -4
- query_cache_protobuf-2.4.0/src/query_cache_protobuf/query_cache/shared_pb2.py +62 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +39 -0
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -71
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -48
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -58
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -58
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/pyproject.toml +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.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.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.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.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.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.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.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.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
- {query_cache_protobuf-2.3.0 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
|
@@ -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)
|
|
@@ -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)
|
|
@@ -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: 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/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)
|
|
@@ -71,6 +71,11 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
71
71
|
COMPARE_UNRENDERED_CODE_FIELD_NUMBER: builtins.int
|
|
72
72
|
TABLE_NAMESPACE_FIELD_NUMBER: builtins.int
|
|
73
73
|
IGNORE_EXTERNAL_MODIFICATIONS_FIELD_NUMBER: builtins.int
|
|
74
|
+
ALLOW_CLONES_FIELD_NUMBER: builtins.int
|
|
75
|
+
IS_DEFER_TO_PROFILE_FIELD_NUMBER: builtins.int
|
|
76
|
+
DEFER_ENABLED_FIELD_NUMBER: builtins.int
|
|
77
|
+
TABLE_SCHEMAS_FIELD_NUMBER: builtins.int
|
|
78
|
+
COMPARE_SELECTED_COLUMNS_FIELD_NUMBER: builtins.int
|
|
74
79
|
target_table: builtins.str
|
|
75
80
|
dialect: builtins.str
|
|
76
81
|
default_catalog: builtins.str
|
|
@@ -85,6 +90,10 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
85
90
|
compare_unrendered_code: builtins.bool
|
|
86
91
|
table_namespace: builtins.str
|
|
87
92
|
ignore_external_modifications: builtins.bool
|
|
93
|
+
allow_clones: builtins.bool
|
|
94
|
+
is_defer_to_profile: builtins.bool
|
|
95
|
+
defer_enabled: builtins.bool
|
|
96
|
+
compare_selected_columns: builtins.bool
|
|
88
97
|
@property
|
|
89
98
|
def tables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[query_cache_protobuf.query_cache.shared_pb2.TableModifiedInfo]: ...
|
|
90
99
|
@property
|
|
@@ -97,6 +106,8 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
97
106
|
def clone_table_properties(self) -> query_cache_protobuf.query_cache.services.clone_service_pb2.TableProperties: ...
|
|
98
107
|
@property
|
|
99
108
|
def dbt_node_state(self) -> query_cache_protobuf.query_cache.shared_pb2.DbtNodeState: ...
|
|
109
|
+
@property
|
|
110
|
+
def table_schemas(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[query_cache_protobuf.query_cache.shared_pb2.TableSchema]: ...
|
|
100
111
|
def __init__(
|
|
101
112
|
self,
|
|
102
113
|
*,
|
|
@@ -120,9 +131,16 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
120
131
|
compare_unrendered_code: builtins.bool = ...,
|
|
121
132
|
table_namespace: builtins.str | None = ...,
|
|
122
133
|
ignore_external_modifications: builtins.bool = ...,
|
|
134
|
+
allow_clones: builtins.bool | None = ...,
|
|
135
|
+
is_defer_to_profile: builtins.bool = ...,
|
|
136
|
+
defer_enabled: builtins.bool = ...,
|
|
137
|
+
table_schemas: collections.abc.Iterable[query_cache_protobuf.query_cache.shared_pb2.TableSchema] | None = ...,
|
|
138
|
+
compare_selected_columns: builtins.bool = ...,
|
|
123
139
|
) -> None: ...
|
|
124
|
-
def HasField(self, field_name: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_default_schema", b"_default_schema", "_table_namespace", b"_table_namespace", "_target_table", b"_target_table", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "dbt_node_state", b"dbt_node_state", "default_schema", b"default_schema", "table_namespace", b"table_namespace", "target_table", b"target_table"]) -> builtins.bool: ...
|
|
125
|
-
def ClearField(self, field_name: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_default_schema", b"_default_schema", "_table_namespace", b"_table_namespace", "_target_table", b"_target_table", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "compare_unrendered_code", b"compare_unrendered_code", "dbt_node_state", b"dbt_node_state", "default_catalog", b"default_catalog", "default_schema", b"default_schema", "dialect", b"dialect", "execution_type", b"execution_type", "freshness_tolerance_seconds", b"freshness_tolerance_seconds", "ignore_external_modifications", b"ignore_external_modifications", "labels", b"labels", "query_dependencies", b"query_dependencies", "semantic_extras", b"semantic_extras", "sql", b"sql", "stale_upstream_policy", b"stale_upstream_policy", "table_namespace", b"table_namespace", "tables", b"tables", "target_table", b"target_table", "tolerate_nondeterminism", b"tolerate_nondeterminism"]) -> None: ...
|
|
140
|
+
def HasField(self, field_name: typing.Literal["_allow_clones", b"_allow_clones", "_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_default_schema", b"_default_schema", "_table_namespace", b"_table_namespace", "_target_table", b"_target_table", "allow_clones", b"allow_clones", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "dbt_node_state", b"dbt_node_state", "default_schema", b"default_schema", "table_namespace", b"table_namespace", "target_table", b"target_table"]) -> builtins.bool: ...
|
|
141
|
+
def ClearField(self, field_name: typing.Literal["_allow_clones", b"_allow_clones", "_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_default_schema", b"_default_schema", "_table_namespace", b"_table_namespace", "_target_table", b"_target_table", "allow_clones", b"allow_clones", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "compare_selected_columns", b"compare_selected_columns", "compare_unrendered_code", b"compare_unrendered_code", "dbt_node_state", b"dbt_node_state", "default_catalog", b"default_catalog", "default_schema", b"default_schema", "defer_enabled", b"defer_enabled", "dialect", b"dialect", "execution_type", b"execution_type", "freshness_tolerance_seconds", b"freshness_tolerance_seconds", "ignore_external_modifications", b"ignore_external_modifications", "is_defer_to_profile", b"is_defer_to_profile", "labels", b"labels", "query_dependencies", b"query_dependencies", "semantic_extras", b"semantic_extras", "sql", b"sql", "stale_upstream_policy", b"stale_upstream_policy", "table_namespace", b"table_namespace", "table_schemas", b"table_schemas", "tables", b"tables", "target_table", b"target_table", "tolerate_nondeterminism", b"tolerate_nondeterminism"]) -> None: ...
|
|
142
|
+
@typing.overload
|
|
143
|
+
def WhichOneof(self, oneof_group: typing.Literal["_allow_clones", b"_allow_clones"]) -> typing.Literal["allow_clones"] | None: ...
|
|
126
144
|
@typing.overload
|
|
127
145
|
def WhichOneof(self, oneof_group: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit"]) -> typing.Literal["clone_chain_depth_limit"] | None: ...
|
|
128
146
|
@typing.overload
|
|
@@ -188,6 +206,9 @@ class SubmitValuesRequest(google.protobuf.message.Message):
|
|
|
188
206
|
CLONE_CHAIN_DEPTH_LIMIT_FIELD_NUMBER: builtins.int
|
|
189
207
|
DBT_NODE_STATE_FIELD_NUMBER: builtins.int
|
|
190
208
|
TABLE_NAMESPACE_FIELD_NUMBER: builtins.int
|
|
209
|
+
ALLOW_CLONES_FIELD_NUMBER: builtins.int
|
|
210
|
+
IS_DEFER_TO_PROFILE_FIELD_NUMBER: builtins.int
|
|
211
|
+
DEFER_ENABLED_FIELD_NUMBER: builtins.int
|
|
191
212
|
target_table: builtins.str
|
|
192
213
|
dialect: builtins.str
|
|
193
214
|
default_catalog: builtins.str
|
|
@@ -196,6 +217,9 @@ class SubmitValuesRequest(google.protobuf.message.Message):
|
|
|
196
217
|
clone_time_travel_limit: builtins.int
|
|
197
218
|
clone_chain_depth_limit: builtins.int
|
|
198
219
|
table_namespace: builtins.str
|
|
220
|
+
allow_clones: builtins.bool
|
|
221
|
+
is_defer_to_profile: builtins.bool
|
|
222
|
+
defer_enabled: builtins.bool
|
|
199
223
|
@property
|
|
200
224
|
def semantic_extras(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
201
225
|
@property
|
|
@@ -219,9 +243,14 @@ class SubmitValuesRequest(google.protobuf.message.Message):
|
|
|
219
243
|
clone_chain_depth_limit: builtins.int | None = ...,
|
|
220
244
|
dbt_node_state: query_cache_protobuf.query_cache.shared_pb2.DbtNodeState | None = ...,
|
|
221
245
|
table_namespace: builtins.str | None = ...,
|
|
246
|
+
allow_clones: builtins.bool | None = ...,
|
|
247
|
+
is_defer_to_profile: builtins.bool = ...,
|
|
248
|
+
defer_enabled: builtins.bool = ...,
|
|
222
249
|
) -> None: ...
|
|
223
|
-
def HasField(self, field_name: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_last_modified_epoch", b"_last_modified_epoch", "_table_namespace", b"_table_namespace", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "dbt_node_state", b"dbt_node_state", "last_modified_epoch", b"last_modified_epoch", "table_namespace", b"table_namespace"]) -> builtins.bool: ...
|
|
224
|
-
def ClearField(self, field_name: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_last_modified_epoch", b"_last_modified_epoch", "_table_namespace", b"_table_namespace", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "dbt_node_state", b"dbt_node_state", "default_catalog", b"default_catalog", "dialect", b"dialect", "labels", b"labels", "last_modified_epoch", b"last_modified_epoch", "semantic_extras", b"semantic_extras", "table_namespace", b"table_namespace", "target_table", b"target_table", "values_hash", b"values_hash"]) -> None: ...
|
|
250
|
+
def HasField(self, field_name: typing.Literal["_allow_clones", b"_allow_clones", "_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_last_modified_epoch", b"_last_modified_epoch", "_table_namespace", b"_table_namespace", "allow_clones", b"allow_clones", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "dbt_node_state", b"dbt_node_state", "last_modified_epoch", b"last_modified_epoch", "table_namespace", b"table_namespace"]) -> builtins.bool: ...
|
|
251
|
+
def ClearField(self, field_name: typing.Literal["_allow_clones", b"_allow_clones", "_clone_chain_depth_limit", b"_clone_chain_depth_limit", "_clone_table_properties", b"_clone_table_properties", "_clone_time_travel_limit", b"_clone_time_travel_limit", "_dbt_node_state", b"_dbt_node_state", "_last_modified_epoch", b"_last_modified_epoch", "_table_namespace", b"_table_namespace", "allow_clones", b"allow_clones", "clone_chain_depth_limit", b"clone_chain_depth_limit", "clone_table_properties", b"clone_table_properties", "clone_time_travel_limit", b"clone_time_travel_limit", "dbt_node_state", b"dbt_node_state", "default_catalog", b"default_catalog", "defer_enabled", b"defer_enabled", "dialect", b"dialect", "is_defer_to_profile", b"is_defer_to_profile", "labels", b"labels", "last_modified_epoch", b"last_modified_epoch", "semantic_extras", b"semantic_extras", "table_namespace", b"table_namespace", "target_table", b"target_table", "values_hash", b"values_hash"]) -> None: ...
|
|
252
|
+
@typing.overload
|
|
253
|
+
def WhichOneof(self, oneof_group: typing.Literal["_allow_clones", b"_allow_clones"]) -> typing.Literal["allow_clones"] | None: ...
|
|
225
254
|
@typing.overload
|
|
226
255
|
def WhichOneof(self, oneof_group: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit"]) -> typing.Literal["clone_chain_depth_limit"] | None: ...
|
|
227
256
|
@typing.overload
|
|
@@ -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: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'query_cache_protobuf/query_cache/shared.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-query_cache_protobuf/query_cache/shared.proto\x12\x18\x63om.fivetran.query_cache\"[\n\x11TableModifiedInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x16\n\x14_last_modified_epoch\"(\n\nColumnInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"R\n\x0bTableSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x07\x63olumns\x18\x02 \x03(\x0b\x32$.com.fivetran.query_cache.ColumnInfo\"_\n\x0fQueryDependency\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65\x66\x61ult_schema\x18\x04 \x01(\t\"\xd8\x02\n\x11\x45xplainedDecision\x12?\n\x08\x64\x65\x63ision\x18\x01 \x01(\x0e\x32-.com.fivetran.query_cache.SubmitSQLResultType\x12M\n\x15skip_rejection_reason\x18\x02 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x00\x88\x01\x01\x12N\n\x16\x63lone_rejection_reason\x18\x03 \x01(\x0e\x32).com.fivetran.query_cache.RejectionReasonH\x01\x88\x01\x01\x12\x10\n\x08is_stale\x18\x04 \x01(\x08\x12\x1c\n\x14\x64\x65\x63ision_description\x18\x05 \x01(\tB\x18\n\x16_skip_rejection_reasonB\x19\n\x17_clone_rejection_reason\"\x95\x01\n\x0fNodeFuncMapping\x12O\n\x0cnode_to_func\x18\x01 \x03(\x0b\x32\x39.com.fivetran.query_cache.NodeFuncMapping.NodeToFuncEntry\x1a\x31\n\x0fNodeToFuncEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x04\n\x0c\x44\x62tNodeState\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\x12\x11\n\tnode_hash\x18\x05 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x07 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\t \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\n \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x14\n\x0cprofile_name\x18\x0c \x01(\t\x12\x17\n\nproject_id\x18\r \x01(\tH\x05\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x0f \x01(\tH\x06\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\r\n\x0b_project_idB\x1f\n\x1d_node_database_representationJ\x04\x08\x08\x10\tJ\x04\x08\x0e\x10\x0f*\xc6\x01\n\x12ModelExecutionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\n\n\x06\x41PPEND\x10\x02\x12\t\n\x05MERGE\x10\x03\x12\x14\n\x10INSERT_OVERWRITE\x10\x04\x12\x11\n\rDELETE_INSERT\x10\x05\x12\x0e\n\nMICROBATCH\x10\x06\x12\x0c\n\x08SNAPSHOT\x10\x07\x12\x11\n\rDBT_DATA_TEST\x10\x08\x12\n\n\x06VALUES\x10\t\x12\x08\n\x04VIEW\x10\n\x12\x0e\n\nDBT_CUSTOM\x10\x0b*\xd4\x02\n\x0fRejectionReason\x12\x1c\n\x14NO_FINGERPRINT_MATCH\x10\x00\x1a\x02\x08\x01\x12\x19\n\x15TARGET_TABLE_MISMATCH\x10\x01\x12\x1b\n\x17\x45XECUTION_TYPE_MISMATCH\x10\x02\x12\x1b\n\x17\x45XECUTION_TYPE_NOT_FULL\x10\x03\x12\x1f\n\x1bTARGET_TABLE_DOES_NOT_EXIST\x10\x04\x12\x17\n\x13\x46ORCED_NOT_ELIGIBLE\x10\x05\x12\x1b\n\x17NO_SUITABLE_MATCH_FOUND\x10\x06\x12\x16\n\x12TARGET_TABLE_MATCH\x10\x07\x12\x1f\n\x1bLATEST_QUERY_HASH_NOT_MATCH\x10\x08\x12\x1e\n\x1aOUTSIDE_TIME_TRAVEL_WINDOW\x10\t\x12\x1e\n\x1a\x43LONE_CHAIN_LIMIT_EXCEEDED\x10\n*f\n\x13SubmitSQLResultType\x12\x12\n\x0eSKIP_EXECUTION\x10\x00\x12\x14\n\x10READY_TO_EXECUTE\x10\x01\x12\x12\n\x0eREADY_TO_CLONE\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x04\x08\x02\x10\x02*\'\n\x13StaleUpstreamPolicy\x12\x07\n\x03\x41NY\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.shared_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._loaded_options = None
|
|
35
|
+
_globals['_REJECTIONREASON'].values_by_name["NO_FINGERPRINT_MATCH"]._serialized_options = b'\010\001'
|
|
36
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._loaded_options = None
|
|
37
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_options = b'8\001'
|
|
38
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_start=1461
|
|
39
|
+
_globals['_MODELEXECUTIONTYPE']._serialized_end=1659
|
|
40
|
+
_globals['_REJECTIONREASON']._serialized_start=1662
|
|
41
|
+
_globals['_REJECTIONREASON']._serialized_end=2002
|
|
42
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_start=2004
|
|
43
|
+
_globals['_SUBMITSQLRESULTTYPE']._serialized_end=2106
|
|
44
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_start=2108
|
|
45
|
+
_globals['_STALEUPSTREAMPOLICY']._serialized_end=2147
|
|
46
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_start=75
|
|
47
|
+
_globals['_TABLEMODIFIEDINFO']._serialized_end=166
|
|
48
|
+
_globals['_COLUMNINFO']._serialized_start=168
|
|
49
|
+
_globals['_COLUMNINFO']._serialized_end=208
|
|
50
|
+
_globals['_TABLESCHEMA']._serialized_start=210
|
|
51
|
+
_globals['_TABLESCHEMA']._serialized_end=292
|
|
52
|
+
_globals['_QUERYDEPENDENCY']._serialized_start=294
|
|
53
|
+
_globals['_QUERYDEPENDENCY']._serialized_end=389
|
|
54
|
+
_globals['_EXPLAINEDDECISION']._serialized_start=392
|
|
55
|
+
_globals['_EXPLAINEDDECISION']._serialized_end=736
|
|
56
|
+
_globals['_NODEFUNCMAPPING']._serialized_start=739
|
|
57
|
+
_globals['_NODEFUNCMAPPING']._serialized_end=888
|
|
58
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_start=839
|
|
59
|
+
_globals['_NODEFUNCMAPPING_NODETOFUNCENTRY']._serialized_end=888
|
|
60
|
+
_globals['_DBTNODESTATE']._serialized_start=891
|
|
61
|
+
_globals['_DBTNODESTATE']._serialized_end=1458
|
|
62
|
+
# @@protoc_insertion_point(module_scope)
|