query-cache-protobuf 2.1.0__tar.gz → 2.3.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.1.0 → query_cache_protobuf-2.3.0}/PKG-INFO +1 -1
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +55 -0
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +71 -0
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +65 -0
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +65 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +41 -3
- query_cache_protobuf-2.3.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +4 -1
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -52
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -71
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -62
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -62
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/.gitignore +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/pyproject.toml +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.3.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: query_cache_protobuf/query_cache/services/client_telemetry_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 google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__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 selector_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_selector__service__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nHquery_cache_protobuf/query_cache/services/client_telemetry_service.proto\x12\x18\x63om.fivetran.query_cache\x1a\x1egoogle/protobuf/duration.proto\x1a-query_cache_protobuf/query_cache/struct.proto\x1a@query_cache_protobuf/query_cache/services/selector_service.proto\"\x9a\x01\n\x13SessionStartRequest\x12\x1d\n\x15\x64\x62t_run_cache_version\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x62t_version\x18\x02 \x01(\t\x12\x17\n\x0fsqlglot_version\x18\x03 \x01(\t\x12\x30\n\x06\x63onfig\x18\x05 \x01(\x0b\x32 .com.fivetran.query_cache.StructJ\x04\x08\x04\x10\x05\"?\n\x14SessionStartResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\nsession_id\x18\x02 \x01(\t:\x02\x18\x01\"\x9a\x02\n\x11SessionEndRequest\x12\x33\n\x10session_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x06result\x18\x02 \x01(\x0e\x32\x38.com.fivetran.query_cache.SessionEndRequest.ClientResult\x12\x1a\n\x12result_description\x18\x03 \x01(\t\x12\x31\n\x07metrics\x18\x04 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\"7\n\x0c\x43lientResult\x12\x0b\n\x07SUCCESS\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01\x12\r\n\tCANCELLED\x10\x02\"\xa9\x04\n\x1f\x43lientPrepareEnrichedSQLRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x64uration\x18\x02 \x01(\x01\x12\x1d\n\x10target_table_fqn\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10num_dependencies\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\"\n\x15num_view_dependencies\x18\x05 \x01(\x03H\x02\x88\x01\x01\x12\x17\n\nerror_type\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\'\n\x1aview_traversal_duration_ms\x18\x07 \x01(\x03H\x04\x88\x01\x01\x12&\n\x19last_modified_duration_ms\x18\x08 \x01(\x03H\x05\x88\x01\x01\x12U\n\x06labels\x18\t \x03(\x0b\x32\x45.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x11_target_table_fqnB\x13\n\x11_num_dependenciesB\x18\n\x16_num_view_dependenciesB\r\n\x0b_error_typeB\x1d\n\x1b_view_traversal_duration_msB\x1c\n\x1a_last_modified_duration_ms\"\x83\x03\n\x14\x43lientTelemetryEvent\x12Z\n\x15\x65nriched_sql_prepared\x18\x01 \x01(\x0b\x32\x39.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequestH\x00\x12\x46\n\rsession_start\x18\x02 \x01(\x0b\x32-.com.fivetran.query_cache.SessionStartRequestH\x00\x12\x42\n\x0bsession_end\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.SessionEndRequestH\x00\x12N\n\x15\x63lient_selector_event\x18\x05 \x01(\x0b\x32-.com.fivetran.query_cache.ClientSelectorEventH\x00\x12\x18\n\x0b\x65vent_order\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\t\n\x07requestB\x0e\n\x0c_event_order\"]\n\x1bSubmitTelemetryBatchRequest\x12>\n\x06\x65vents\x18\x01 \x03(\x0b\x32..com.fivetran.query_cache.ClientTelemetryEvent\"/\n\x1cSubmitTelemetryBatchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\xe9\x01\n\x13\x43lientSelectorEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x12\n\ndbt_target\x18\x03 \x01(\t\x12\x45\n\x11selector_criteria\x18\x04 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x11\n\tnum_nodes\x18\x06 \x01(\x03\x12\x1a\n\x12processing_time_ms\x18\x07 \x01(\x03\x12 \n\x18hash_calculation_time_ms\x18\x08 \x01(\x03\x32\x95\x02\n\x0f\x43lientTelemetry\x12z\n\x14RegisterSessionStart\x12-.com.fivetran.query_cache.SessionStartRequest\x1a..com.fivetran.query_cache.SessionStartResponse\"\x03\x88\x02\x01\x12\x85\x01\n\x14SubmitTelemetryBatch\x12\x35.com.fivetran.query_cache.SubmitTelemetryBatchRequest\x1a\x36.com.fivetran.query_cache.SubmitTelemetryBatchResponseb\x06proto3')
|
|
21
|
+
|
|
22
|
+
_globals = globals()
|
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
|
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
+
DESCRIPTOR._options = None
|
|
27
|
+
_globals['_SESSIONSTARTRESPONSE']._options = None
|
|
28
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
|
|
29
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._options = None
|
|
30
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
31
|
+
_globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._options = None
|
|
32
|
+
_globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
|
|
33
|
+
_globals['_SESSIONSTARTREQUEST']._serialized_start=248
|
|
34
|
+
_globals['_SESSIONSTARTREQUEST']._serialized_end=402
|
|
35
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_start=404
|
|
36
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_end=467
|
|
37
|
+
_globals['_SESSIONENDREQUEST']._serialized_start=470
|
|
38
|
+
_globals['_SESSIONENDREQUEST']._serialized_end=752
|
|
39
|
+
_globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=697
|
|
40
|
+
_globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=752
|
|
41
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=755
|
|
42
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1308
|
|
43
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1119
|
|
44
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1164
|
|
45
|
+
_globals['_CLIENTTELEMETRYEVENT']._serialized_start=1311
|
|
46
|
+
_globals['_CLIENTTELEMETRYEVENT']._serialized_end=1698
|
|
47
|
+
_globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1700
|
|
48
|
+
_globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1793
|
|
49
|
+
_globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1795
|
|
50
|
+
_globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1842
|
|
51
|
+
_globals['_CLIENTSELECTOREVENT']._serialized_start=1845
|
|
52
|
+
_globals['_CLIENTSELECTOREVENT']._serialized_end=2078
|
|
53
|
+
_globals['_CLIENTTELEMETRY']._serialized_start=2081
|
|
54
|
+
_globals['_CLIENTTELEMETRY']._serialized_end=2358
|
|
55
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -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\"\xf5\t\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\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_namespaceJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\r\"\xaa\x06\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\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_namespace\"\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=1516
|
|
43
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1240
|
|
44
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1293
|
|
45
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1295
|
|
46
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1340
|
|
47
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1519
|
|
48
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2329
|
|
49
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1240
|
|
50
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1293
|
|
51
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1295
|
|
52
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1340
|
|
53
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2332
|
|
54
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2596
|
|
55
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2599
|
|
56
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3039
|
|
57
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=2902
|
|
58
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3007
|
|
59
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3042
|
|
60
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3548
|
|
61
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=2902
|
|
62
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3007
|
|
63
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3550
|
|
64
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3583
|
|
65
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3585
|
|
66
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3604
|
|
67
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3607
|
|
68
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=3961
|
|
69
|
+
_globals['_SQL']._serialized_start=3964
|
|
70
|
+
_globals['_SQL']._serialized_end=4336
|
|
71
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,65 @@
|
|
|
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/client_telemetry_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/client_telemetry_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__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 selector_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_selector__service__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nHquery_cache_protobuf/query_cache/services/client_telemetry_service.proto\x12\x18\x63om.fivetran.query_cache\x1a\x1egoogle/protobuf/duration.proto\x1a-query_cache_protobuf/query_cache/struct.proto\x1a@query_cache_protobuf/query_cache/services/selector_service.proto\"\x9a\x01\n\x13SessionStartRequest\x12\x1d\n\x15\x64\x62t_run_cache_version\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x62t_version\x18\x02 \x01(\t\x12\x17\n\x0fsqlglot_version\x18\x03 \x01(\t\x12\x30\n\x06\x63onfig\x18\x05 \x01(\x0b\x32 .com.fivetran.query_cache.StructJ\x04\x08\x04\x10\x05\"?\n\x14SessionStartResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\nsession_id\x18\x02 \x01(\t:\x02\x18\x01\"\x9a\x02\n\x11SessionEndRequest\x12\x33\n\x10session_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x06result\x18\x02 \x01(\x0e\x32\x38.com.fivetran.query_cache.SessionEndRequest.ClientResult\x12\x1a\n\x12result_description\x18\x03 \x01(\t\x12\x31\n\x07metrics\x18\x04 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\"7\n\x0c\x43lientResult\x12\x0b\n\x07SUCCESS\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01\x12\r\n\tCANCELLED\x10\x02\"\xa9\x04\n\x1f\x43lientPrepareEnrichedSQLRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x64uration\x18\x02 \x01(\x01\x12\x1d\n\x10target_table_fqn\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10num_dependencies\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\"\n\x15num_view_dependencies\x18\x05 \x01(\x03H\x02\x88\x01\x01\x12\x17\n\nerror_type\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\'\n\x1aview_traversal_duration_ms\x18\x07 \x01(\x03H\x04\x88\x01\x01\x12&\n\x19last_modified_duration_ms\x18\x08 \x01(\x03H\x05\x88\x01\x01\x12U\n\x06labels\x18\t \x03(\x0b\x32\x45.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x11_target_table_fqnB\x13\n\x11_num_dependenciesB\x18\n\x16_num_view_dependenciesB\r\n\x0b_error_typeB\x1d\n\x1b_view_traversal_duration_msB\x1c\n\x1a_last_modified_duration_ms\"\x83\x03\n\x14\x43lientTelemetryEvent\x12Z\n\x15\x65nriched_sql_prepared\x18\x01 \x01(\x0b\x32\x39.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequestH\x00\x12\x46\n\rsession_start\x18\x02 \x01(\x0b\x32-.com.fivetran.query_cache.SessionStartRequestH\x00\x12\x42\n\x0bsession_end\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.SessionEndRequestH\x00\x12N\n\x15\x63lient_selector_event\x18\x05 \x01(\x0b\x32-.com.fivetran.query_cache.ClientSelectorEventH\x00\x12\x18\n\x0b\x65vent_order\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\t\n\x07requestB\x0e\n\x0c_event_order\"]\n\x1bSubmitTelemetryBatchRequest\x12>\n\x06\x65vents\x18\x01 \x03(\x0b\x32..com.fivetran.query_cache.ClientTelemetryEvent\"/\n\x1cSubmitTelemetryBatchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\xe9\x01\n\x13\x43lientSelectorEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x12\n\ndbt_target\x18\x03 \x01(\t\x12\x45\n\x11selector_criteria\x18\x04 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x11\n\tnum_nodes\x18\x06 \x01(\x03\x12\x1a\n\x12processing_time_ms\x18\x07 \x01(\x03\x12 \n\x18hash_calculation_time_ms\x18\x08 \x01(\x03\x32\x95\x02\n\x0f\x43lientTelemetry\x12z\n\x14RegisterSessionStart\x12-.com.fivetran.query_cache.SessionStartRequest\x1a..com.fivetran.query_cache.SessionStartResponse\"\x03\x88\x02\x01\x12\x85\x01\n\x14SubmitTelemetryBatch\x12\x35.com.fivetran.query_cache.SubmitTelemetryBatchRequest\x1a\x36.com.fivetran.query_cache.SubmitTelemetryBatchResponseb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_SESSIONSTARTRESPONSE']._loaded_options = None
|
|
38
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
|
|
39
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
|
|
40
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._loaded_options = None
|
|
42
|
+
_globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
|
|
43
|
+
_globals['_SESSIONSTARTREQUEST']._serialized_start=248
|
|
44
|
+
_globals['_SESSIONSTARTREQUEST']._serialized_end=402
|
|
45
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_start=404
|
|
46
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_end=467
|
|
47
|
+
_globals['_SESSIONENDREQUEST']._serialized_start=470
|
|
48
|
+
_globals['_SESSIONENDREQUEST']._serialized_end=752
|
|
49
|
+
_globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=697
|
|
50
|
+
_globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=752
|
|
51
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=755
|
|
52
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1308
|
|
53
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1119
|
|
54
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1164
|
|
55
|
+
_globals['_CLIENTTELEMETRYEVENT']._serialized_start=1311
|
|
56
|
+
_globals['_CLIENTTELEMETRYEVENT']._serialized_end=1698
|
|
57
|
+
_globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1700
|
|
58
|
+
_globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1793
|
|
59
|
+
_globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1795
|
|
60
|
+
_globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1842
|
|
61
|
+
_globals['_CLIENTSELECTOREVENT']._serialized_start=1845
|
|
62
|
+
_globals['_CLIENTSELECTOREVENT']._serialized_end=2078
|
|
63
|
+
_globals['_CLIENTTELEMETRY']._serialized_start=2081
|
|
64
|
+
_globals['_CLIENTTELEMETRY']._serialized_end=2358
|
|
65
|
+
# @@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\"\xf5\t\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\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_namespaceJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\r\"\xaa\x06\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\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_namespace\"\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=1516
|
|
53
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1240
|
|
54
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1293
|
|
55
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1295
|
|
56
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1340
|
|
57
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1519
|
|
58
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2329
|
|
59
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1240
|
|
60
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1293
|
|
61
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1295
|
|
62
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1340
|
|
63
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2332
|
|
64
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2596
|
|
65
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2599
|
|
66
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3039
|
|
67
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=2902
|
|
68
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3007
|
|
69
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3042
|
|
70
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3548
|
|
71
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=2902
|
|
72
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3007
|
|
73
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3550
|
|
74
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3583
|
|
75
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3585
|
|
76
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3604
|
|
77
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3607
|
|
78
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=3961
|
|
79
|
+
_globals['_SQL']._serialized_start=3964
|
|
80
|
+
_globals['_SQL']._serialized_end=4336
|
|
81
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,65 @@
|
|
|
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/client_telemetry_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/client_telemetry_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__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 selector_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_selector__service__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nHquery_cache_protobuf/query_cache/services/client_telemetry_service.proto\x12\x18\x63om.fivetran.query_cache\x1a\x1egoogle/protobuf/duration.proto\x1a-query_cache_protobuf/query_cache/struct.proto\x1a@query_cache_protobuf/query_cache/services/selector_service.proto\"\x9a\x01\n\x13SessionStartRequest\x12\x1d\n\x15\x64\x62t_run_cache_version\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x62t_version\x18\x02 \x01(\t\x12\x17\n\x0fsqlglot_version\x18\x03 \x01(\t\x12\x30\n\x06\x63onfig\x18\x05 \x01(\x0b\x32 .com.fivetran.query_cache.StructJ\x04\x08\x04\x10\x05\"?\n\x14SessionStartResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\nsession_id\x18\x02 \x01(\t:\x02\x18\x01\"\x9a\x02\n\x11SessionEndRequest\x12\x33\n\x10session_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x06result\x18\x02 \x01(\x0e\x32\x38.com.fivetran.query_cache.SessionEndRequest.ClientResult\x12\x1a\n\x12result_description\x18\x03 \x01(\t\x12\x31\n\x07metrics\x18\x04 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\"7\n\x0c\x43lientResult\x12\x0b\n\x07SUCCESS\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01\x12\r\n\tCANCELLED\x10\x02\"\xa9\x04\n\x1f\x43lientPrepareEnrichedSQLRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x64uration\x18\x02 \x01(\x01\x12\x1d\n\x10target_table_fqn\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10num_dependencies\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\"\n\x15num_view_dependencies\x18\x05 \x01(\x03H\x02\x88\x01\x01\x12\x17\n\nerror_type\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\'\n\x1aview_traversal_duration_ms\x18\x07 \x01(\x03H\x04\x88\x01\x01\x12&\n\x19last_modified_duration_ms\x18\x08 \x01(\x03H\x05\x88\x01\x01\x12U\n\x06labels\x18\t \x03(\x0b\x32\x45.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x11_target_table_fqnB\x13\n\x11_num_dependenciesB\x18\n\x16_num_view_dependenciesB\r\n\x0b_error_typeB\x1d\n\x1b_view_traversal_duration_msB\x1c\n\x1a_last_modified_duration_ms\"\x83\x03\n\x14\x43lientTelemetryEvent\x12Z\n\x15\x65nriched_sql_prepared\x18\x01 \x01(\x0b\x32\x39.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequestH\x00\x12\x46\n\rsession_start\x18\x02 \x01(\x0b\x32-.com.fivetran.query_cache.SessionStartRequestH\x00\x12\x42\n\x0bsession_end\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.SessionEndRequestH\x00\x12N\n\x15\x63lient_selector_event\x18\x05 \x01(\x0b\x32-.com.fivetran.query_cache.ClientSelectorEventH\x00\x12\x18\n\x0b\x65vent_order\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\t\n\x07requestB\x0e\n\x0c_event_order\"]\n\x1bSubmitTelemetryBatchRequest\x12>\n\x06\x65vents\x18\x01 \x03(\x0b\x32..com.fivetran.query_cache.ClientTelemetryEvent\"/\n\x1cSubmitTelemetryBatchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\xe9\x01\n\x13\x43lientSelectorEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x12\n\ndbt_target\x18\x03 \x01(\t\x12\x45\n\x11selector_criteria\x18\x04 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x11\n\tnum_nodes\x18\x06 \x01(\x03\x12\x1a\n\x12processing_time_ms\x18\x07 \x01(\x03\x12 \n\x18hash_calculation_time_ms\x18\x08 \x01(\x03\x32\x95\x02\n\x0f\x43lientTelemetry\x12z\n\x14RegisterSessionStart\x12-.com.fivetran.query_cache.SessionStartRequest\x1a..com.fivetran.query_cache.SessionStartResponse\"\x03\x88\x02\x01\x12\x85\x01\n\x14SubmitTelemetryBatch\x12\x35.com.fivetran.query_cache.SubmitTelemetryBatchRequest\x1a\x36.com.fivetran.query_cache.SubmitTelemetryBatchResponseb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_SESSIONSTARTRESPONSE']._loaded_options = None
|
|
38
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
|
|
39
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
|
|
40
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._loaded_options = None
|
|
42
|
+
_globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
|
|
43
|
+
_globals['_SESSIONSTARTREQUEST']._serialized_start=248
|
|
44
|
+
_globals['_SESSIONSTARTREQUEST']._serialized_end=402
|
|
45
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_start=404
|
|
46
|
+
_globals['_SESSIONSTARTRESPONSE']._serialized_end=467
|
|
47
|
+
_globals['_SESSIONENDREQUEST']._serialized_start=470
|
|
48
|
+
_globals['_SESSIONENDREQUEST']._serialized_end=752
|
|
49
|
+
_globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=697
|
|
50
|
+
_globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=752
|
|
51
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=755
|
|
52
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1308
|
|
53
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1119
|
|
54
|
+
_globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1164
|
|
55
|
+
_globals['_CLIENTTELEMETRYEVENT']._serialized_start=1311
|
|
56
|
+
_globals['_CLIENTTELEMETRYEVENT']._serialized_end=1698
|
|
57
|
+
_globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1700
|
|
58
|
+
_globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1793
|
|
59
|
+
_globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1795
|
|
60
|
+
_globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1842
|
|
61
|
+
_globals['_CLIENTSELECTOREVENT']._serialized_start=1845
|
|
62
|
+
_globals['_CLIENTSELECTOREVENT']._serialized_end=2078
|
|
63
|
+
_globals['_CLIENTTELEMETRY']._serialized_start=2081
|
|
64
|
+
_globals['_CLIENTTELEMETRY']._serialized_end=2358
|
|
65
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ import google.protobuf.duration_pb2
|
|
|
10
10
|
import google.protobuf.internal.containers
|
|
11
11
|
import google.protobuf.internal.enum_type_wrapper
|
|
12
12
|
import google.protobuf.message
|
|
13
|
+
import query_cache_protobuf.query_cache.services.selector_service_pb2
|
|
13
14
|
import query_cache_protobuf.query_cache.struct_pb2
|
|
14
15
|
import sys
|
|
15
16
|
import typing
|
|
@@ -200,6 +201,7 @@ class ClientTelemetryEvent(google.protobuf.message.Message):
|
|
|
200
201
|
ENRICHED_SQL_PREPARED_FIELD_NUMBER: builtins.int
|
|
201
202
|
SESSION_START_FIELD_NUMBER: builtins.int
|
|
202
203
|
SESSION_END_FIELD_NUMBER: builtins.int
|
|
204
|
+
CLIENT_SELECTOR_EVENT_FIELD_NUMBER: builtins.int
|
|
203
205
|
EVENT_ORDER_FIELD_NUMBER: builtins.int
|
|
204
206
|
event_order: builtins.int
|
|
205
207
|
@property
|
|
@@ -212,20 +214,23 @@ class ClientTelemetryEvent(google.protobuf.message.Message):
|
|
|
212
214
|
future event payloads should be called FooEvent, not FooRequest
|
|
213
215
|
"""
|
|
214
216
|
|
|
217
|
+
@property
|
|
218
|
+
def client_selector_event(self) -> global___ClientSelectorEvent: ...
|
|
215
219
|
def __init__(
|
|
216
220
|
self,
|
|
217
221
|
*,
|
|
218
222
|
enriched_sql_prepared: global___ClientPrepareEnrichedSQLRequest | None = ...,
|
|
219
223
|
session_start: global___SessionStartRequest | None = ...,
|
|
220
224
|
session_end: global___SessionEndRequest | None = ...,
|
|
225
|
+
client_selector_event: global___ClientSelectorEvent | None = ...,
|
|
221
226
|
event_order: builtins.int | None = ...,
|
|
222
227
|
) -> None: ...
|
|
223
|
-
def HasField(self, field_name: typing.Literal["_event_order", b"_event_order", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> builtins.bool: ...
|
|
224
|
-
def ClearField(self, field_name: typing.Literal["_event_order", b"_event_order", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> None: ...
|
|
228
|
+
def HasField(self, field_name: typing.Literal["_event_order", b"_event_order", "client_selector_event", b"client_selector_event", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> builtins.bool: ...
|
|
229
|
+
def ClearField(self, field_name: typing.Literal["_event_order", b"_event_order", "client_selector_event", b"client_selector_event", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> None: ...
|
|
225
230
|
@typing.overload
|
|
226
231
|
def WhichOneof(self, oneof_group: typing.Literal["_event_order", b"_event_order"]) -> typing.Literal["event_order"] | None: ...
|
|
227
232
|
@typing.overload
|
|
228
|
-
def WhichOneof(self, oneof_group: typing.Literal["request", b"request"]) -> typing.Literal["enriched_sql_prepared", "session_start", "session_end"] | None: ...
|
|
233
|
+
def WhichOneof(self, oneof_group: typing.Literal["request", b"request"]) -> typing.Literal["enriched_sql_prepared", "session_start", "session_end", "client_selector_event"] | None: ...
|
|
229
234
|
|
|
230
235
|
global___ClientTelemetryEvent = ClientTelemetryEvent
|
|
231
236
|
|
|
@@ -259,3 +264,36 @@ class SubmitTelemetryBatchResponse(google.protobuf.message.Message):
|
|
|
259
264
|
def ClearField(self, field_name: typing.Literal["success", b"success"]) -> None: ...
|
|
260
265
|
|
|
261
266
|
global___SubmitTelemetryBatchResponse = SubmitTelemetryBatchResponse
|
|
267
|
+
|
|
268
|
+
@typing.final
|
|
269
|
+
class ClientSelectorEvent(google.protobuf.message.Message):
|
|
270
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
271
|
+
|
|
272
|
+
REQUEST_ID_FIELD_NUMBER: builtins.int
|
|
273
|
+
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
274
|
+
DBT_TARGET_FIELD_NUMBER: builtins.int
|
|
275
|
+
SELECTOR_CRITERIA_FIELD_NUMBER: builtins.int
|
|
276
|
+
NUM_NODES_FIELD_NUMBER: builtins.int
|
|
277
|
+
PROCESSING_TIME_MS_FIELD_NUMBER: builtins.int
|
|
278
|
+
HASH_CALCULATION_TIME_MS_FIELD_NUMBER: builtins.int
|
|
279
|
+
request_id: builtins.str
|
|
280
|
+
project_id: builtins.str
|
|
281
|
+
dbt_target: builtins.str
|
|
282
|
+
selector_criteria: query_cache_protobuf.query_cache.services.selector_service_pb2.SelectorCriteria.ValueType
|
|
283
|
+
num_nodes: builtins.int
|
|
284
|
+
processing_time_ms: builtins.int
|
|
285
|
+
hash_calculation_time_ms: builtins.int
|
|
286
|
+
def __init__(
|
|
287
|
+
self,
|
|
288
|
+
*,
|
|
289
|
+
request_id: builtins.str = ...,
|
|
290
|
+
project_id: builtins.str = ...,
|
|
291
|
+
dbt_target: builtins.str = ...,
|
|
292
|
+
selector_criteria: query_cache_protobuf.query_cache.services.selector_service_pb2.SelectorCriteria.ValueType = ...,
|
|
293
|
+
num_nodes: builtins.int = ...,
|
|
294
|
+
processing_time_ms: builtins.int = ...,
|
|
295
|
+
hash_calculation_time_ms: builtins.int = ...,
|
|
296
|
+
) -> None: ...
|
|
297
|
+
def ClearField(self, field_name: typing.Literal["dbt_target", b"dbt_target", "hash_calculation_time_ms", b"hash_calculation_time_ms", "num_nodes", b"num_nodes", "processing_time_ms", b"processing_time_ms", "project_id", b"project_id", "request_id", b"request_id", "selector_criteria", b"selector_criteria"]) -> None: ...
|
|
298
|
+
|
|
299
|
+
global___ClientSelectorEvent = ClientSelectorEvent
|
|
@@ -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\"\xf5\t\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\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_namespaceJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\r\"\xaa\x06\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\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_namespace\"\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=1516
|
|
53
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1240
|
|
54
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1293
|
|
55
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1295
|
|
56
|
+
_globals['_SUBMITENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1340
|
|
57
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_start=1519
|
|
58
|
+
_globals['_SUBMITVALUESREQUEST']._serialized_end=2329
|
|
59
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_start=1240
|
|
60
|
+
_globals['_SUBMITVALUESREQUEST_SEMANTICEXTRASENTRY']._serialized_end=1293
|
|
61
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_start=1295
|
|
62
|
+
_globals['_SUBMITVALUESREQUEST_LABELSENTRY']._serialized_end=1340
|
|
63
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_start=2332
|
|
64
|
+
_globals['_SUBMITSQLRESPONSE']._serialized_end=2596
|
|
65
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_start=2599
|
|
66
|
+
_globals['_READYTOEXECUTERESPONSE']._serialized_end=3039
|
|
67
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=2902
|
|
68
|
+
_globals['_READYTOEXECUTERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3007
|
|
69
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_start=3042
|
|
70
|
+
_globals['_SKIPEXECUTIONRESPONSE']._serialized_end=3548
|
|
71
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=2902
|
|
72
|
+
_globals['_SKIPEXECUTIONRESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=3007
|
|
73
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_start=3550
|
|
74
|
+
_globals['_READYTOEXECUTEUNTRACKEDRESPONSE']._serialized_end=3583
|
|
75
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_start=3585
|
|
76
|
+
_globals['_UNDECIDEDRESPONSE']._serialized_end=3604
|
|
77
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_start=3607
|
|
78
|
+
_globals['_SUBMITSQLSPECULATIVERESPONSE']._serialized_end=3961
|
|
79
|
+
_globals['_SQL']._serialized_start=3964
|
|
80
|
+
_globals['_SQL']._serialized_end=4336
|
|
81
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -70,6 +70,7 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
70
70
|
DEFAULT_SCHEMA_FIELD_NUMBER: builtins.int
|
|
71
71
|
COMPARE_UNRENDERED_CODE_FIELD_NUMBER: builtins.int
|
|
72
72
|
TABLE_NAMESPACE_FIELD_NUMBER: builtins.int
|
|
73
|
+
IGNORE_EXTERNAL_MODIFICATIONS_FIELD_NUMBER: builtins.int
|
|
73
74
|
target_table: builtins.str
|
|
74
75
|
dialect: builtins.str
|
|
75
76
|
default_catalog: builtins.str
|
|
@@ -83,6 +84,7 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
83
84
|
default_schema: builtins.str
|
|
84
85
|
compare_unrendered_code: builtins.bool
|
|
85
86
|
table_namespace: builtins.str
|
|
87
|
+
ignore_external_modifications: builtins.bool
|
|
86
88
|
@property
|
|
87
89
|
def tables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[query_cache_protobuf.query_cache.shared_pb2.TableModifiedInfo]: ...
|
|
88
90
|
@property
|
|
@@ -117,9 +119,10 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
|
|
|
117
119
|
default_schema: builtins.str | None = ...,
|
|
118
120
|
compare_unrendered_code: builtins.bool = ...,
|
|
119
121
|
table_namespace: builtins.str | None = ...,
|
|
122
|
+
ignore_external_modifications: builtins.bool = ...,
|
|
120
123
|
) -> None: ...
|
|
121
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: ...
|
|
122
|
-
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", "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: ...
|
|
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: ...
|
|
123
126
|
@typing.overload
|
|
124
127
|
def WhichOneof(self, oneof_group: typing.Literal["_clone_chain_depth_limit", b"_clone_chain_depth_limit"]) -> typing.Literal["clone_chain_depth_limit"] | None: ...
|
|
125
128
|
@typing.overload
|