omnata-plugin-runtime 0.10.30a290__py3-none-any.whl → 0.10.30a292__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.
@@ -454,9 +454,14 @@ class SnowflakeViewPart(BaseModel):
454
454
  """
455
455
  Returns the CTE text for this view part.
456
456
  """
457
+ if include_only_columns is None:
458
+ return f""" "{self.stream_name}" as (
459
+ select {', '.join([c.definition(original_name=original_name) for c in self.direct_columns()])}
460
+ from {self.raw_table_location.get_fully_qualified_name()}
461
+ ) """
457
462
  return f""" "{self.stream_name}" as (
458
- select {', '.join([c.definition(original_name=original_name) for c in self.direct_columns()
459
- if include_only_columns is None or c.original_name in include_only_columns])}
463
+ select {', '.join([c.definition(original_name=original_name) for c in self.columns
464
+ if c.original_name in include_only_columns])}
460
465
  from {self.raw_table_location.get_fully_qualified_name()}
461
466
  ) """
462
467
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.10.30a290
3
+ Version: 0.10.30a292
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -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=SffokJfgvy6V3kUsoEjXcK3GdNgHo6U3mgBEs0qBv4I,46972
4
4
  omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiDo,20529
5
- omnata_plugin_runtime/json_schema.py,sha256=fLu44kK3smkMDMBMI-CS6O9G_vGunpp6FrvH6g_Be-o,48388
5
+ omnata_plugin_runtime/json_schema.py,sha256=R1wpvgY1fDSRDwcACz-pkfx9rut5w93NdBi6t_qKzfk,48605
6
6
  omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
7
7
  omnata_plugin_runtime/omnata_plugin.py,sha256=RnUEO_iPFqJEaixLDFfrzCC-HmEAtEIT_lgfgNyjBUs,134532
8
8
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=SlpI3VF3EdTGFCr9wDD0kV4v6B6bHfNDFdC3slU2y8Y,32241
9
9
  omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
10
- omnata_plugin_runtime-0.10.30a290.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
- omnata_plugin_runtime-0.10.30a290.dist-info/METADATA,sha256=ZMmzVCa2enWnuTHmVmtL8YxXmRjcsSPkCaB8SyXfDOA,2212
12
- omnata_plugin_runtime-0.10.30a290.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
13
- omnata_plugin_runtime-0.10.30a290.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.10.30a292.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.10.30a292.dist-info/METADATA,sha256=1X3lpIneoGyWPDLG8Gr19dRcTwW0OOJG5CackU-gl_A,2212
12
+ omnata_plugin_runtime-0.10.30a292.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
13
+ omnata_plugin_runtime-0.10.30a292.dist-info/RECORD,,