apache-airflow-providers-common-sql 1.14.0rc1__py3-none-any.whl → 1.14.1rc1__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.
Potentially problematic release.
This version of apache-airflow-providers-common-sql might be problematic. Click here for more details.
- airflow/providers/common/sql/LICENSE +4 -4
- airflow/providers/common/sql/__init__.py +1 -1
- airflow/providers/common/sql/get_provider_info.py +11 -2
- airflow/providers/common/sql/operators/sql.py +16 -13
- airflow/providers/common/sql/operators/sql.pyi +1 -0
- {apache_airflow_providers_common_sql-1.14.0rc1.dist-info → apache_airflow_providers_common_sql-1.14.1rc1.dist-info}/METADATA +8 -7
- {apache_airflow_providers_common_sql-1.14.0rc1.dist-info → apache_airflow_providers_common_sql-1.14.1rc1.dist-info}/RECORD +9 -9
- {apache_airflow_providers_common_sql-1.14.0rc1.dist-info → apache_airflow_providers_common_sql-1.14.1rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_common_sql-1.14.0rc1.dist-info → apache_airflow_providers_common_sql-1.14.1rc1.dist-info}/entry_points.txt +0 -0
|
@@ -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__ = "1.14.
|
|
32
|
+
__version__ = "1.14.1"
|
|
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": "Common SQL",
|
|
29
29
|
"description": "`Common SQL Provider <https://en.wikipedia.org/wiki/SQL>`__\n",
|
|
30
30
|
"state": "ready",
|
|
31
|
-
"source-date-epoch":
|
|
31
|
+
"source-date-epoch": 1718604106,
|
|
32
32
|
"versions": [
|
|
33
|
+
"1.14.1",
|
|
33
34
|
"1.14.0",
|
|
34
35
|
"1.13.0",
|
|
35
36
|
"1.12.0",
|
|
@@ -60,7 +61,15 @@ def get_provider_info():
|
|
|
60
61
|
"1.0.0",
|
|
61
62
|
],
|
|
62
63
|
"dependencies": ["apache-airflow>=2.7.0", "sqlparse>=0.4.2", "more-itertools>=9.0.0"],
|
|
63
|
-
"additional-extras": [
|
|
64
|
+
"additional-extras": [
|
|
65
|
+
{
|
|
66
|
+
"name": "pandas",
|
|
67
|
+
"dependencies": [
|
|
68
|
+
'pandas>=2.1.2,<2.2;python_version>="3.9"',
|
|
69
|
+
'pandas>=1.5.3,<2.2;python_version<"3.9"',
|
|
70
|
+
],
|
|
71
|
+
}
|
|
72
|
+
],
|
|
64
73
|
"integrations": [
|
|
65
74
|
{
|
|
66
75
|
"integration-name": "Common SQL",
|
|
@@ -127,6 +127,8 @@ class BaseSQLOperator(BaseOperator):
|
|
|
127
127
|
|
|
128
128
|
conn_id_field = "conn_id"
|
|
129
129
|
|
|
130
|
+
template_fields: Sequence[str] = ("conn_id", "database", "hook_params")
|
|
131
|
+
|
|
130
132
|
def __init__(
|
|
131
133
|
self,
|
|
132
134
|
*,
|
|
@@ -139,7 +141,7 @@ class BaseSQLOperator(BaseOperator):
|
|
|
139
141
|
super().__init__(**kwargs)
|
|
140
142
|
self.conn_id = conn_id
|
|
141
143
|
self.database = database
|
|
142
|
-
self.hook_params =
|
|
144
|
+
self.hook_params = hook_params or {}
|
|
143
145
|
self.retry_on_failure = retry_on_failure
|
|
144
146
|
|
|
145
147
|
@cached_property
|
|
@@ -220,7 +222,7 @@ class SQLExecuteQueryOperator(BaseSQLOperator):
|
|
|
220
222
|
:ref:`howto/operator:SQLExecuteQueryOperator`
|
|
221
223
|
"""
|
|
222
224
|
|
|
223
|
-
template_fields: Sequence[str] = ("
|
|
225
|
+
template_fields: Sequence[str] = ("sql", "parameters", *BaseSQLOperator.template_fields)
|
|
224
226
|
template_ext: Sequence[str] = (".sql", ".json")
|
|
225
227
|
template_fields_renderers = {"sql": "sql", "parameters": "json"}
|
|
226
228
|
ui_color = "#cdaaed"
|
|
@@ -425,7 +427,7 @@ class SQLColumnCheckOperator(BaseSQLOperator):
|
|
|
425
427
|
:ref:`howto/operator:SQLColumnCheckOperator`
|
|
426
428
|
"""
|
|
427
429
|
|
|
428
|
-
template_fields: Sequence[str] = ("
|
|
430
|
+
template_fields: Sequence[str] = ("table", "partition_clause", "sql", *BaseSQLOperator.template_fields)
|
|
429
431
|
template_fields_renderers = {"sql": "sql"}
|
|
430
432
|
|
|
431
433
|
sql_check_template = """
|
|
@@ -653,7 +655,7 @@ class SQLTableCheckOperator(BaseSQLOperator):
|
|
|
653
655
|
:ref:`howto/operator:SQLTableCheckOperator`
|
|
654
656
|
"""
|
|
655
657
|
|
|
656
|
-
template_fields: Sequence[str] = ("
|
|
658
|
+
template_fields: Sequence[str] = ("table", "partition_clause", "sql", *BaseSQLOperator.template_fields)
|
|
657
659
|
|
|
658
660
|
template_fields_renderers = {"sql": "sql"}
|
|
659
661
|
|
|
@@ -769,7 +771,7 @@ class SQLCheckOperator(BaseSQLOperator):
|
|
|
769
771
|
:param parameters: (optional) the parameters to render the SQL query with.
|
|
770
772
|
"""
|
|
771
773
|
|
|
772
|
-
template_fields: Sequence[str] = ("sql",
|
|
774
|
+
template_fields: Sequence[str] = ("sql", *BaseSQLOperator.template_fields)
|
|
773
775
|
template_ext: Sequence[str] = (
|
|
774
776
|
".hql",
|
|
775
777
|
".sql",
|
|
@@ -815,11 +817,7 @@ class SQLValueCheckOperator(BaseSQLOperator):
|
|
|
815
817
|
"""
|
|
816
818
|
|
|
817
819
|
__mapper_args__ = {"polymorphic_identity": "SQLValueCheckOperator"}
|
|
818
|
-
template_fields: Sequence[str] = (
|
|
819
|
-
"sql",
|
|
820
|
-
"pass_value",
|
|
821
|
-
"hook_params",
|
|
822
|
-
)
|
|
820
|
+
template_fields: Sequence[str] = ("sql", "pass_value", *BaseSQLOperator.template_fields)
|
|
823
821
|
template_ext: Sequence[str] = (
|
|
824
822
|
".hql",
|
|
825
823
|
".sql",
|
|
@@ -916,7 +914,7 @@ class SQLIntervalCheckOperator(BaseSQLOperator):
|
|
|
916
914
|
"""
|
|
917
915
|
|
|
918
916
|
__mapper_args__ = {"polymorphic_identity": "SQLIntervalCheckOperator"}
|
|
919
|
-
template_fields: Sequence[str] = ("sql1", "sql2",
|
|
917
|
+
template_fields: Sequence[str] = ("sql1", "sql2", *BaseSQLOperator.template_fields)
|
|
920
918
|
template_ext: Sequence[str] = (
|
|
921
919
|
".hql",
|
|
922
920
|
".sql",
|
|
@@ -1044,7 +1042,12 @@ class SQLThresholdCheckOperator(BaseSQLOperator):
|
|
|
1044
1042
|
:param max_threshold: numerical value or max threshold sql to be executed (templated)
|
|
1045
1043
|
"""
|
|
1046
1044
|
|
|
1047
|
-
template_fields: Sequence[str] = (
|
|
1045
|
+
template_fields: Sequence[str] = (
|
|
1046
|
+
"sql",
|
|
1047
|
+
"min_threshold",
|
|
1048
|
+
"max_threshold",
|
|
1049
|
+
*BaseSQLOperator.template_fields,
|
|
1050
|
+
)
|
|
1048
1051
|
template_ext: Sequence[str] = (
|
|
1049
1052
|
".hql",
|
|
1050
1053
|
".sql",
|
|
@@ -1142,7 +1145,7 @@ class BranchSQLOperator(BaseSQLOperator, SkipMixin):
|
|
|
1142
1145
|
:param parameters: (optional) the parameters to render the SQL query with.
|
|
1143
1146
|
"""
|
|
1144
1147
|
|
|
1145
|
-
template_fields: Sequence[str] = ("sql",)
|
|
1148
|
+
template_fields: Sequence[str] = ("sql", *BaseSQLOperator.template_fields)
|
|
1146
1149
|
template_ext: Sequence[str] = (".sql",)
|
|
1147
1150
|
template_fields_renderers = {"sql": "sql"}
|
|
1148
1151
|
ui_color = "#a22034"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-common-sql
|
|
3
|
-
Version: 1.14.
|
|
3
|
+
Version: 1.14.1rc1
|
|
4
4
|
Summary: Provider package apache-airflow-providers-common-sql for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,common.sql,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -25,10 +25,11 @@ Requires-Dist: apache-airflow>=2.7.0rc0
|
|
|
25
25
|
Requires-Dist: more-itertools>=9.0.0
|
|
26
26
|
Requires-Dist: sqlparse>=0.4.2
|
|
27
27
|
Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
|
|
28
|
-
Requires-Dist: pandas>=1.2
|
|
28
|
+
Requires-Dist: pandas>=2.1.2,<2.2 ; extra == "pandas" and (python_version>="3.9")
|
|
29
|
+
Requires-Dist: pandas>=1.5.3,<2.2 ; extra == "pandas" and (python_version<"3.9")
|
|
29
30
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
30
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.
|
|
31
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.
|
|
31
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.1/changelog.html
|
|
32
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.1
|
|
32
33
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
33
34
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
34
35
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
|
@@ -80,7 +81,7 @@ Provides-Extra: pandas
|
|
|
80
81
|
|
|
81
82
|
Package ``apache-airflow-providers-common-sql``
|
|
82
83
|
|
|
83
|
-
Release: ``1.14.
|
|
84
|
+
Release: ``1.14.1.rc1``
|
|
84
85
|
|
|
85
86
|
|
|
86
87
|
`Common SQL Provider <https://en.wikipedia.org/wiki/SQL>`__
|
|
@@ -93,7 +94,7 @@ This is a provider package for ``common.sql`` provider. All classes for this pro
|
|
|
93
94
|
are in ``airflow.providers.common.sql`` python package.
|
|
94
95
|
|
|
95
96
|
You can find package information and changelog for the provider
|
|
96
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.
|
|
97
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.1/>`_.
|
|
97
98
|
|
|
98
99
|
Installation
|
|
99
100
|
------------
|
|
@@ -135,4 +136,4 @@ Dependent package
|
|
|
135
136
|
============================================================================================================== ===============
|
|
136
137
|
|
|
137
138
|
The changelog for the provider package can be found in the
|
|
138
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.
|
|
139
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.14.1/changelog.html>`_.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
airflow/providers/common/sql/LICENSE,sha256=
|
|
1
|
+
airflow/providers/common/sql/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
|
|
2
2
|
airflow/providers/common/sql/README_API.md,sha256=CxhaS8EedZ4dcbLUPC4-GLCMaY3OH96oHxXttUGU06E,5932
|
|
3
|
-
airflow/providers/common/sql/__init__.py,sha256=
|
|
4
|
-
airflow/providers/common/sql/get_provider_info.py,sha256=
|
|
3
|
+
airflow/providers/common/sql/__init__.py,sha256=CMYvtIjm5T1Wume9HWp78x_8lkdnFyVV8D2u1-YEUNU,1498
|
|
4
|
+
airflow/providers/common/sql/get_provider_info.py,sha256=E4I1cYYFPKh2p7W6Et9TE2aFNZ9kW1EePepI7dN0Qlk,3233
|
|
5
5
|
airflow/providers/common/sql/doc/adr/0001-record-architecture-decisions.md,sha256=TfANqrzoFto9PMOMza3MitIkXHGLx2kY_BhhF-N0_ow,1675
|
|
6
6
|
airflow/providers/common/sql/doc/adr/0002-return-common-data-structure-from-dbapihook-derived-hooks.md,sha256=ze5w9IVS-HkUwdZvPW8_JaJaVwel7-N6XdEVN4pTuCE,8457
|
|
7
7
|
airflow/providers/common/sql/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
8
8
|
airflow/providers/common/sql/hooks/sql.py,sha256=x-jW6oSmCWU5RS3Ev9Hnau7M884KEUdaoXIKAlXHWKQ,29603
|
|
9
9
|
airflow/providers/common/sql/hooks/sql.pyi,sha256=iwsV-yalhYz5aBdPqaNl1x0YYYqjP75N18moKXbVYQU,5570
|
|
10
10
|
airflow/providers/common/sql/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
11
|
-
airflow/providers/common/sql/operators/sql.py,sha256=
|
|
12
|
-
airflow/providers/common/sql/operators/sql.pyi,sha256=
|
|
11
|
+
airflow/providers/common/sql/operators/sql.py,sha256=qbbwWBgDAKOgSYEVZWzIo3OB3CmJYD2Dx99H6PjYTGM,48435
|
|
12
|
+
airflow/providers/common/sql/operators/sql.pyi,sha256=WrzYlWtRT8SGswxPsXMv8oqobrooOlEWeGOjtMnNEBI,8589
|
|
13
13
|
airflow/providers/common/sql/sensors/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
14
14
|
airflow/providers/common/sql/sensors/sql.py,sha256=yy8prgci9YPM8rgK8RCjtYxvInb-DxiZaFCucMnTJUg,5969
|
|
15
15
|
airflow/providers/common/sql/sensors/sql.pyi,sha256=hDt9OeV5SHpz4s8yHhohrEUzNuKBgT4IHOU5b9rQnKo,2706
|
|
16
|
-
apache_airflow_providers_common_sql-1.14.
|
|
17
|
-
apache_airflow_providers_common_sql-1.14.
|
|
18
|
-
apache_airflow_providers_common_sql-1.14.
|
|
19
|
-
apache_airflow_providers_common_sql-1.14.
|
|
16
|
+
apache_airflow_providers_common_sql-1.14.1rc1.dist-info/entry_points.txt,sha256=h8UXRp2crPuGmYVYRM5oe168qIh7g-4t2QQbVMizKjI,106
|
|
17
|
+
apache_airflow_providers_common_sql-1.14.1rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
18
|
+
apache_airflow_providers_common_sql-1.14.1rc1.dist-info/METADATA,sha256=50X7wRrSUWtLztTeTJ75Hw-R5lLJaQw4LesguR5jk44,6227
|
|
19
|
+
apache_airflow_providers_common_sql-1.14.1rc1.dist-info/RECORD,,
|
|
File without changes
|