apache-airflow-providers-postgres 6.0.0rc2__py3-none-any.whl → 6.1.0__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.
- airflow/providers/postgres/LICENSE +0 -52
- airflow/providers/postgres/__init__.py +1 -1
- airflow/providers/postgres/dialects/__init__.py +16 -0
- airflow/providers/postgres/dialects/postgres.py +91 -0
- airflow/providers/postgres/get_provider_info.py +21 -14
- airflow/providers/postgres/hooks/postgres.py +11 -62
- {apache_airflow_providers_postgres-6.0.0rc2.dist-info → apache_airflow_providers_postgres-6.1.0.dist-info}/METADATA +13 -30
- apache_airflow_providers_postgres-6.1.0.dist-info/RECORD +13 -0
- apache_airflow_providers_postgres-6.0.0rc2.dist-info/RECORD +0 -11
- {apache_airflow_providers_postgres-6.0.0rc2.dist-info → apache_airflow_providers_postgres-6.1.0.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_postgres-6.0.0rc2.dist-info → apache_airflow_providers_postgres-6.1.0.dist-info}/entry_points.txt +0 -0
@@ -199,55 +199,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
201
|
limitations under the License.
|
202
|
-
|
203
|
-
============================================================================
|
204
|
-
APACHE AIRFLOW SUBCOMPONENTS:
|
205
|
-
|
206
|
-
The Apache Airflow project contains subcomponents with separate copyright
|
207
|
-
notices and license terms. Your use of the source code for the these
|
208
|
-
subcomponents is subject to the terms and conditions of the following
|
209
|
-
licenses.
|
210
|
-
|
211
|
-
|
212
|
-
========================================================================
|
213
|
-
Third party Apache 2.0 licenses
|
214
|
-
========================================================================
|
215
|
-
|
216
|
-
The following components are provided under the Apache 2.0 License.
|
217
|
-
See project link for details. The text of each license is also included
|
218
|
-
at 3rd-party-licenses/LICENSE-[project].txt.
|
219
|
-
|
220
|
-
(ALv2 License) hue v4.3.0 (https://github.com/cloudera/hue/)
|
221
|
-
(ALv2 License) jqclock v2.3.0 (https://github.com/JohnRDOrazio/jQuery-Clock-Plugin)
|
222
|
-
(ALv2 License) bootstrap3-typeahead v4.0.2 (https://github.com/bassjobsen/Bootstrap-3-Typeahead)
|
223
|
-
(ALv2 License) connexion v2.7.0 (https://github.com/zalando/connexion)
|
224
|
-
|
225
|
-
========================================================================
|
226
|
-
MIT licenses
|
227
|
-
========================================================================
|
228
|
-
|
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 3rd-party-licenses/LICENSE-[project].txt.
|
231
|
-
|
232
|
-
(MIT License) jquery v3.5.1 (https://jquery.org/license/)
|
233
|
-
(MIT License) dagre-d3 v0.6.4 (https://github.com/cpettitt/dagre-d3)
|
234
|
-
(MIT License) bootstrap v3.4.1 (https://github.com/twbs/bootstrap/)
|
235
|
-
(MIT License) d3-tip v0.9.1 (https://github.com/Caged/d3-tip)
|
236
|
-
(MIT License) dataTables v1.10.25 (https://datatables.net)
|
237
|
-
(MIT License) normalize.css v3.0.2 (http://necolas.github.io/normalize.css/)
|
238
|
-
(MIT License) ElasticMock v1.3.2 (https://github.com/vrcmarcos/elasticmock)
|
239
|
-
(MIT License) MomentJS v2.24.0 (http://momentjs.com/)
|
240
|
-
(MIT License) eonasdan-bootstrap-datetimepicker v4.17.49 (https://github.com/eonasdan/bootstrap-datetimepicker/)
|
241
|
-
|
242
|
-
========================================================================
|
243
|
-
BSD 3-Clause licenses
|
244
|
-
========================================================================
|
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 3rd-party-licenses/LICENSE-[project].txt.
|
247
|
-
|
248
|
-
(BSD 3 License) d3 v5.16.0 (https://d3js.org)
|
249
|
-
(BSD 3 License) d3-shape v2.1.0 (https://github.com/d3/d3-shape)
|
250
|
-
(BSD 3 License) cgroupspy 0.2.1 (https://github.com/cloudsigma/cgroupspy)
|
251
|
-
|
252
|
-
========================================================================
|
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__ = "6.
|
32
|
+
__version__ = "6.1.0"
|
33
33
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
35
35
|
"2.9.0"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
from __future__ import annotations
|
18
|
+
|
19
|
+
from methodtools import lru_cache
|
20
|
+
|
21
|
+
from airflow.providers.common.sql.dialects.dialect import Dialect
|
22
|
+
|
23
|
+
|
24
|
+
class PostgresDialect(Dialect):
|
25
|
+
"""Postgres dialect implementation."""
|
26
|
+
|
27
|
+
@property
|
28
|
+
def name(self) -> str:
|
29
|
+
return "postgresql"
|
30
|
+
|
31
|
+
@lru_cache(maxsize=None)
|
32
|
+
def get_primary_keys(self, table: str, schema: str | None = None) -> list[str] | None:
|
33
|
+
"""
|
34
|
+
Get the table's primary key.
|
35
|
+
|
36
|
+
:param table: Name of the target table
|
37
|
+
:param schema: Name of the target schema, public by default
|
38
|
+
:return: Primary key columns list
|
39
|
+
"""
|
40
|
+
if schema is None:
|
41
|
+
table, schema = self.extract_schema_from_table(table)
|
42
|
+
sql = """
|
43
|
+
select kcu.column_name
|
44
|
+
from information_schema.table_constraints tco
|
45
|
+
join information_schema.key_column_usage kcu
|
46
|
+
on kcu.constraint_name = tco.constraint_name
|
47
|
+
and kcu.constraint_schema = tco.constraint_schema
|
48
|
+
and kcu.constraint_name = tco.constraint_name
|
49
|
+
where tco.constraint_type = 'PRIMARY KEY'
|
50
|
+
and kcu.table_schema = %s
|
51
|
+
and kcu.table_name = %s
|
52
|
+
"""
|
53
|
+
pk_columns = [
|
54
|
+
row[0] for row in self.get_records(sql, (self.unescape_word(schema), self.unescape_word(table)))
|
55
|
+
]
|
56
|
+
return pk_columns or None
|
57
|
+
|
58
|
+
def generate_replace_sql(self, table, values, target_fields, **kwargs) -> str:
|
59
|
+
"""
|
60
|
+
Generate the REPLACE SQL statement.
|
61
|
+
|
62
|
+
:param table: Name of the target table
|
63
|
+
:param values: The row to insert into the table
|
64
|
+
:param target_fields: The names of the columns to fill in the table
|
65
|
+
:param replace: Whether to replace instead of insert
|
66
|
+
:param replace_index: the column or list of column names to act as
|
67
|
+
index for the ON CONFLICT clause
|
68
|
+
:return: The generated INSERT or REPLACE SQL statement
|
69
|
+
"""
|
70
|
+
if not target_fields:
|
71
|
+
raise ValueError("PostgreSQL ON CONFLICT upsert syntax requires column names")
|
72
|
+
|
73
|
+
replace_index = kwargs.get("replace_index") or self.get_primary_keys(table)
|
74
|
+
|
75
|
+
if not replace_index:
|
76
|
+
raise ValueError("PostgreSQL ON CONFLICT upsert syntax requires an unique index")
|
77
|
+
|
78
|
+
if isinstance(replace_index, str):
|
79
|
+
replace_index = [replace_index]
|
80
|
+
|
81
|
+
sql = self.generate_insert_sql(table, values, target_fields, **kwargs)
|
82
|
+
on_conflict_str = f" ON CONFLICT ({', '.join(map(self.escape_word, replace_index))})"
|
83
|
+
replace_target = [self.escape_word(f) for f in target_fields if f not in replace_index]
|
84
|
+
|
85
|
+
if replace_target:
|
86
|
+
replace_target_str = ", ".join(f"{col} = excluded.{col}" for col in replace_target)
|
87
|
+
sql += f"{on_conflict_str} DO UPDATE SET {replace_target_str}"
|
88
|
+
else:
|
89
|
+
sql += f"{on_conflict_str} DO NOTHING"
|
90
|
+
|
91
|
+
return sql
|
@@ -15,8 +15,7 @@
|
|
15
15
|
# specific language governing permissions and limitations
|
16
16
|
# under the License.
|
17
17
|
|
18
|
-
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
|
19
|
-
# OVERWRITTEN WHEN PREPARING PACKAGES.
|
18
|
+
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
20
19
|
#
|
21
20
|
# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
22
21
|
# `get_provider_info_TEMPLATE.py.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
@@ -28,8 +27,9 @@ def get_provider_info():
|
|
28
27
|
"name": "PostgreSQL",
|
29
28
|
"description": "`PostgreSQL <https://www.postgresql.org/>`__\n",
|
30
29
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
30
|
+
"source-date-epoch": 1739964148,
|
32
31
|
"versions": [
|
32
|
+
"6.1.0",
|
33
33
|
"6.0.0",
|
34
34
|
"5.14.0",
|
35
35
|
"5.13.1",
|
@@ -72,24 +72,21 @@ def get_provider_info():
|
|
72
72
|
"1.0.1",
|
73
73
|
"1.0.0",
|
74
74
|
],
|
75
|
-
"dependencies": [
|
76
|
-
"apache-airflow>=2.9.0",
|
77
|
-
"apache-airflow-providers-common-sql>=1.20.0",
|
78
|
-
"psycopg2-binary>=2.9.4",
|
79
|
-
"asyncpg>=0.30.0",
|
80
|
-
],
|
81
|
-
"additional-extras": [{"name": "amazon", "dependencies": ["apache-airflow-providers-amazon>=2.6.0"]}],
|
82
75
|
"integrations": [
|
83
76
|
{
|
84
77
|
"integration-name": "PostgreSQL",
|
85
78
|
"external-doc-url": "https://www.postgresql.org/",
|
86
|
-
"how-to-guide": [
|
87
|
-
|
88
|
-
],
|
89
|
-
"logo": "/integration-logos/postgres/Postgres.png",
|
79
|
+
"how-to-guide": ["/docs/apache-airflow-providers-postgres/operators.rst"],
|
80
|
+
"logo": "/docs/integration-logos/Postgres.png",
|
90
81
|
"tags": ["software"],
|
91
82
|
}
|
92
83
|
],
|
84
|
+
"dialects": [
|
85
|
+
{
|
86
|
+
"dialect-type": "postgresql",
|
87
|
+
"dialect-class-name": "airflow.providers.postgres.dialects.postgres.PostgresDialect",
|
88
|
+
}
|
89
|
+
],
|
93
90
|
"hooks": [
|
94
91
|
{
|
95
92
|
"integration-name": "PostgreSQL",
|
@@ -114,4 +111,14 @@ def get_provider_info():
|
|
114
111
|
"handler": "airflow.providers.postgres.assets.postgres.sanitize_uri",
|
115
112
|
}
|
116
113
|
],
|
114
|
+
"dependencies": [
|
115
|
+
"apache-airflow>=2.9.0",
|
116
|
+
"apache-airflow-providers-common-sql>=1.20.0",
|
117
|
+
"psycopg2-binary>=2.9.9",
|
118
|
+
"asyncpg>=0.30.0",
|
119
|
+
],
|
120
|
+
"optional-dependencies": {
|
121
|
+
"amazon": ["apache-airflow-providers-amazon>=2.6.0"],
|
122
|
+
"openlineage": ["apache-airflow-providers-openlineage"],
|
123
|
+
},
|
117
124
|
}
|
@@ -18,7 +18,6 @@
|
|
18
18
|
from __future__ import annotations
|
19
19
|
|
20
20
|
import os
|
21
|
-
from collections.abc import Iterable
|
22
21
|
from contextlib import closing
|
23
22
|
from copy import deepcopy
|
24
23
|
from typing import TYPE_CHECKING, Any, Union
|
@@ -31,11 +30,13 @@ from sqlalchemy.engine import URL
|
|
31
30
|
|
32
31
|
from airflow.exceptions import AirflowException
|
33
32
|
from airflow.providers.common.sql.hooks.sql import DbApiHook
|
33
|
+
from airflow.providers.postgres.dialects.postgres import PostgresDialect
|
34
34
|
|
35
35
|
if TYPE_CHECKING:
|
36
36
|
from psycopg2.extensions import connection
|
37
37
|
|
38
38
|
from airflow.models.connection import Connection
|
39
|
+
from airflow.providers.common.sql.dialects.dialect import Dialect
|
39
40
|
from airflow.providers.openlineage.sqlparser import DatabaseInfo
|
40
41
|
|
41
42
|
CursorType = Union[DictCursor, RealDictCursor, NamedTupleCursor]
|
@@ -123,6 +124,14 @@ class PostgresHook(DbApiHook):
|
|
123
124
|
query=query,
|
124
125
|
)
|
125
126
|
|
127
|
+
@property
|
128
|
+
def dialect_name(self) -> str:
|
129
|
+
return "postgresql"
|
130
|
+
|
131
|
+
@property
|
132
|
+
def dialect(self) -> Dialect:
|
133
|
+
return PostgresDialect(self)
|
134
|
+
|
126
135
|
def _get_cursor(self, raw_cursor: str) -> CursorType:
|
127
136
|
_cursor = raw_cursor.lower()
|
128
137
|
cursor_types = {
|
@@ -286,67 +295,7 @@ class PostgresHook(DbApiHook):
|
|
286
295
|
:param schema: Name of the target schema, public by default
|
287
296
|
:return: Primary key columns list
|
288
297
|
"""
|
289
|
-
|
290
|
-
select kcu.column_name
|
291
|
-
from information_schema.table_constraints tco
|
292
|
-
join information_schema.key_column_usage kcu
|
293
|
-
on kcu.constraint_name = tco.constraint_name
|
294
|
-
and kcu.constraint_schema = tco.constraint_schema
|
295
|
-
and kcu.constraint_name = tco.constraint_name
|
296
|
-
where tco.constraint_type = 'PRIMARY KEY'
|
297
|
-
and kcu.table_schema = %s
|
298
|
-
and kcu.table_name = %s
|
299
|
-
"""
|
300
|
-
pk_columns = [row[0] for row in self.get_records(sql, (schema, table))]
|
301
|
-
return pk_columns or None
|
302
|
-
|
303
|
-
def _generate_insert_sql(
|
304
|
-
self, table: str, values: tuple[str, ...], target_fields: Iterable[str], replace: bool, **kwargs
|
305
|
-
) -> str:
|
306
|
-
"""
|
307
|
-
Generate the INSERT SQL statement.
|
308
|
-
|
309
|
-
The REPLACE variant is specific to the PostgreSQL syntax.
|
310
|
-
|
311
|
-
:param table: Name of the target table
|
312
|
-
:param values: The row to insert into the table
|
313
|
-
:param target_fields: The names of the columns to fill in the table
|
314
|
-
:param replace: Whether to replace instead of insert
|
315
|
-
:param replace_index: the column or list of column names to act as
|
316
|
-
index for the ON CONFLICT clause
|
317
|
-
:return: The generated INSERT or REPLACE SQL statement
|
318
|
-
"""
|
319
|
-
placeholders = [
|
320
|
-
self.placeholder,
|
321
|
-
] * len(values)
|
322
|
-
replace_index = kwargs.get("replace_index")
|
323
|
-
|
324
|
-
if target_fields:
|
325
|
-
target_fields_fragment = ", ".join(target_fields)
|
326
|
-
target_fields_fragment = f"({target_fields_fragment})"
|
327
|
-
else:
|
328
|
-
target_fields_fragment = ""
|
329
|
-
|
330
|
-
sql = f"INSERT INTO {table} {target_fields_fragment} VALUES ({','.join(placeholders)})"
|
331
|
-
|
332
|
-
if replace:
|
333
|
-
if not target_fields:
|
334
|
-
raise ValueError("PostgreSQL ON CONFLICT upsert syntax requires column names")
|
335
|
-
if not replace_index:
|
336
|
-
raise ValueError("PostgreSQL ON CONFLICT upsert syntax requires an unique index")
|
337
|
-
if isinstance(replace_index, str):
|
338
|
-
replace_index = [replace_index]
|
339
|
-
|
340
|
-
on_conflict_str = f" ON CONFLICT ({', '.join(replace_index)})"
|
341
|
-
replace_target = [f for f in target_fields if f not in replace_index]
|
342
|
-
|
343
|
-
if replace_target:
|
344
|
-
replace_target_str = ", ".join(f"{col} = excluded.{col}" for col in replace_target)
|
345
|
-
sql += f"{on_conflict_str} DO UPDATE SET {replace_target_str}"
|
346
|
-
else:
|
347
|
-
sql += f"{on_conflict_str} DO NOTHING"
|
348
|
-
|
349
|
-
return sql
|
298
|
+
return self.dialect.get_primary_keys(table=table, schema=schema)
|
350
299
|
|
351
300
|
def get_openlineage_database_info(self, connection) -> DatabaseInfo:
|
352
301
|
"""Return Postgres/Redshift specific information for OpenLineage."""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: apache-airflow-providers-postgres
|
3
|
-
Version: 6.0
|
3
|
+
Version: 6.1.0
|
4
4
|
Summary: Provider package apache-airflow-providers-postgres for Apache Airflow
|
5
5
|
Keywords: airflow-provider,postgres,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -20,15 +20,15 @@ Classifier: Programming Language :: Python :: 3.10
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
23
|
-
Requires-Dist: apache-airflow
|
24
|
-
Requires-Dist: apache-airflow>=
|
23
|
+
Requires-Dist: apache-airflow>=2.9.0
|
24
|
+
Requires-Dist: apache-airflow-providers-common-sql>=1.20.0
|
25
|
+
Requires-Dist: psycopg2-binary>=2.9.9
|
25
26
|
Requires-Dist: asyncpg>=0.30.0
|
26
|
-
Requires-Dist:
|
27
|
-
Requires-Dist: apache-airflow-providers-amazon>=2.6.0rc0 ; extra == "amazon"
|
27
|
+
Requires-Dist: apache-airflow-providers-amazon>=2.6.0 ; extra == "amazon"
|
28
28
|
Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
|
29
29
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
30
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.
|
31
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.
|
30
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.1.0/changelog.html
|
31
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.1.0
|
32
32
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
33
33
|
Project-URL: Source Code, https://github.com/apache/airflow
|
34
34
|
Project-URL: Twitter, https://x.com/ApacheAirflow
|
@@ -37,23 +37,6 @@ Provides-Extra: amazon
|
|
37
37
|
Provides-Extra: openlineage
|
38
38
|
|
39
39
|
|
40
|
-
.. Licensed to the Apache Software Foundation (ASF) under one
|
41
|
-
or more contributor license agreements. See the NOTICE file
|
42
|
-
distributed with this work for additional information
|
43
|
-
regarding copyright ownership. The ASF licenses this file
|
44
|
-
to you under the Apache License, Version 2.0 (the
|
45
|
-
"License"); you may not use this file except in compliance
|
46
|
-
with the License. You may obtain a copy of the License at
|
47
|
-
|
48
|
-
.. http://www.apache.org/licenses/LICENSE-2.0
|
49
|
-
|
50
|
-
.. Unless required by applicable law or agreed to in writing,
|
51
|
-
software distributed under the License is distributed on an
|
52
|
-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
53
|
-
KIND, either express or implied. See the License for the
|
54
|
-
specific language governing permissions and limitations
|
55
|
-
under the License.
|
56
|
-
|
57
40
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
58
41
|
or more contributor license agreements. See the NOTICE file
|
59
42
|
distributed with this work for additional information
|
@@ -71,8 +54,7 @@ Provides-Extra: openlineage
|
|
71
54
|
specific language governing permissions and limitations
|
72
55
|
under the License.
|
73
56
|
|
74
|
-
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
|
75
|
-
OVERWRITTEN WHEN PREPARING PACKAGES.
|
57
|
+
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
76
58
|
|
77
59
|
.. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
78
60
|
`PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
@@ -80,7 +62,7 @@ Provides-Extra: openlineage
|
|
80
62
|
|
81
63
|
Package ``apache-airflow-providers-postgres``
|
82
64
|
|
83
|
-
Release: ``6.
|
65
|
+
Release: ``6.1.0``
|
84
66
|
|
85
67
|
|
86
68
|
`PostgreSQL <https://www.postgresql.org/>`__
|
@@ -93,7 +75,7 @@ This is a provider package for ``postgres`` provider. All classes for this provi
|
|
93
75
|
are in ``airflow.providers.postgres`` python package.
|
94
76
|
|
95
77
|
You can find package information and changelog for the provider
|
96
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.
|
78
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.1.0/>`_.
|
97
79
|
|
98
80
|
Installation
|
99
81
|
------------
|
@@ -112,7 +94,7 @@ PIP package Version required
|
|
112
94
|
======================================= ==================
|
113
95
|
``apache-airflow`` ``>=2.9.0``
|
114
96
|
``apache-airflow-providers-common-sql`` ``>=1.20.0``
|
115
|
-
``psycopg2-binary`` ``>=2.9.
|
97
|
+
``psycopg2-binary`` ``>=2.9.9``
|
116
98
|
``asyncpg`` ``>=0.30.0``
|
117
99
|
======================================= ==================
|
118
100
|
|
@@ -138,4 +120,5 @@ Dependent package
|
|
138
120
|
============================================================================================================== ===============
|
139
121
|
|
140
122
|
The changelog for the provider package can be found in the
|
141
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.
|
123
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/6.1.0/changelog.html>`_.
|
124
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
airflow/providers/postgres/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
2
|
+
airflow/providers/postgres/__init__.py,sha256=XbN-r5LDooxkxB7EU6LVRpryzy3eVIiuuUXbMh-dmLo,1495
|
3
|
+
airflow/providers/postgres/get_provider_info.py,sha256=sy38Sh3dEDgzROzeh1MsWjAIq_8vwrXbFGMc7Q4JQfY,4002
|
4
|
+
airflow/providers/postgres/assets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
5
|
+
airflow/providers/postgres/assets/postgres.py,sha256=XNhOJCbOA_soaaiS73JjULMqAM_7PBryhToe8FJREA0,1522
|
6
|
+
airflow/providers/postgres/dialects/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
7
|
+
airflow/providers/postgres/dialects/postgres.py,sha256=8ygA2Jq2WBPhNOISU8YyitLmahxWnPGYNt8OaU_CBFI,3764
|
8
|
+
airflow/providers/postgres/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
9
|
+
airflow/providers/postgres/hooks/postgres.py,sha256=icb_MSQ1BXWcE9vaa-hUPWyykpTmqQKdLsxVB-jvHBk,15238
|
10
|
+
apache_airflow_providers_postgres-6.1.0.dist-info/entry_points.txt,sha256=dhtJi6PTWHd6BwKhmI4OtSPvQVI_p0yYWI0eba83HqY,104
|
11
|
+
apache_airflow_providers_postgres-6.1.0.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
12
|
+
apache_airflow_providers_postgres-6.1.0.dist-info/METADATA,sha256=RG7hh1ZxcswwvgPSt0M_6C-t1OpIjeDSs3B_7d4iPmc,5705
|
13
|
+
apache_airflow_providers_postgres-6.1.0.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
airflow/providers/postgres/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
|
2
|
-
airflow/providers/postgres/__init__.py,sha256=Fot2q5J0MqxTT660Ulle4BC-yXNhsHyHl6fHbkmjEdM,1495
|
3
|
-
airflow/providers/postgres/get_provider_info.py,sha256=dW-WC9XPDvGPfbhPilsb5igbOO2HGUGq0p2o0g9PPSw,3800
|
4
|
-
airflow/providers/postgres/assets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
5
|
-
airflow/providers/postgres/assets/postgres.py,sha256=XNhOJCbOA_soaaiS73JjULMqAM_7PBryhToe8FJREA0,1522
|
6
|
-
airflow/providers/postgres/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
|
-
airflow/providers/postgres/hooks/postgres.py,sha256=h7eGDkg8sYpgVwAXFC72pWNKT6oxZK6hCUGtgae5S3U,17531
|
8
|
-
apache_airflow_providers_postgres-6.0.0rc2.dist-info/entry_points.txt,sha256=dhtJi6PTWHd6BwKhmI4OtSPvQVI_p0yYWI0eba83HqY,104
|
9
|
-
apache_airflow_providers_postgres-6.0.0rc2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
10
|
-
apache_airflow_providers_postgres-6.0.0rc2.dist-info/METADATA,sha256=cbWC9ACb65_hulXkRNcul3fScWsoHWYRhFNp7O46Tr4,6546
|
11
|
-
apache_airflow_providers_postgres-6.0.0rc2.dist-info/RECORD,,
|
File without changes
|