quollio-core 0.4.11__py3-none-any.whl → 0.4.12__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.
quollio_core/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """Quollio Core"""
2
2
 
3
- __version__ = "0.4.11"
3
+ __version__ = "0.4.12"
4
4
  __author__ = "Quollio Technologies, Inc"
@@ -148,7 +148,7 @@ def _get_column_stats(
148
148
  , MEDIAN as MEDIAN_VALUE
149
149
  , STDDEV as STDDEV_VALUE
150
150
  , NUM_NULLS as NULL_COUNT
151
- , frequent_items[0].item AS MODE_VALUE
151
+ , get(frequent_items, 0).item AS MODE_VALUE
152
152
  , row_number() over(partition by column_name order by window desc) rownum
153
153
  FROM
154
154
  {monitoring_table}
@@ -192,6 +192,7 @@ def databricks_column_stats(
192
192
  ) -> None:
193
193
  table_stats = _get_column_stats(conn, monitoring_table_suffix)
194
194
  for table in table_stats:
195
+ logger.debug("Table %s will be aggregated.", table)
195
196
  stats = gen_table_stats_payload(tenant_id=tenant_id, endpoint=endpoint, stats=table)
196
197
  for stat in stats:
197
198
  status_code = qdc_client.update_stats_by_id(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: quollio-core
3
- Version: 0.4.11
3
+ Version: 0.4.12
4
4
  Summary: Quollio Core
5
5
  Author-email: quollio-dev <qt.dev@quollio.com>
6
6
  Maintainer-email: RyoAriyama <ryo.arym@gmail.com>, tharuta <35373297+TakumiHaruta@users.noreply.github.com>
@@ -1,4 +1,4 @@
1
- quollio_core/__init__.py,sha256=_jIDStu07dkGu5ouTAUr-ImjBx7pmvosgMOUjUT25Pc,84
1
+ quollio_core/__init__.py,sha256=0xTw5MNfA7O56-oLDQVOHnaT2p7G6LxL1nxoV2zfkRQ,84
2
2
  quollio_core/bigquery.py,sha256=RguUznaY5YjROzJtXimoS8yCNH9jgGphpzd5v_JgSQM,3884
3
3
  quollio_core/bricks.py,sha256=Lehv-qsBSMNNE9BGVvidGOXJsxLSSsbNtmiEZH4lSUg,9458
4
4
  quollio_core/redshift.py,sha256=1d-mHnalB1jtiGPgzsGd3lRwLHCxaBJlUMEV2dh4f60,9882
@@ -67,7 +67,7 @@ quollio_core/helper/env_default.py,sha256=H6gbSGUPrEDZr4YDrL49hbOpw6RntI4U82kX1q
67
67
  quollio_core/helper/log.py,sha256=flxyZZ44G79l1TaUp3OT58uCHcnE5z_pCduwoeI6IUs,645
68
68
  quollio_core/profilers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  quollio_core/profilers/bigquery.py,sha256=e1Y8cZR-LxI9mSsYb0DurQyy0eCjM_kAKLfvl4IuQLE,3262
70
- quollio_core/profilers/databricks.py,sha256=pFWV6ecTefOS8evbnnXTcqR1jmbLsqn1V89ISyM2uqU,7743
70
+ quollio_core/profilers/databricks.py,sha256=n1JCSkOGVjUwXn6wjMybN-3sn3WDKGt0Dm7ydkMSNFY,7808
71
71
  quollio_core/profilers/lineage.py,sha256=4FyxIuPBrUFihqZryqTQBcfB0Z7634lKl_WwkD82vzE,6865
72
72
  quollio_core/profilers/redshift.py,sha256=6_4amsBL4QW0ZajWhS-TW3f_cjKKa6TpXClMgBC-fZo,6440
73
73
  quollio_core/profilers/snowflake.py,sha256=nitlP5pmDm2RhLGO4f_WTzkw41EmOTY2uWN1HZkCHbI,8465
@@ -80,7 +80,7 @@ quollio_core/repository/dbt.py,sha256=cnLwJPywLi8VowVW7zfIBa9jxVwDWO7xzzNRn1vWiu
80
80
  quollio_core/repository/qdc.py,sha256=qEpMF6rKdic23dPJoDYmbIcyCKDuSFqbDF2_jqmqoZw,4369
81
81
  quollio_core/repository/redshift.py,sha256=p2ouEuYcDCjx1oBhc6H1ekQsvEqHGd3bFu3PW0ngYBc,2880
82
82
  quollio_core/repository/snowflake.py,sha256=J9rHshfWdOSnjQWxwGEYPpAU2lY7Tu5UFB_BNakkAX0,1892
83
- quollio_core-0.4.11.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
84
- quollio_core-0.4.11.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
85
- quollio_core-0.4.11.dist-info/METADATA,sha256=0tv9AKZYWKt9yPa9iaziHZyTzhj708v-Aq22MFEbYAs,6804
86
- quollio_core-0.4.11.dist-info/RECORD,,
83
+ quollio_core-0.4.12.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
84
+ quollio_core-0.4.12.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
85
+ quollio_core-0.4.12.dist-info/METADATA,sha256=Zy6X_ZypiIkyysb50Ic4UwCAuSByyd3y__ED_IefbIQ,6804
86
+ quollio_core-0.4.12.dist-info/RECORD,,