apache-airflow-providers-snowflake 5.5.1__py3-none-any.whl → 5.5.2__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.
@@ -215,7 +215,7 @@ Third party Apache 2.0 licenses
215
215
 
216
216
  The following components are provided under the Apache 2.0 License.
217
217
  See project link for details. The text of each license is also included
218
- at licenses/LICENSE-[project].txt.
218
+ at 3rd-party-licenses/LICENSE-[project].txt.
219
219
 
220
220
  (ALv2 License) hue v4.3.0 (https://github.com/cloudera/hue/)
221
221
  (ALv2 License) jqclock v2.3.0 (https://github.com/JohnRDOrazio/jQuery-Clock-Plugin)
@@ -227,7 +227,7 @@ MIT licenses
227
227
  ========================================================================
228
228
 
229
229
  The following components are provided under the MIT License. See project link for details.
230
- The text of each license is also included at licenses/LICENSE-[project].txt.
230
+ The text of each license is also included at 3rd-party-licenses/LICENSE-[project].txt.
231
231
 
232
232
  (MIT License) jquery v3.5.1 (https://jquery.org/license/)
233
233
  (MIT License) dagre-d3 v0.6.4 (https://github.com/cpettitt/dagre-d3)
@@ -243,11 +243,11 @@ The text of each license is also included at licenses/LICENSE-[project].txt.
243
243
  BSD 3-Clause licenses
244
244
  ========================================================================
245
245
  The following components are provided under the BSD 3-Clause license. See project links for details.
246
- The text of each license is also included at licenses/LICENSE-[project].txt.
246
+ The text of each license is also included at 3rd-party-licenses/LICENSE-[project].txt.
247
247
 
248
248
  (BSD 3 License) d3 v5.16.0 (https://d3js.org)
249
249
  (BSD 3 License) d3-shape v2.1.0 (https://github.com/d3/d3-shape)
250
250
  (BSD 3 License) cgroupspy 0.2.1 (https://github.com/cloudsigma/cgroupspy)
251
251
 
252
252
  ========================================================================
253
- See licenses/LICENSES-ui.txt for packages used in `/airflow/www`
253
+ See 3rd-party-licenses/LICENSES-ui.txt for packages used in `/airflow/www`
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "5.5.1"
32
+ __version__ = "5.5.2"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.7.0"
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "Snowflake",
29
29
  "description": "`Snowflake <https://www.snowflake.com/>`__\n",
30
30
  "state": "ready",
31
- "source-date-epoch": 1716289119,
31
+ "source-date-epoch": 1718605422,
32
32
  "versions": [
33
+ "5.5.2",
33
34
  "5.5.1",
34
35
  "5.5.0",
35
36
  "5.4.0",
@@ -80,8 +81,11 @@ def get_provider_info():
80
81
  "dependencies": [
81
82
  "apache-airflow>=2.7.0",
82
83
  "apache-airflow-providers-common-sql>=1.10.0",
83
- "snowflake-connector-python>=2.7.8",
84
- "snowflake-sqlalchemy>=1.1.0",
84
+ 'pandas>=2.1.2,<2.2;python_version>="3.9"',
85
+ 'pandas>=1.5.3,<2.2;python_version<"3.9"',
86
+ "pyarrow>=14.0.1",
87
+ "snowflake-connector-python>=3.7.1",
88
+ "snowflake-sqlalchemy>=1.4.0",
85
89
  ],
86
90
  "integrations": [
87
91
  {
@@ -473,10 +473,10 @@ class SnowflakeHook(DbApiHook):
473
473
  from airflow.providers.openlineage.extractors import OperatorLineage
474
474
  from airflow.providers.openlineage.sqlparser import SQLParser
475
475
 
476
- connection = self.get_connection(getattr(self, self.conn_name_attr))
477
- namespace = SQLParser.create_namespace(self.get_openlineage_database_info(connection))
478
-
479
476
  if self.query_ids:
477
+ self.log.debug("openlineage: getting connection to get database info")
478
+ connection = self.get_connection(getattr(self, self.conn_name_attr))
479
+ namespace = SQLParser.create_namespace(self.get_openlineage_database_info(connection))
480
480
  return OperatorLineage(
481
481
  run_facets={
482
482
  "externalQuery": ExternalQueryRunFacet(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-snowflake
3
- Version: 5.5.1
3
+ Version: 5.5.2
4
4
  Summary: Provider package apache-airflow-providers-snowflake for Apache Airflow
5
5
  Keywords: airflow-provider,snowflake,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -23,13 +23,16 @@ Classifier: Programming Language :: Python :: 3.12
23
23
  Classifier: Topic :: System :: Monitoring
24
24
  Requires-Dist: apache-airflow-providers-common-sql>=1.10.0
25
25
  Requires-Dist: apache-airflow>=2.7.0
26
- Requires-Dist: snowflake-connector-python>=2.7.8
27
- Requires-Dist: snowflake-sqlalchemy>=1.1.0
26
+ Requires-Dist: pandas>=1.5.3,<2.2;python_version<"3.9"
27
+ Requires-Dist: pandas>=2.1.2,<2.2;python_version>="3.9"
28
+ Requires-Dist: pyarrow>=14.0.1
29
+ Requires-Dist: snowflake-connector-python>=3.7.1
30
+ Requires-Dist: snowflake-sqlalchemy>=1.4.0
28
31
  Requires-Dist: apache-airflow-providers-common-sql ; extra == "common.sql"
29
32
  Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
30
33
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
31
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.1/changelog.html
32
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.1
34
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.2/changelog.html
35
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.2
33
36
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
34
37
  Project-URL: Source Code, https://github.com/apache/airflow
35
38
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -81,7 +84,7 @@ Provides-Extra: openlineage
81
84
 
82
85
  Package ``apache-airflow-providers-snowflake``
83
86
 
84
- Release: ``5.5.1``
87
+ Release: ``5.5.2``
85
88
 
86
89
 
87
90
  `Snowflake <https://www.snowflake.com/>`__
@@ -94,7 +97,7 @@ This is a provider package for ``snowflake`` provider. All classes for this prov
94
97
  are in ``airflow.providers.snowflake`` python package.
95
98
 
96
99
  You can find package information and changelog for the provider
97
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.1/>`_.
100
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.2/>`_.
98
101
 
99
102
  Installation
100
103
  ------------
@@ -108,14 +111,17 @@ The package supports the following python versions: 3.8,3.9,3.10,3.11,3.12
108
111
  Requirements
109
112
  ------------
110
113
 
111
- ======================================= ==================
114
+ ======================================= =========================================
112
115
  PIP package Version required
113
- ======================================= ==================
116
+ ======================================= =========================================
114
117
  ``apache-airflow`` ``>=2.7.0``
115
118
  ``apache-airflow-providers-common-sql`` ``>=1.10.0``
116
- ``snowflake-connector-python`` ``>=2.7.8``
117
- ``snowflake-sqlalchemy`` ``>=1.1.0``
118
- ======================================= ==================
119
+ ``pandas`` ``>=2.1.2,<2.2; python_version >= "3.9"``
120
+ ``pandas`` ``>=1.5.3,<2.2; python_version < "3.9"``
121
+ ``pyarrow`` ``>=14.0.1``
122
+ ``snowflake-connector-python`` ``>=3.7.1``
123
+ ``snowflake-sqlalchemy`` ``>=1.4.0``
124
+ ======================================= =========================================
119
125
 
120
126
  Cross provider package dependencies
121
127
  -----------------------------------
@@ -138,4 +144,4 @@ Dependent package
138
144
  ============================================================================================================== ===============
139
145
 
140
146
  The changelog for the provider package can be found in the
141
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.1/changelog.html>`_.
147
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-snowflake/5.5.2/changelog.html>`_.
@@ -1,8 +1,8 @@
1
- airflow/providers/snowflake/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
2
- airflow/providers/snowflake/__init__.py,sha256=GnoIbP6Gy5AfLnUcm-JNMjBQvoe7qq-FQ-MMI4s_NtM,1496
3
- airflow/providers/snowflake/get_provider_info.py,sha256=8qFh156E6bDNdPYSrSXi8DIsAVhiFFzT8Z62CsBV5js,4763
1
+ airflow/providers/snowflake/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
2
+ airflow/providers/snowflake/__init__.py,sha256=Za2FwaQkAz1hqOofbW5IhxrSUCbcLOZECaMdJma376E,1496
3
+ airflow/providers/snowflake/get_provider_info.py,sha256=uriVMER_1pjB3EV6Yw7YMy60iTEpYKxA7WHrhhUkgXk,4926
4
4
  airflow/providers/snowflake/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
5
- airflow/providers/snowflake/hooks/snowflake.py,sha256=LUMYVhsQc_WTyXX_7ZCJsnEOP1f1sg43fs0BAALyP_4,20864
5
+ airflow/providers/snowflake/hooks/snowflake.py,sha256=KSV4uy27884NFiHI7A6Ol0GJBW_2JjrDqXqxSz0yi-k,20954
6
6
  airflow/providers/snowflake/hooks/snowflake_sql_api.py,sha256=ljm6v0CCeej7WyrK3IB6F6p954s5FRgEsocfUCQ83Is,14777
7
7
  airflow/providers/snowflake/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
8
8
  airflow/providers/snowflake/operators/snowflake.py,sha256=Evn8RfBTjLaSqrj7Dkhvu2-ewJoY6miTUFMiTTVd_dA,26383
@@ -14,7 +14,7 @@ airflow/providers/snowflake/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2x
14
14
  airflow/providers/snowflake/utils/common.py,sha256=DG-KLy2KpZWAqZqm_XIECm8lmdoUlzwkXv9onmkQThc,1644
15
15
  airflow/providers/snowflake/utils/openlineage.py,sha256=PanpjG1YZlXfxqNjJCL7gNgRU1Gk-P0cj4j2qyf3mrA,2673
16
16
  airflow/providers/snowflake/utils/sql_api_generate_jwt.py,sha256=9mR-vHIquv60tfAni87f6FAjKsiRHUDDrsVhzw4M9vM,6762
17
- apache_airflow_providers_snowflake-5.5.1.dist-info/entry_points.txt,sha256=bCrl5J1PXUMzbgnrKYho61rkbL2gHRT4I6f_1jlxAX4,105
18
- apache_airflow_providers_snowflake-5.5.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
19
- apache_airflow_providers_snowflake-5.5.1.dist-info/METADATA,sha256=xYMtLuOdWI2NCHdwqQn0RAP45_DitasvsLcHXCUI0dM,6508
20
- apache_airflow_providers_snowflake-5.5.1.dist-info/RECORD,,
17
+ apache_airflow_providers_snowflake-5.5.2.dist-info/entry_points.txt,sha256=bCrl5J1PXUMzbgnrKYho61rkbL2gHRT4I6f_1jlxAX4,105
18
+ apache_airflow_providers_snowflake-5.5.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
19
+ apache_airflow_providers_snowflake-5.5.2.dist-info/METADATA,sha256=KgymXCPW7CrvbyfUWwXVghLvJNgn4XO3k8bD5uJdwDM,6938
20
+ apache_airflow_providers_snowflake-5.5.2.dist-info/RECORD,,