query-cache-protobuf 2.3.1__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.
Files changed (90) hide show
  1. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/PKG-INFO +1 -1
  2. query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +71 -0
  3. query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +52 -0
  4. query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
  5. query_cache_protobuf-2.4.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +62 -0
  6. query_cache_protobuf-2.4.0/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +81 -0
  7. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +8 -1
  8. query_cache_protobuf-2.4.0/src/query_cache_protobuf/query_cache/shared_pb2.py +62 -0
  9. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +39 -0
  10. query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -71
  11. query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -48
  12. query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
  13. query_cache_protobuf-2.3.1/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -58
  14. query_cache_protobuf-2.3.1/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -81
  15. query_cache_protobuf-2.3.1/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -58
  16. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/.gitignore +0 -0
  17. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/pyproject.toml +0 -0
  18. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/__init__.py +0 -0
  19. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
  20. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
  21. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
  22. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  23. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
  24. {query_cache_protobuf-2.3.1 → 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
  25. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  26. {query_cache_protobuf-2.3.1 → 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
  27. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  28. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  29. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  30. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  31. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  32. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  33. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  34. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  35. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
  36. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  37. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  38. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  39. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  40. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
  41. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
  42. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
  43. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
  44. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  45. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
  46. {query_cache_protobuf-2.3.1 → 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
  47. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  48. {query_cache_protobuf-2.3.1 → 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
  49. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  50. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  51. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  52. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  53. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  54. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  55. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  56. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  57. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
  58. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  59. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  60. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  61. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  62. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
  63. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
  64. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  65. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
  66. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +0 -0
  67. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
  68. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  69. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
  70. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
  71. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  72. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
  73. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  74. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  75. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
  76. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  77. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  78. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
  79. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  80. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  81. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
  82. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  83. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
  84. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
  85. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  86. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  87. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  88. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  89. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
  90. {query_cache_protobuf-2.3.1 → query_cache_protobuf-2.4.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: query-cache-protobuf
3
- Version: 2.3.1
3
+ Version: 2.4.0
4
4
  Summary: Generated protobuf code for Query Cache
5
5
  License:
6
6
  Apache License
@@ -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)
@@ -74,6 +74,8 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
74
74
  ALLOW_CLONES_FIELD_NUMBER: builtins.int
75
75
  IS_DEFER_TO_PROFILE_FIELD_NUMBER: builtins.int
76
76
  DEFER_ENABLED_FIELD_NUMBER: builtins.int
77
+ TABLE_SCHEMAS_FIELD_NUMBER: builtins.int
78
+ COMPARE_SELECTED_COLUMNS_FIELD_NUMBER: builtins.int
77
79
  target_table: builtins.str
78
80
  dialect: builtins.str
79
81
  default_catalog: builtins.str
@@ -91,6 +93,7 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
91
93
  allow_clones: builtins.bool
92
94
  is_defer_to_profile: builtins.bool
93
95
  defer_enabled: builtins.bool
96
+ compare_selected_columns: builtins.bool
94
97
  @property
95
98
  def tables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[query_cache_protobuf.query_cache.shared_pb2.TableModifiedInfo]: ...
96
99
  @property
@@ -103,6 +106,8 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
103
106
  def clone_table_properties(self) -> query_cache_protobuf.query_cache.services.clone_service_pb2.TableProperties: ...
104
107
  @property
105
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]: ...
106
111
  def __init__(
107
112
  self,
108
113
  *,
@@ -129,9 +134,11 @@ class SubmitEnrichedSQLRequest(google.protobuf.message.Message):
129
134
  allow_clones: builtins.bool | None = ...,
130
135
  is_defer_to_profile: builtins.bool = ...,
131
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 = ...,
132
139
  ) -> None: ...
133
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: ...
134
- 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_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", "tables", b"tables", "target_table", b"target_table", "tolerate_nondeterminism", b"tolerate_nondeterminism"]) -> None: ...
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: ...
135
142
  @typing.overload
136
143
  def WhichOneof(self, oneof_group: typing.Literal["_allow_clones", b"_allow_clones"]) -> typing.Literal["allow_clones"] | None: ...
137
144
  @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)
@@ -141,6 +141,45 @@ class TableModifiedInfo(google.protobuf.message.Message):
141
141
 
142
142
  global___TableModifiedInfo = TableModifiedInfo
143
143
 
144
+ @typing.final
145
+ class ColumnInfo(google.protobuf.message.Message):
146
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
147
+
148
+ NAME_FIELD_NUMBER: builtins.int
149
+ TYPE_FIELD_NUMBER: builtins.int
150
+ name: builtins.str
151
+ type: builtins.str
152
+ def __init__(
153
+ self,
154
+ *,
155
+ name: builtins.str = ...,
156
+ type: builtins.str = ...,
157
+ ) -> None: ...
158
+ def ClearField(self, field_name: typing.Literal["name", b"name", "type", b"type"]) -> None: ...
159
+
160
+ global___ColumnInfo = ColumnInfo
161
+
162
+ @typing.final
163
+ class TableSchema(google.protobuf.message.Message):
164
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
165
+
166
+ NAME_FIELD_NUMBER: builtins.int
167
+ COLUMNS_FIELD_NUMBER: builtins.int
168
+ name: builtins.str
169
+ @property
170
+ def columns(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ColumnInfo]:
171
+ """a repeated field (not a map) so column order is deterministic"""
172
+
173
+ def __init__(
174
+ self,
175
+ *,
176
+ name: builtins.str = ...,
177
+ columns: collections.abc.Iterable[global___ColumnInfo] | None = ...,
178
+ ) -> None: ...
179
+ def ClearField(self, field_name: typing.Literal["columns", b"columns", "name", b"name"]) -> None: ...
180
+
181
+ global___TableSchema = TableSchema
182
+
144
183
  @typing.final
145
184
  class QueryDependency(google.protobuf.message.Message):
146
185
  DESCRIPTOR: google.protobuf.descriptor.Descriptor