omnata-plugin-runtime 0.9.3__py3-none-any.whl → 0.9.4__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/json_schema.py +15 -7
- {omnata_plugin_runtime-0.9.3.dist-info → omnata_plugin_runtime-0.9.4.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.9.3.dist-info → omnata_plugin_runtime-0.9.4.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.9.3.dist-info → omnata_plugin_runtime-0.9.4.dist-info}/WHEEL +1 -1
- {omnata_plugin_runtime-0.9.3.dist-info → omnata_plugin_runtime-0.9.4.dist-info}/LICENSE +0 -0
@@ -584,15 +584,23 @@ def normalized_view_part(
|
|
584
584
|
comment="A flag to indicate which run the record was last processed in",
|
585
585
|
)
|
586
586
|
)
|
587
|
-
|
587
|
+
view_columns = snowflake_columns
|
588
|
+
joins = []
|
589
|
+
comment = None
|
590
|
+
if stream_schema is not None:
|
591
|
+
json_schema = JsonSchemaTopLevel.model_validate(stream_schema)
|
592
|
+
view_columns += json_schema.build_view_columns(
|
593
|
+
column_name_environment=column_name_environment,
|
594
|
+
column_name_expression=column_name_expression
|
595
|
+
)
|
596
|
+
if json_schema.joins:
|
597
|
+
joins = json_schema.joins
|
598
|
+
comment = json_schema.description
|
588
599
|
|
589
600
|
return SnowflakeViewPart(
|
590
601
|
stream_name=stream_name,
|
591
602
|
raw_table_location=raw_table_location,
|
592
|
-
columns=
|
593
|
-
|
594
|
-
|
595
|
-
),
|
596
|
-
joins=json_schema.joins or [],
|
597
|
-
comment=json_schema.description
|
603
|
+
columns=view_columns,
|
604
|
+
joins=joins,
|
605
|
+
comment=comment
|
598
606
|
)
|
@@ -2,12 +2,12 @@ omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTw
|
|
2
2
|
omnata_plugin_runtime/api.py,sha256=baGraSMiD4Yvi3ZWrEv_TKh8Ktd1U8riBdOpe9j0Puw,8202
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=H1snDDtS4DF2AILynob878ZKcronnZl5Qig6dE9KDoc,41189
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=9YHJ_T17lT-rwyDaUg_0yj_YMPda4DRCw_wrvf8hE0E,19964
|
5
|
-
omnata_plugin_runtime/json_schema.py,sha256=
|
5
|
+
omnata_plugin_runtime/json_schema.py,sha256=qa0TgikiludW5fMvT4GRIF8__HnIzNIOAF-KvwYfqmo,26013
|
6
6
|
omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
|
7
7
|
omnata_plugin_runtime/omnata_plugin.py,sha256=IDj8EaWZuEKaTPrWm3wzHvdmW4l2WibCZEj9AnyTHLU,131622
|
8
8
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=iqGl8_nEEnPGKg3Aem4YLSQ6d5xS3ju5gq8MJbx6sCA,31968
|
9
9
|
omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
|
10
|
-
omnata_plugin_runtime-0.9.
|
11
|
-
omnata_plugin_runtime-0.9.
|
12
|
-
omnata_plugin_runtime-0.9.
|
13
|
-
omnata_plugin_runtime-0.9.
|
10
|
+
omnata_plugin_runtime-0.9.4.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
11
|
+
omnata_plugin_runtime-0.9.4.dist-info/METADATA,sha256=gQCJiGhq8R33-yAs7vItO92h0J_A-wiOP8OGtlC6B-A,2154
|
12
|
+
omnata_plugin_runtime-0.9.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
13
|
+
omnata_plugin_runtime-0.9.4.dist-info/RECORD,,
|
File without changes
|