omnata-plugin-runtime 0.10.6a241__tar.gz → 0.10.6a243__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.
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/json_schema.py +7 -7
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/LICENSE +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/README.md +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.10.6a241 → omnata_plugin_runtime-0.10.6a243}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.10.6-
|
3
|
+
version = "0.10.6-a243"
|
4
4
|
description = "Classes and common runtime components for building and running Omnata Plugins"
|
5
5
|
authors = ["James Weakley <james.weakley@omnata.com>"]
|
6
6
|
readme = "README.md"
|
@@ -434,14 +434,14 @@ class SnowflakeViewParts(BaseModel):
|
|
434
434
|
"""
|
435
435
|
ctes = [self.main_part.cte_text(original_name=True)] + [part.cte_text(original_name=True) for part in self.joined_parts]
|
436
436
|
all_ctes = "\n,".join(ctes)
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
437
|
+
main_columns = SnowflakeViewColumn.order_by_reference(self.main_part.direct_columns() +
|
438
|
+
self.main_part.join_columns())
|
439
|
+
column_clauses = [c.definition() if c.is_join_column
|
440
|
+
else f"\"{self.main_part.stream_name}\"."+c.original_to_transformed()
|
441
|
+
for c in main_columns]
|
442
|
+
|
443
443
|
view_body = f"""with {all_ctes}
|
444
|
-
select {', '.join(
|
444
|
+
select {', '.join(column_clauses)}
|
445
445
|
from "{self.main_part.stream_name}" """
|
446
446
|
if len(self.main_part.joins) > 0:
|
447
447
|
join_clauses = [join.definition() for join in self.main_part.joins]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|