dbt-adapters 0.1.0a1__py3-none-any.whl

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.

Potentially problematic release.


This version of dbt-adapters might be problematic. Click here for more details.

Files changed (147) hide show
  1. dbt/__init__.py +0 -0
  2. dbt/adapters/__about__.py +1 -0
  3. dbt/adapters/__init__.py +7 -0
  4. dbt/adapters/base/README.md +13 -0
  5. dbt/adapters/base/__init__.py +15 -0
  6. dbt/adapters/base/column.py +166 -0
  7. dbt/adapters/base/connections.py +426 -0
  8. dbt/adapters/base/impl.py +1654 -0
  9. dbt/adapters/base/meta.py +131 -0
  10. dbt/adapters/base/plugin.py +32 -0
  11. dbt/adapters/base/query_headers.py +101 -0
  12. dbt/adapters/base/relation.py +471 -0
  13. dbt/adapters/cache.py +521 -0
  14. dbt/adapters/capability.py +52 -0
  15. dbt/adapters/clients/__init__.py +0 -0
  16. dbt/adapters/clients/jinja.py +24 -0
  17. dbt/adapters/contracts/__init__.py +0 -0
  18. dbt/adapters/contracts/connection.py +228 -0
  19. dbt/adapters/contracts/macros.py +11 -0
  20. dbt/adapters/contracts/relation.py +125 -0
  21. dbt/adapters/events/README.md +57 -0
  22. dbt/adapters/events/__init__.py +0 -0
  23. dbt/adapters/events/adapter_types.proto +517 -0
  24. dbt/adapters/events/adapter_types_pb2.py +208 -0
  25. dbt/adapters/events/base_types.py +40 -0
  26. dbt/adapters/events/logging.py +83 -0
  27. dbt/adapters/events/types.py +423 -0
  28. dbt/adapters/exceptions/__init__.py +40 -0
  29. dbt/adapters/exceptions/alias.py +24 -0
  30. dbt/adapters/exceptions/cache.py +68 -0
  31. dbt/adapters/exceptions/compilation.py +255 -0
  32. dbt/adapters/exceptions/connection.py +16 -0
  33. dbt/adapters/exceptions/database.py +51 -0
  34. dbt/adapters/factory.py +246 -0
  35. dbt/adapters/protocol.py +173 -0
  36. dbt/adapters/reference_keys.py +39 -0
  37. dbt/adapters/relation_configs/README.md +25 -0
  38. dbt/adapters/relation_configs/__init__.py +12 -0
  39. dbt/adapters/relation_configs/config_base.py +44 -0
  40. dbt/adapters/relation_configs/config_change.py +24 -0
  41. dbt/adapters/relation_configs/config_validation.py +57 -0
  42. dbt/adapters/sql/__init__.py +2 -0
  43. dbt/adapters/sql/connections.py +195 -0
  44. dbt/adapters/sql/impl.py +273 -0
  45. dbt/adapters/utils.py +69 -0
  46. dbt/include/global_project/__init__.py +4 -0
  47. dbt/include/global_project/dbt_project.yml +7 -0
  48. dbt/include/global_project/docs/overview.md +43 -0
  49. dbt/include/global_project/macros/adapters/apply_grants.sql +167 -0
  50. dbt/include/global_project/macros/adapters/columns.sql +137 -0
  51. dbt/include/global_project/macros/adapters/freshness.sql +16 -0
  52. dbt/include/global_project/macros/adapters/indexes.sql +41 -0
  53. dbt/include/global_project/macros/adapters/metadata.sql +96 -0
  54. dbt/include/global_project/macros/adapters/persist_docs.sql +33 -0
  55. dbt/include/global_project/macros/adapters/relation.sql +79 -0
  56. dbt/include/global_project/macros/adapters/schema.sql +20 -0
  57. dbt/include/global_project/macros/adapters/show.sql +22 -0
  58. dbt/include/global_project/macros/adapters/timestamps.sql +44 -0
  59. dbt/include/global_project/macros/adapters/validate_sql.sql +10 -0
  60. dbt/include/global_project/macros/etc/datetime.sql +62 -0
  61. dbt/include/global_project/macros/etc/statement.sql +52 -0
  62. dbt/include/global_project/macros/generic_test_sql/accepted_values.sql +27 -0
  63. dbt/include/global_project/macros/generic_test_sql/not_null.sql +9 -0
  64. dbt/include/global_project/macros/generic_test_sql/relationships.sql +23 -0
  65. dbt/include/global_project/macros/generic_test_sql/unique.sql +12 -0
  66. dbt/include/global_project/macros/get_custom_name/get_custom_alias.sql +36 -0
  67. dbt/include/global_project/macros/get_custom_name/get_custom_database.sql +32 -0
  68. dbt/include/global_project/macros/get_custom_name/get_custom_schema.sql +60 -0
  69. dbt/include/global_project/macros/materializations/configs.sql +21 -0
  70. dbt/include/global_project/macros/materializations/hooks.sql +35 -0
  71. dbt/include/global_project/macros/materializations/models/clone/can_clone_table.sql +7 -0
  72. dbt/include/global_project/macros/materializations/models/clone/clone.sql +67 -0
  73. dbt/include/global_project/macros/materializations/models/clone/create_or_replace_clone.sql +7 -0
  74. dbt/include/global_project/macros/materializations/models/incremental/column_helpers.sql +80 -0
  75. dbt/include/global_project/macros/materializations/models/incremental/incremental.sql +92 -0
  76. dbt/include/global_project/macros/materializations/models/incremental/is_incremental.sql +13 -0
  77. dbt/include/global_project/macros/materializations/models/incremental/merge.sql +131 -0
  78. dbt/include/global_project/macros/materializations/models/incremental/on_schema_change.sql +144 -0
  79. dbt/include/global_project/macros/materializations/models/incremental/strategies.sql +79 -0
  80. dbt/include/global_project/macros/materializations/models/materialized_view.sql +121 -0
  81. dbt/include/global_project/macros/materializations/models/table.sql +64 -0
  82. dbt/include/global_project/macros/materializations/models/view.sql +72 -0
  83. dbt/include/global_project/macros/materializations/seeds/helpers.sql +128 -0
  84. dbt/include/global_project/macros/materializations/seeds/seed.sql +60 -0
  85. dbt/include/global_project/macros/materializations/snapshots/helpers.sql +181 -0
  86. dbt/include/global_project/macros/materializations/snapshots/snapshot.sql +99 -0
  87. dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql +25 -0
  88. dbt/include/global_project/macros/materializations/snapshots/strategies.sql +174 -0
  89. dbt/include/global_project/macros/materializations/tests/helpers.sql +14 -0
  90. dbt/include/global_project/macros/materializations/tests/test.sql +60 -0
  91. dbt/include/global_project/macros/materializations/tests/where_subquery.sql +15 -0
  92. dbt/include/global_project/macros/python_model/python.sql +103 -0
  93. dbt/include/global_project/macros/relations/column/columns_spec_ddl.sql +89 -0
  94. dbt/include/global_project/macros/relations/create.sql +23 -0
  95. dbt/include/global_project/macros/relations/create_backup.sql +17 -0
  96. dbt/include/global_project/macros/relations/create_intermediate.sql +17 -0
  97. dbt/include/global_project/macros/relations/drop.sql +41 -0
  98. dbt/include/global_project/macros/relations/drop_backup.sql +14 -0
  99. dbt/include/global_project/macros/relations/materialized_view/alter.sql +55 -0
  100. dbt/include/global_project/macros/relations/materialized_view/create.sql +10 -0
  101. dbt/include/global_project/macros/relations/materialized_view/drop.sql +14 -0
  102. dbt/include/global_project/macros/relations/materialized_view/refresh.sql +9 -0
  103. dbt/include/global_project/macros/relations/materialized_view/rename.sql +10 -0
  104. dbt/include/global_project/macros/relations/materialized_view/replace.sql +10 -0
  105. dbt/include/global_project/macros/relations/rename.sql +35 -0
  106. dbt/include/global_project/macros/relations/rename_intermediate.sql +14 -0
  107. dbt/include/global_project/macros/relations/replace.sql +50 -0
  108. dbt/include/global_project/macros/relations/schema.sql +8 -0
  109. dbt/include/global_project/macros/relations/table/create.sql +60 -0
  110. dbt/include/global_project/macros/relations/table/drop.sql +14 -0
  111. dbt/include/global_project/macros/relations/table/rename.sql +10 -0
  112. dbt/include/global_project/macros/relations/table/replace.sql +10 -0
  113. dbt/include/global_project/macros/relations/view/create.sql +27 -0
  114. dbt/include/global_project/macros/relations/view/drop.sql +14 -0
  115. dbt/include/global_project/macros/relations/view/rename.sql +10 -0
  116. dbt/include/global_project/macros/relations/view/replace.sql +66 -0
  117. dbt/include/global_project/macros/utils/any_value.sql +9 -0
  118. dbt/include/global_project/macros/utils/array_append.sql +8 -0
  119. dbt/include/global_project/macros/utils/array_concat.sql +7 -0
  120. dbt/include/global_project/macros/utils/array_construct.sql +12 -0
  121. dbt/include/global_project/macros/utils/bool_or.sql +9 -0
  122. dbt/include/global_project/macros/utils/cast_bool_to_text.sql +7 -0
  123. dbt/include/global_project/macros/utils/concat.sql +7 -0
  124. dbt/include/global_project/macros/utils/data_types.sql +129 -0
  125. dbt/include/global_project/macros/utils/date_spine.sql +75 -0
  126. dbt/include/global_project/macros/utils/date_trunc.sql +7 -0
  127. dbt/include/global_project/macros/utils/dateadd.sql +14 -0
  128. dbt/include/global_project/macros/utils/datediff.sql +14 -0
  129. dbt/include/global_project/macros/utils/escape_single_quotes.sql +8 -0
  130. dbt/include/global_project/macros/utils/except.sql +9 -0
  131. dbt/include/global_project/macros/utils/generate_series.sql +53 -0
  132. dbt/include/global_project/macros/utils/hash.sql +7 -0
  133. dbt/include/global_project/macros/utils/intersect.sql +9 -0
  134. dbt/include/global_project/macros/utils/last_day.sql +15 -0
  135. dbt/include/global_project/macros/utils/length.sql +11 -0
  136. dbt/include/global_project/macros/utils/listagg.sql +30 -0
  137. dbt/include/global_project/macros/utils/literal.sql +7 -0
  138. dbt/include/global_project/macros/utils/position.sql +11 -0
  139. dbt/include/global_project/macros/utils/replace.sql +14 -0
  140. dbt/include/global_project/macros/utils/right.sql +12 -0
  141. dbt/include/global_project/macros/utils/safe_cast.sql +9 -0
  142. dbt/include/global_project/macros/utils/split_part.sql +26 -0
  143. dbt/include/global_project/tests/generic/builtin.sql +30 -0
  144. dbt_adapters-0.1.0a1.dist-info/METADATA +81 -0
  145. dbt_adapters-0.1.0a1.dist-info/RECORD +147 -0
  146. dbt_adapters-0.1.0a1.dist-info/WHEEL +4 -0
  147. dbt_adapters-0.1.0a1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,517 @@
1
+ syntax = "proto3";
2
+
3
+ package proto_types;
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+ import "google/protobuf/struct.proto";
7
+
8
+ // Common event info
9
+ message AdapterCommonEventInfo {
10
+ string name = 1;
11
+ string code = 2;
12
+ string msg = 3;
13
+ string level = 4;
14
+ string invocation_id = 5;
15
+ int32 pid = 6;
16
+ string thread = 7;
17
+ google.protobuf.Timestamp ts = 8;
18
+ map<string, string> extra = 9;
19
+ string category = 10;
20
+ }
21
+
22
+ // AdapterNodeRelation
23
+ message AdapterNodeRelation {
24
+ string database = 10;
25
+ string schema = 11;
26
+ string alias = 12;
27
+ string relation_name = 13;
28
+ }
29
+
30
+ // NodeInfo
31
+ message AdapterNodeInfo {
32
+ string node_path = 1;
33
+ string node_name = 2;
34
+ string unique_id = 3;
35
+ string resource_type = 4;
36
+ string materialized = 5;
37
+ string node_status = 6;
38
+ string node_started_at = 7;
39
+ string node_finished_at = 8;
40
+ google.protobuf.Struct meta = 9;
41
+ AdapterNodeRelation node_relation = 10;
42
+ }
43
+
44
+ // ReferenceKey
45
+ message ReferenceKeyMsg {
46
+ string database = 1;
47
+ string schema = 2;
48
+ string identifier = 3;
49
+ }
50
+
51
+ // D - Deprecations
52
+
53
+ // D005
54
+ message AdapterDeprecationWarning {
55
+ string old_name = 1;
56
+ string new_name = 2;
57
+ }
58
+
59
+ message AdapterDeprecationWarningMsg {
60
+ AdapterCommonEventInfo info = 1;
61
+ AdapterDeprecationWarning data = 2;
62
+ }
63
+
64
+ // D012
65
+ message CollectFreshnessReturnSignature {
66
+ }
67
+
68
+ message CollectFreshnessReturnSignatureMsg {
69
+ AdapterCommonEventInfo info = 1;
70
+ CollectFreshnessReturnSignature data = 2;
71
+ }
72
+
73
+ // E - DB Adapter
74
+
75
+ // E001
76
+ message AdapterEventDebug {
77
+ AdapterNodeInfo node_info = 1;
78
+ string name = 2;
79
+ string base_msg = 3;
80
+ google.protobuf.ListValue args = 4;
81
+ }
82
+
83
+ message AdapterEventDebugMsg {
84
+ AdapterCommonEventInfo info = 1;
85
+ AdapterEventDebug data = 2;
86
+ }
87
+
88
+ // E002
89
+ message AdapterEventInfo {
90
+ AdapterNodeInfo node_info = 1;
91
+ string name = 2;
92
+ string base_msg = 3;
93
+ google.protobuf.ListValue args = 4;
94
+ }
95
+
96
+ message AdapterEventInfoMsg {
97
+ AdapterCommonEventInfo info = 1;
98
+ AdapterEventInfo data = 2;
99
+ }
100
+
101
+ // E003
102
+ message AdapterEventWarning {
103
+ AdapterNodeInfo node_info = 1;
104
+ string name = 2;
105
+ string base_msg = 3;
106
+ google.protobuf.ListValue args = 4;
107
+ }
108
+
109
+ message AdapterEventWarningMsg {
110
+ AdapterCommonEventInfo info = 1;
111
+ AdapterEventWarning data = 2;
112
+ }
113
+
114
+ // E004
115
+ message AdapterEventError {
116
+ AdapterNodeInfo node_info = 1;
117
+ string name = 2;
118
+ string base_msg = 3;
119
+ google.protobuf.ListValue args = 4;
120
+ string exc_info = 5;
121
+ }
122
+
123
+ message AdapterEventErrorMsg {
124
+ AdapterCommonEventInfo info = 1;
125
+ AdapterEventError data = 2;
126
+ }
127
+
128
+ // E005
129
+ message NewConnection {
130
+ AdapterNodeInfo node_info = 1;
131
+ string conn_type = 2;
132
+ string conn_name = 3;
133
+ }
134
+
135
+ message NewConnectionMsg {
136
+ AdapterCommonEventInfo info = 1;
137
+ NewConnection data = 2;
138
+ }
139
+
140
+ // E006
141
+ message ConnectionReused {
142
+ string conn_name = 1;
143
+ string orig_conn_name = 2;
144
+ }
145
+
146
+ message ConnectionReusedMsg {
147
+ AdapterCommonEventInfo info = 1;
148
+ ConnectionReused data = 2;
149
+ }
150
+
151
+ // E007
152
+ message ConnectionLeftOpenInCleanup {
153
+ string conn_name = 1;
154
+ }
155
+
156
+ message ConnectionLeftOpenInCleanupMsg {
157
+ AdapterCommonEventInfo info = 1;
158
+ ConnectionLeftOpenInCleanup data = 2;
159
+ }
160
+
161
+ // E008
162
+ message ConnectionClosedInCleanup {
163
+ string conn_name = 1;
164
+ }
165
+
166
+ message ConnectionClosedInCleanupMsg {
167
+ AdapterCommonEventInfo info = 1;
168
+ ConnectionClosedInCleanup data = 2;
169
+ }
170
+
171
+ // E009
172
+ message RollbackFailed {
173
+ AdapterNodeInfo node_info = 1;
174
+ string conn_name = 2;
175
+ string exc_info = 3;
176
+ }
177
+
178
+ message RollbackFailedMsg {
179
+ AdapterCommonEventInfo info = 1;
180
+ RollbackFailed data = 2;
181
+ }
182
+
183
+ // E010
184
+ message ConnectionClosed {
185
+ AdapterNodeInfo node_info = 1;
186
+ string conn_name = 2;
187
+ }
188
+
189
+ message ConnectionClosedMsg {
190
+ AdapterCommonEventInfo info = 1;
191
+ ConnectionClosed data = 2;
192
+ }
193
+
194
+ // E011
195
+ message ConnectionLeftOpen {
196
+ AdapterNodeInfo node_info = 1;
197
+ string conn_name = 2;
198
+ }
199
+
200
+ message ConnectionLeftOpenMsg {
201
+ AdapterCommonEventInfo info = 1;
202
+ ConnectionLeftOpen data = 2;
203
+ }
204
+
205
+ // E012
206
+ message Rollback {
207
+ AdapterNodeInfo node_info = 1;
208
+ string conn_name = 2;
209
+ }
210
+
211
+ message RollbackMsg {
212
+ AdapterCommonEventInfo info = 1;
213
+ Rollback data = 2;
214
+ }
215
+
216
+ // E013
217
+ message CacheMiss {
218
+ string conn_name = 1;
219
+ string database = 2;
220
+ string schema = 3;
221
+ }
222
+
223
+ message CacheMissMsg {
224
+ AdapterCommonEventInfo info = 1;
225
+ CacheMiss data = 2;
226
+ }
227
+
228
+ // E014
229
+ message ListRelations {
230
+ string database = 1;
231
+ string schema = 2;
232
+ repeated ReferenceKeyMsg relations = 3;
233
+ }
234
+
235
+ message ListRelationsMsg {
236
+ AdapterCommonEventInfo info = 1;
237
+ ListRelations data = 2;
238
+ }
239
+
240
+ // E015
241
+ message ConnectionUsed {
242
+ AdapterNodeInfo node_info = 1;
243
+ string conn_type = 2;
244
+ string conn_name = 3;
245
+ }
246
+
247
+ message ConnectionUsedMsg {
248
+ AdapterCommonEventInfo info = 1;
249
+ ConnectionUsed data = 2;
250
+ }
251
+
252
+ // E016
253
+ message SQLQuery {
254
+ AdapterNodeInfo node_info = 1;
255
+ string conn_name = 2;
256
+ string sql = 3;
257
+ }
258
+
259
+ message SQLQueryMsg {
260
+ AdapterCommonEventInfo info = 1;
261
+ SQLQuery data = 2;
262
+ }
263
+
264
+ // E017
265
+ message SQLQueryStatus {
266
+ AdapterNodeInfo node_info = 1;
267
+ string status = 2;
268
+ float elapsed = 3;
269
+ }
270
+
271
+ message SQLQueryStatusMsg {
272
+ AdapterCommonEventInfo info = 1;
273
+ SQLQueryStatus data = 2;
274
+ }
275
+
276
+ // E018
277
+ message SQLCommit {
278
+ AdapterNodeInfo node_info = 1;
279
+ string conn_name = 2;
280
+ }
281
+
282
+ message SQLCommitMsg {
283
+ AdapterCommonEventInfo info = 1;
284
+ SQLCommit data = 2;
285
+ }
286
+
287
+ // E019
288
+ message ColTypeChange {
289
+ string orig_type = 1;
290
+ string new_type = 2;
291
+ ReferenceKeyMsg table = 3;
292
+ }
293
+
294
+ message ColTypeChangeMsg {
295
+ AdapterCommonEventInfo info = 1;
296
+ ColTypeChange data = 2;
297
+ }
298
+
299
+ // E020
300
+ message SchemaCreation {
301
+ ReferenceKeyMsg relation = 1;
302
+ }
303
+
304
+ message SchemaCreationMsg {
305
+ AdapterCommonEventInfo info = 1;
306
+ SchemaCreation data = 2;
307
+ }
308
+
309
+ // E021
310
+ message SchemaDrop {
311
+ ReferenceKeyMsg relation = 1;
312
+ }
313
+
314
+ message SchemaDropMsg {
315
+ AdapterCommonEventInfo info = 1;
316
+ SchemaDrop data = 2;
317
+ }
318
+
319
+ // E022
320
+ message CacheAction {
321
+ string action = 1;
322
+ ReferenceKeyMsg ref_key = 2;
323
+ ReferenceKeyMsg ref_key_2 = 3;
324
+ ReferenceKeyMsg ref_key_3 = 4;
325
+ repeated ReferenceKeyMsg ref_list = 5;
326
+ }
327
+
328
+ message CacheActionMsg {
329
+ AdapterCommonEventInfo info = 1;
330
+ CacheAction data = 2;
331
+ }
332
+
333
+ // Skipping E023, E024, E025, E026, E027, E028, E029, E0230
334
+
335
+ // E031
336
+ message CacheDumpGraph {
337
+ map<string, string> dump = 1;
338
+ string before_after = 2;
339
+ string action = 3;
340
+ }
341
+
342
+ message CacheDumpGraphMsg {
343
+ AdapterCommonEventInfo info = 1;
344
+ CacheDumpGraph data = 2;
345
+ }
346
+
347
+
348
+ // Skipping E032, E033, E034
349
+
350
+
351
+
352
+ // E034
353
+ message AdapterRegistered {
354
+ string adapter_name = 1;
355
+ string adapter_version = 2;
356
+ }
357
+
358
+ message AdapterRegisteredMsg {
359
+ AdapterCommonEventInfo info = 1;
360
+ AdapterRegistered data = 2;
361
+ }
362
+
363
+ // E035
364
+ message AdapterImportError {
365
+ string exc = 1;
366
+ }
367
+
368
+ message AdapterImportErrorMsg {
369
+ AdapterCommonEventInfo info = 1;
370
+ AdapterImportError data = 2;
371
+ }
372
+
373
+ // E036
374
+ message PluginLoadError {
375
+ string exc_info = 1;
376
+ }
377
+
378
+ message PluginLoadErrorMsg {
379
+ AdapterCommonEventInfo info = 1;
380
+ PluginLoadError data = 2;
381
+ }
382
+
383
+ // E037
384
+ message NewConnectionOpening {
385
+ AdapterNodeInfo node_info = 1;
386
+ string connection_state = 2;
387
+ }
388
+
389
+ message NewConnectionOpeningMsg {
390
+ AdapterCommonEventInfo info = 1;
391
+ NewConnectionOpening data = 2;
392
+ }
393
+
394
+ // E038
395
+ message CodeExecution {
396
+ string conn_name = 1;
397
+ string code_content = 2;
398
+ }
399
+
400
+ message CodeExecutionMsg {
401
+ AdapterCommonEventInfo info = 1;
402
+ CodeExecution data = 2;
403
+ }
404
+
405
+ // E039
406
+ message CodeExecutionStatus {
407
+ string status = 1;
408
+ float elapsed = 2;
409
+ }
410
+
411
+ message CodeExecutionStatusMsg {
412
+ AdapterCommonEventInfo info = 1;
413
+ CodeExecutionStatus data = 2;
414
+ }
415
+
416
+ // E040
417
+ message CatalogGenerationError {
418
+ string exc = 1;
419
+ }
420
+
421
+ message CatalogGenerationErrorMsg {
422
+ AdapterCommonEventInfo info = 1;
423
+ CatalogGenerationError data = 2;
424
+ }
425
+
426
+ // E041
427
+ message WriteCatalogFailure {
428
+ int32 num_exceptions = 1;
429
+ }
430
+
431
+ message WriteCatalogFailureMsg {
432
+ AdapterCommonEventInfo info = 1;
433
+ WriteCatalogFailure data = 2;
434
+ }
435
+
436
+ // E042
437
+ message CatalogWritten {
438
+ string path = 1;
439
+ }
440
+
441
+ message CatalogWrittenMsg {
442
+ AdapterCommonEventInfo info = 1;
443
+ CatalogWritten data = 2;
444
+ }
445
+
446
+ // E043
447
+ message CannotGenerateDocs {
448
+ }
449
+
450
+ message CannotGenerateDocsMsg {
451
+ AdapterCommonEventInfo info = 1;
452
+ CannotGenerateDocs data = 2;
453
+ }
454
+
455
+ // E044
456
+ message BuildingCatalog {
457
+ }
458
+
459
+ message BuildingCatalogMsg {
460
+ AdapterCommonEventInfo info = 1;
461
+ BuildingCatalog data = 2;
462
+ }
463
+
464
+ // E045
465
+ message DatabaseErrorRunningHook {
466
+ string hook_type = 1;
467
+ }
468
+
469
+ message DatabaseErrorRunningHookMsg {
470
+ AdapterCommonEventInfo info = 1;
471
+ DatabaseErrorRunningHook data = 2;
472
+ }
473
+
474
+ // E046
475
+ message HooksRunning {
476
+ int32 num_hooks = 1;
477
+ string hook_type = 2;
478
+ }
479
+
480
+ message HooksRunningMsg {
481
+ AdapterCommonEventInfo info = 1;
482
+ HooksRunning data = 2;
483
+ }
484
+
485
+ // E047
486
+ message FinishedRunningStats {
487
+ string stat_line = 1;
488
+ string execution = 2;
489
+ float execution_time = 3;
490
+ }
491
+
492
+ message FinishedRunningStatsMsg {
493
+ AdapterCommonEventInfo info = 1;
494
+ FinishedRunningStats data = 2;
495
+ }
496
+
497
+ // E048
498
+ message ConstraintNotEnforced {
499
+ string constraint = 1;
500
+ string adapter = 2;
501
+ }
502
+
503
+ message ConstraintNotEnforcedMsg {
504
+ AdapterCommonEventInfo info = 1;
505
+ ConstraintNotEnforced data = 2;
506
+ }
507
+
508
+ // E049
509
+ message ConstraintNotSupported {
510
+ string constraint = 1;
511
+ string adapter = 2;
512
+ }
513
+
514
+ message ConstraintNotSupportedMsg {
515
+ AdapterCommonEventInfo info = 1;
516
+ ConstraintNotSupported data = 2;
517
+ }