apache-airflow-providers-elasticsearch 6.2.2__py3-none-any.whl → 6.3.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/elasticsearch/__init__.py +3 -3
- airflow/providers/elasticsearch/hooks/elasticsearch.py +11 -0
- airflow/providers/elasticsearch/version_compat.py +0 -1
- {apache_airflow_providers_elasticsearch-6.2.2.dist-info → apache_airflow_providers_elasticsearch-6.3.0.dist-info}/METADATA +10 -10
- {apache_airflow_providers_elasticsearch-6.2.2.dist-info → apache_airflow_providers_elasticsearch-6.3.0.dist-info}/RECORD +7 -7
- {apache_airflow_providers_elasticsearch-6.2.2.dist-info → apache_airflow_providers_elasticsearch-6.3.0.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_elasticsearch-6.2.2.dist-info → apache_airflow_providers_elasticsearch-6.3.0.dist-info}/entry_points.txt +0 -0
|
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "6.
|
|
32
|
+
__version__ = "6.3.0"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
|
-
"2.
|
|
35
|
+
"2.10.0"
|
|
36
36
|
):
|
|
37
37
|
raise RuntimeError(
|
|
38
|
-
f"The package `apache-airflow-providers-elasticsearch:{__version__}` needs Apache Airflow 2.
|
|
38
|
+
f"The package `apache-airflow-providers-elasticsearch:{__version__}` needs Apache Airflow 2.10.0+"
|
|
39
39
|
)
|
|
@@ -219,6 +219,17 @@ class ElasticsearchSQLHook(DbApiHook):
|
|
|
219
219
|
|
|
220
220
|
return uri
|
|
221
221
|
|
|
222
|
+
def _get_polars_df(
|
|
223
|
+
self,
|
|
224
|
+
sql,
|
|
225
|
+
parameters: list | tuple | Mapping[str, Any] | None = None,
|
|
226
|
+
**kwargs,
|
|
227
|
+
):
|
|
228
|
+
# TODO: Custom ElasticsearchSQLCursor is incompatible with polars.read_database.
|
|
229
|
+
# To support: either adapt cursor to polars._executor interface or create custom polars reader.
|
|
230
|
+
# https://github.com/apache/airflow/pull/50454
|
|
231
|
+
raise NotImplementedError("Polars is not supported for Elasticsearch")
|
|
232
|
+
|
|
222
233
|
|
|
223
234
|
class ElasticsearchPythonHook(BaseHook):
|
|
224
235
|
"""
|
|
@@ -32,5 +32,4 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
|
|
|
32
32
|
return airflow_version.major, airflow_version.minor, airflow_version.micro
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
AIRFLOW_V_2_10_PLUS = get_base_airflow_version_tuple() >= (2, 10, 0)
|
|
36
35
|
AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-elasticsearch
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.3.0
|
|
4
4
|
Summary: Provider package apache-airflow-providers-elasticsearch for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,elasticsearch,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -20,12 +20,12 @@ 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>=2.
|
|
24
|
-
Requires-Dist: apache-airflow-providers-common-sql>=1.
|
|
23
|
+
Requires-Dist: apache-airflow>=2.10.0
|
|
24
|
+
Requires-Dist: apache-airflow-providers-common-sql>=1.27.0
|
|
25
25
|
Requires-Dist: elasticsearch>=8.10,<9
|
|
26
26
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
27
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.
|
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.
|
|
27
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.3.0/changelog.html
|
|
28
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.3.0
|
|
29
29
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
30
30
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
31
31
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -56,7 +56,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
|
56
56
|
|
|
57
57
|
Package ``apache-airflow-providers-elasticsearch``
|
|
58
58
|
|
|
59
|
-
Release: ``6.
|
|
59
|
+
Release: ``6.3.0``
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
`Elasticsearch <https://www.elastic.co/elasticsearch>`__
|
|
@@ -69,7 +69,7 @@ This is a provider package for ``elasticsearch`` provider. All classes for this
|
|
|
69
69
|
are in ``airflow.providers.elasticsearch`` python package.
|
|
70
70
|
|
|
71
71
|
You can find package information and changelog for the provider
|
|
72
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.
|
|
72
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.3.0/>`_.
|
|
73
73
|
|
|
74
74
|
Installation
|
|
75
75
|
------------
|
|
@@ -86,8 +86,8 @@ Requirements
|
|
|
86
86
|
======================================= ==================
|
|
87
87
|
PIP package Version required
|
|
88
88
|
======================================= ==================
|
|
89
|
-
``apache-airflow`` ``>=2.
|
|
90
|
-
``apache-airflow-providers-common-sql`` ``>=1.
|
|
89
|
+
``apache-airflow`` ``>=2.10.0``
|
|
90
|
+
``apache-airflow-providers-common-sql`` ``>=1.27.0``
|
|
91
91
|
``elasticsearch`` ``>=8.10,<9``
|
|
92
92
|
======================================= ==================
|
|
93
93
|
|
|
@@ -111,5 +111,5 @@ Dependent package
|
|
|
111
111
|
============================================================================================================ ==============
|
|
112
112
|
|
|
113
113
|
The changelog for the provider package can be found in the
|
|
114
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.
|
|
114
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-elasticsearch/6.3.0/changelog.html>`_.
|
|
115
115
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
airflow/providers/elasticsearch/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
2
|
-
airflow/providers/elasticsearch/__init__.py,sha256=
|
|
2
|
+
airflow/providers/elasticsearch/__init__.py,sha256=Mpfzp3sAo0gUllfHUHU13EGd8KvNOdjMR_ffECrwcqY,1502
|
|
3
3
|
airflow/providers/elasticsearch/get_provider_info.py,sha256=473iBNJ4Kiy-DvbOa6CqDOS3pPEs6x7WBwkhR1QTuiw,8106
|
|
4
|
-
airflow/providers/elasticsearch/version_compat.py,sha256=
|
|
4
|
+
airflow/providers/elasticsearch/version_compat.py,sha256=j5PCtXvZ71aBjixu-EFTNtVDPsngzzs7os0ZQDgFVDk,1536
|
|
5
5
|
airflow/providers/elasticsearch/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
6
|
-
airflow/providers/elasticsearch/hooks/elasticsearch.py,sha256=
|
|
6
|
+
airflow/providers/elasticsearch/hooks/elasticsearch.py,sha256=JYO0BhZmmAmAOPQEJ1Ork3X8MrmoFs7cDwLNhboXUmA,8491
|
|
7
7
|
airflow/providers/elasticsearch/log/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
8
8
|
airflow/providers/elasticsearch/log/es_json_formatter.py,sha256=DwWPDJtZLr_6Mdae1-XVEgmE1XErFIanSzxWovs50ig,1796
|
|
9
9
|
airflow/providers/elasticsearch/log/es_response.py,sha256=LdMBuVBTydaC42HooYSttAjTK-CpPA4r_KHl38msMnk,6046
|
|
10
10
|
airflow/providers/elasticsearch/log/es_task_handler.py,sha256=6iGOwh0CsFA5EtsmfCGbyt9mYpBO3IX0fYHlBrsPGN4,28513
|
|
11
|
-
apache_airflow_providers_elasticsearch-6.
|
|
12
|
-
apache_airflow_providers_elasticsearch-6.
|
|
13
|
-
apache_airflow_providers_elasticsearch-6.
|
|
14
|
-
apache_airflow_providers_elasticsearch-6.
|
|
11
|
+
apache_airflow_providers_elasticsearch-6.3.0.dist-info/entry_points.txt,sha256=jpgAUVmTsdtWQ4nru2FJQKP9JBN4OPHK-ybfYc3_BOs,109
|
|
12
|
+
apache_airflow_providers_elasticsearch-6.3.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
13
|
+
apache_airflow_providers_elasticsearch-6.3.0.dist-info/METADATA,sha256=odNMpWIhvjpTG17ImimfmY0ofDzIOzYgRqEtkkD7P6Q,5216
|
|
14
|
+
apache_airflow_providers_elasticsearch-6.3.0.dist-info/RECORD,,
|
|
File without changes
|