apache-airflow-providers-apache-hive 7.0.0__py3-none-any.whl → 7.0.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-apache-hive might be problematic. Click here for more details.
- airflow/providers/apache/hive/__init__.py +1 -1
- airflow/providers/apache/hive/get_provider_info.py +3 -2
- airflow/providers/apache/hive/hooks/hive.py +2 -5
- airflow/providers/apache/hive/transfers/s3_to_hive.py +1 -1
- {apache_airflow_providers_apache_hive-7.0.0.dist-info → apache_airflow_providers_apache_hive-7.0.1rc1.dist-info}/METADATA +10 -10
- {apache_airflow_providers_apache_hive-7.0.0.dist-info → apache_airflow_providers_apache_hive-7.0.1rc1.dist-info}/RECORD +8 -8
- {apache_airflow_providers_apache_hive-7.0.0.dist-info → apache_airflow_providers_apache_hive-7.0.1rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_apache_hive-7.0.0.dist-info → apache_airflow_providers_apache_hive-7.0.1rc1.dist-info}/entry_points.txt +0 -0
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
|
28
28
|
"name": "Apache Hive",
|
|
29
29
|
"description": "`Apache Hive <https://hive.apache.org/>`__\n",
|
|
30
30
|
"state": "ready",
|
|
31
|
-
"source-date-epoch":
|
|
31
|
+
"source-date-epoch": 1709554960,
|
|
32
32
|
"versions": [
|
|
33
|
+
"7.0.1",
|
|
33
34
|
"7.0.0",
|
|
34
35
|
"6.4.2",
|
|
35
36
|
"6.4.1",
|
|
@@ -74,7 +75,7 @@ def get_provider_info():
|
|
|
74
75
|
"apache-airflow>=2.6.0",
|
|
75
76
|
"apache-airflow-providers-common-sql>=1.3.1",
|
|
76
77
|
"hmsclient>=0.1.0",
|
|
77
|
-
"pandas>=1.2.5",
|
|
78
|
+
"pandas>=1.2.5,<2.2",
|
|
78
79
|
"pyhive[hive_pure_sasl]>=0.7.0",
|
|
79
80
|
"thrift>=0.9.2",
|
|
80
81
|
],
|
|
@@ -478,8 +478,7 @@ class HiveCliHook(BaseHook):
|
|
|
478
478
|
pvals = ", ".join(f"{k}='{v}'" for k, v in partition.items())
|
|
479
479
|
hql += f"PARTITION ({pvals})"
|
|
480
480
|
|
|
481
|
-
#
|
|
482
|
-
# at the end of hql (AIRFLOW-2412).
|
|
481
|
+
# Add a newline character as a workaround for https://issues.apache.org/jira/browse/HIVE-10541,
|
|
483
482
|
hql += ";\n"
|
|
484
483
|
|
|
485
484
|
self.log.info(hql)
|
|
@@ -907,10 +906,8 @@ class HiveServer2Hook(DbApiHook):
|
|
|
907
906
|
with contextlib.closing(self.get_conn(schema)) as conn, contextlib.closing(conn.cursor()) as cur:
|
|
908
907
|
cur.arraysize = fetch_size or 1000
|
|
909
908
|
|
|
910
|
-
# not all query services (e.g. impala AIRFLOW-4434) support the set command
|
|
911
|
-
|
|
912
909
|
db = self.get_connection(self.hiveserver2_conn_id) # type: ignore
|
|
913
|
-
|
|
910
|
+
# Not all query services (e.g. impala) support the set command
|
|
914
911
|
if db.extra_dejson.get("run_set_variable_statements", True):
|
|
915
912
|
env_context = get_context_from_env_var()
|
|
916
913
|
if hive_conf:
|
|
@@ -106,7 +106,7 @@ class S3ToHiveOperator(BaseOperator):
|
|
|
106
106
|
headers: bool = False,
|
|
107
107
|
check_headers: bool = False,
|
|
108
108
|
wildcard_match: bool = False,
|
|
109
|
-
aws_conn_id: str = "aws_default",
|
|
109
|
+
aws_conn_id: str | None = "aws_default",
|
|
110
110
|
verify: bool | str | None = None,
|
|
111
111
|
hive_cli_conn_id: str = "hive_cli_default",
|
|
112
112
|
input_compressed: bool = False,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-apache-hive
|
|
3
|
-
Version: 7.0.
|
|
3
|
+
Version: 7.0.1rc1
|
|
4
4
|
Summary: Provider package apache-airflow-providers-apache-hive for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,apache.hive,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -20,10 +20,10 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
|
23
|
-
Requires-Dist: apache-airflow-providers-common-sql>=1.3.1
|
|
24
|
-
Requires-Dist: apache-airflow>=2.6.0
|
|
23
|
+
Requires-Dist: apache-airflow-providers-common-sql>=1.3.1.dev0
|
|
24
|
+
Requires-Dist: apache-airflow>=2.6.0.dev0
|
|
25
25
|
Requires-Dist: hmsclient>=0.1.0
|
|
26
|
-
Requires-Dist: pandas>=1.2.5
|
|
26
|
+
Requires-Dist: pandas>=1.2.5,<2.2
|
|
27
27
|
Requires-Dist: pyhive[hive_pure_sasl]>=0.7.0
|
|
28
28
|
Requires-Dist: thrift>=0.9.2
|
|
29
29
|
Requires-Dist: apache-airflow-providers-amazon ; extra == "amazon"
|
|
@@ -34,8 +34,8 @@ Requires-Dist: apache-airflow-providers-presto ; extra == "presto"
|
|
|
34
34
|
Requires-Dist: apache-airflow-providers-samba ; extra == "samba"
|
|
35
35
|
Requires-Dist: apache-airflow-providers-vertica ; extra == "vertica"
|
|
36
36
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
37
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.
|
|
38
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.
|
|
37
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.1/changelog.html
|
|
38
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.1
|
|
39
39
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
40
40
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
41
41
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
|
@@ -92,7 +92,7 @@ Provides-Extra: vertica
|
|
|
92
92
|
|
|
93
93
|
Package ``apache-airflow-providers-apache-hive``
|
|
94
94
|
|
|
95
|
-
Release: ``7.0.
|
|
95
|
+
Release: ``7.0.1.rc1``
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
`Apache Hive <https://hive.apache.org/>`__
|
|
@@ -105,7 +105,7 @@ This is a provider package for ``apache.hive`` provider. All classes for this pr
|
|
|
105
105
|
are in ``airflow.providers.apache.hive`` python package.
|
|
106
106
|
|
|
107
107
|
You can find package information and changelog for the provider
|
|
108
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.
|
|
108
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.1/>`_.
|
|
109
109
|
|
|
110
110
|
Installation
|
|
111
111
|
------------
|
|
@@ -125,7 +125,7 @@ PIP package Version required
|
|
|
125
125
|
``apache-airflow`` ``>=2.6.0``
|
|
126
126
|
``apache-airflow-providers-common-sql`` ``>=1.3.1``
|
|
127
127
|
``hmsclient`` ``>=0.1.0``
|
|
128
|
-
``pandas`` ``>=1.2.5``
|
|
128
|
+
``pandas`` ``>=1.2.5,<2.2``
|
|
129
129
|
``pyhive[hive_pure_sasl]`` ``>=0.7.0``
|
|
130
130
|
``thrift`` ``>=0.9.2``
|
|
131
131
|
======================================= ==================
|
|
@@ -156,4 +156,4 @@ Dependent package
|
|
|
156
156
|
====================================================================================================================== ===================
|
|
157
157
|
|
|
158
158
|
The changelog for the provider package can be found in the
|
|
159
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.
|
|
159
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/7.0.1/changelog.html>`_.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
airflow/providers/apache/hive/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
|
|
2
|
-
airflow/providers/apache/hive/__init__.py,sha256=
|
|
3
|
-
airflow/providers/apache/hive/get_provider_info.py,sha256=
|
|
2
|
+
airflow/providers/apache/hive/__init__.py,sha256=aNUchwA_ar9OKoEQEFL_Uh18PHAJP43pNsvikbJ6M1Q,1586
|
|
3
|
+
airflow/providers/apache/hive/get_provider_info.py,sha256=RUOCkCV1Kaz5HhCgqmCdGSyReZtrJqCH0dI-mmtLTXY,6809
|
|
4
4
|
airflow/providers/apache/hive/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
5
|
-
airflow/providers/apache/hive/hooks/hive.py,sha256=
|
|
5
|
+
airflow/providers/apache/hive/hooks/hive.py,sha256=35lvSIUhZwtwVnfbmYEtts5tb1FzGdikF8FgDfaeCcU,42538
|
|
6
6
|
airflow/providers/apache/hive/macros/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
7
7
|
airflow/providers/apache/hive/macros/hive.py,sha256=p3LUIb74pbthh8lcUXV6f3m-cZrcRXjV8aGiazdpnzo,4592
|
|
8
8
|
airflow/providers/apache/hive/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
|
@@ -19,9 +19,9 @@ airflow/providers/apache/hive/transfers/hive_to_mysql.py,sha256=Do5lgRCcT1Vk27uw
|
|
|
19
19
|
airflow/providers/apache/hive/transfers/hive_to_samba.py,sha256=1DYwcRnCdGLrYSGlUbEbMWAz22SMGzLciqZKuqvQCtg,2982
|
|
20
20
|
airflow/providers/apache/hive/transfers/mssql_to_hive.py,sha256=N1RnDLmghiDYNtDMG568IIsP5Wtl_J3hL0C6f0OmR9c,5616
|
|
21
21
|
airflow/providers/apache/hive/transfers/mysql_to_hive.py,sha256=H4Gac1cZeNpxeyVKAl3JAmAlFQlKVe8jsZ_70VbvdjA,6624
|
|
22
|
-
airflow/providers/apache/hive/transfers/s3_to_hive.py,sha256=
|
|
22
|
+
airflow/providers/apache/hive/transfers/s3_to_hive.py,sha256=7-gFXhF7Jcq3BepMvd7eUTLZbg9_y3dnEkmuzabid8A,11749
|
|
23
23
|
airflow/providers/apache/hive/transfers/vertica_to_hive.py,sha256=ooNd-WyVYLXyLZfjnwcduWfjc3kNMSwwD1IcqSH0IqQ,5518
|
|
24
|
-
apache_airflow_providers_apache_hive-7.0.
|
|
25
|
-
apache_airflow_providers_apache_hive-7.0.
|
|
26
|
-
apache_airflow_providers_apache_hive-7.0.
|
|
27
|
-
apache_airflow_providers_apache_hive-7.0.
|
|
24
|
+
apache_airflow_providers_apache_hive-7.0.1rc1.dist-info/entry_points.txt,sha256=Hzixt33mYYldwmwswarArUB7ZU0xbmUtd3tFViZ414s,185
|
|
25
|
+
apache_airflow_providers_apache_hive-7.0.1rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
26
|
+
apache_airflow_providers_apache_hive-7.0.1rc1.dist-info/METADATA,sha256=u8PdYBoU30_0z5bm34fk3OvjqexdNEwcY752vygn7CQ,7823
|
|
27
|
+
apache_airflow_providers_apache_hive-7.0.1rc1.dist-info/RECORD,,
|
|
File without changes
|