omnata-plugin-runtime 0.11.0a302__py3-none-any.whl → 0.11.0a303__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.
- omnata_plugin_runtime/omnata_plugin.py +4 -4
- {omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/WHEEL +0 -0
@@ -1185,18 +1185,18 @@ class InboundSyncRequest(SyncRequest):
|
|
1185
1185
|
query_id: Optional[str] = None
|
1186
1186
|
) -> str:
|
1187
1187
|
binding_values = []
|
1188
|
-
|
1188
|
+
select_clauses = []
|
1189
1189
|
|
1190
1190
|
with self._snowflake_query_lock:
|
1191
1191
|
if query_id is None:
|
1192
1192
|
query_id = self._get_query_id_for_now()
|
1193
1193
|
for stream_name, latest_state in stream_states_for_upload.items():
|
1194
1194
|
binding_values.extend([stream_name, query_id, json.dumps(latest_state)])
|
1195
|
-
|
1196
|
-
f"
|
1195
|
+
select_clauses.append(
|
1196
|
+
f"select ?, ?, PARSE_JSON(?)"
|
1197
1197
|
)
|
1198
1198
|
final_query = f"""INSERT INTO {self.state_register_table_name} (STREAM_NAME, QUERY_ID, STATE_VALUE)
|
1199
|
-
|
1199
|
+
{' union all '.join(select_clauses)}"""
|
1200
1200
|
self._session.sql(final_query, binding_values).collect()
|
1201
1201
|
|
1202
1202
|
def apply_progress_updates(self, ignore_errors:bool = True):
|
{omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/RECORD
RENAMED
@@ -4,10 +4,10 @@ omnata_plugin_runtime/configuration.py,sha256=SffokJfgvy6V3kUsoEjXcK3GdNgHo6U3mg
|
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiDo,20529
|
5
5
|
omnata_plugin_runtime/json_schema.py,sha256=xI5YeoxdV1e4fYLUYB-1ZGXZrLAIrSnKj91189wf8cQ,49943
|
6
6
|
omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
|
7
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=
|
7
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=OfgpX-iRARjZLyeYj-q2Ecl_SM9T1o0E-5Bej3_C-aM,139476
|
8
8
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=J-nPRTEf2LrJaf_JSCPBoq5e1ns4IUuwtIER9AE2Esg,32354
|
9
9
|
omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
|
10
|
-
omnata_plugin_runtime-0.11.
|
11
|
-
omnata_plugin_runtime-0.11.
|
12
|
-
omnata_plugin_runtime-0.11.
|
13
|
-
omnata_plugin_runtime-0.11.
|
10
|
+
omnata_plugin_runtime-0.11.0a303.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
11
|
+
omnata_plugin_runtime-0.11.0a303.dist-info/METADATA,sha256=M70xa4Tib-wo5FU926W2_QKbJzBcfLNkpiVWyw1CSyc,2211
|
12
|
+
omnata_plugin_runtime-0.11.0a303.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
13
|
+
omnata_plugin_runtime-0.11.0a303.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.11.0a302.dist-info → omnata_plugin_runtime-0.11.0a303.dist-info}/WHEEL
RENAMED
File without changes
|