apache-airflow-providers-apache-hive 8.1.2rc1__py3-none-any.whl → 8.2.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.

Potentially problematic release.


This version of apache-airflow-providers-apache-hive might be problematic. Click here for more details.

@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "8.1.2"
32
+ __version__ = "8.2.0"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
- "2.7.0"
35
+ "2.8.0"
36
36
  ):
37
37
  raise RuntimeError(
38
- f"The package `apache-airflow-providers-apache-hive:{__version__}` needs Apache Airflow 2.7.0+"
38
+ f"The package `apache-airflow-providers-apache-hive:{__version__}` needs Apache Airflow 2.8.0+"
39
39
  )
@@ -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": 1718603836,
31
+ "source-date-epoch": 1723969208,
32
32
  "versions": [
33
+ "8.2.0",
33
34
  "8.1.2",
34
35
  "8.1.1",
35
36
  "8.1.0",
@@ -76,7 +77,7 @@ def get_provider_info():
76
77
  "1.0.0",
77
78
  ],
78
79
  "dependencies": [
79
- "apache-airflow>=2.7.0",
80
+ "apache-airflow>=2.8.0",
80
81
  "apache-airflow-providers-common-sql>=1.3.1",
81
82
  "hmsclient>=0.1.0",
82
83
  'pandas>=2.1.2,<2.2;python_version>="3.9"',
@@ -55,7 +55,8 @@ def get_context_from_env_var() -> dict[Any, Any]:
55
55
 
56
56
 
57
57
  class HiveCliHook(BaseHook):
58
- """Simple wrapper around the hive CLI.
58
+ """
59
+ Simple wrapper around the hive CLI.
59
60
 
60
61
  It also supports the ``beeline``
61
62
  a lighter CLI that runs JDBC and is replacing the heavier
@@ -645,7 +646,8 @@ class HiveMetastoreHook(BaseHook):
645
646
  return client.check_for_named_partition(schema, table, partition_name)
646
647
 
647
648
  def get_table(self, table_name: str, db: str = "default") -> Any:
648
- """Get a metastore table object.
649
+ """
650
+ Get a metastore table object.
649
651
 
650
652
  >>> hh = HiveMetastoreHook()
651
653
  >>> t = hh.get_table(db="airflow", table_name="static_babynames")
@@ -31,7 +31,8 @@ if TYPE_CHECKING:
31
31
 
32
32
 
33
33
  class HiveStatsCollectionOperator(BaseOperator):
34
- """Gather partition statistics and insert them into MySQL.
34
+ """
35
+ Gather partition statistics and insert them into MySQL.
35
36
 
36
37
  Statistics are gathered with a dynamically generated Presto query and
37
38
  inserted with this format. Stats overwrite themselves if you rerun the
@@ -94,7 +94,8 @@ class VerticaToHiveOperator(BaseOperator):
94
94
 
95
95
  @classmethod
96
96
  def type_map(cls, vertica_type):
97
- """Manually hack Vertica-Python type mapping.
97
+ """
98
+ Manually hack Vertica-Python type mapping.
98
99
 
99
100
  The stock datatype.py does not provide the full type mapping access.
100
101
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-apache-hive
3
- Version: 8.1.2rc1
3
+ Version: 8.2.0
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>
@@ -21,8 +21,8 @@ Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Programming Language :: Python :: 3.12
23
23
  Classifier: Topic :: System :: Monitoring
24
- Requires-Dist: apache-airflow-providers-common-sql>=1.3.1rc0
25
- Requires-Dist: apache-airflow>=2.7.0rc0
24
+ Requires-Dist: apache-airflow-providers-common-sql>=1.3.1
25
+ Requires-Dist: apache-airflow>=2.8.0
26
26
  Requires-Dist: hmsclient>=0.1.0
27
27
  Requires-Dist: jmespath>=0.7.0
28
28
  Requires-Dist: pandas>=1.5.3,<2.2;python_version<"3.9"
@@ -37,8 +37,8 @@ Requires-Dist: apache-airflow-providers-presto ; extra == "presto"
37
37
  Requires-Dist: apache-airflow-providers-samba ; extra == "samba"
38
38
  Requires-Dist: apache-airflow-providers-vertica ; extra == "vertica"
39
39
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
40
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.1.2/changelog.html
41
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.1.2
40
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.2.0/changelog.html
41
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.2.0
42
42
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
43
43
  Project-URL: Source Code, https://github.com/apache/airflow
44
44
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -95,7 +95,7 @@ Provides-Extra: vertica
95
95
 
96
96
  Package ``apache-airflow-providers-apache-hive``
97
97
 
98
- Release: ``8.1.2.rc1``
98
+ Release: ``8.2.0``
99
99
 
100
100
 
101
101
  `Apache Hive <https://hive.apache.org/>`__
@@ -108,7 +108,7 @@ This is a provider package for ``apache.hive`` provider. All classes for this pr
108
108
  are in ``airflow.providers.apache.hive`` python package.
109
109
 
110
110
  You can find package information and changelog for the provider
111
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.1.2/>`_.
111
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.2.0/>`_.
112
112
 
113
113
  Installation
114
114
  ------------
@@ -125,7 +125,7 @@ Requirements
125
125
  ======================================= =========================================
126
126
  PIP package Version required
127
127
  ======================================= =========================================
128
- ``apache-airflow`` ``>=2.7.0``
128
+ ``apache-airflow`` ``>=2.8.0``
129
129
  ``apache-airflow-providers-common-sql`` ``>=1.3.1``
130
130
  ``hmsclient`` ``>=0.1.0``
131
131
  ``pandas`` ``>=2.1.2,<2.2; python_version >= "3.9"``
@@ -161,4 +161,4 @@ Dependent package
161
161
  ====================================================================================================================== ===================
162
162
 
163
163
  The changelog for the provider package can be found in the
164
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.1.2/changelog.html>`_.
164
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/8.2.0/changelog.html>`_.
@@ -1,13 +1,13 @@
1
1
  airflow/providers/apache/hive/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
2
- airflow/providers/apache/hive/__init__.py,sha256=rDsmlDjbV_IOwH8ido6_mClGcupKJNy5XVaV2NrxvYU,1498
3
- airflow/providers/apache/hive/get_provider_info.py,sha256=4ng4H0t-J7BbrGuvzdJjh6ON9gf5GcIzq69NdqoQDwI,7002
2
+ airflow/providers/apache/hive/__init__.py,sha256=qQxLfTJze5VT78my7mLsBPxKKpk4GQlTA4jZMJ_pgi0,1498
3
+ airflow/providers/apache/hive/get_provider_info.py,sha256=Oa8U4pGh7OftW4lX78BHXbkLFnjFMF-fnPM6K_hYmIM,7023
4
4
  airflow/providers/apache/hive/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
5
- airflow/providers/apache/hive/hooks/hive.py,sha256=N9WzqwXL3OMx-D9UC8cOymvERDY-Ki9NW1x1GJ71P8Q,42884
5
+ airflow/providers/apache/hive/hooks/hive.py,sha256=UKnTI_gaApngT9S7sPFYxBgj51Pl1WNTLioNiVxwQBY,42898
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
9
9
  airflow/providers/apache/hive/operators/hive.py,sha256=rDVz_d6w5KK3LsubSkgGBmd1kozNVveQYmWDcYN1Rcw,7012
10
- airflow/providers/apache/hive/operators/hive_stats.py,sha256=4HicOUaPK9jZo5WpAt-YLFXos4y6S_XrenO0Y4XvEDw,7042
10
+ airflow/providers/apache/hive/operators/hive_stats.py,sha256=zIdAlR3KLPvliqiZCLycRoO4v9hPkA58wmSa6d1W2lU,7047
11
11
  airflow/providers/apache/hive/plugins/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
12
12
  airflow/providers/apache/hive/plugins/hive.py,sha256=rrGccro6DEdnHSmII3goBYD9te-XdhPaPMjWpF-36HU,1146
13
13
  airflow/providers/apache/hive/sensors/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
@@ -20,8 +20,8 @@ airflow/providers/apache/hive/transfers/hive_to_samba.py,sha256=cIACOY-NgYl-ktD1
20
20
  airflow/providers/apache/hive/transfers/mssql_to_hive.py,sha256=bnhHsen0qqgenQD2QGl5yEEQaGFf7Do9m84wMsVVH0s,5617
21
21
  airflow/providers/apache/hive/transfers/mysql_to_hive.py,sha256=eULN-LsKagLF8k2rKfyfOD0np1lvIxbNLjRL2DvUgrU,6625
22
22
  airflow/providers/apache/hive/transfers/s3_to_hive.py,sha256=s5OOVnDy3Cm21Ypbp2Gjxff7LhHFb1hFtZI30b8xj-Q,11750
23
- airflow/providers/apache/hive/transfers/vertica_to_hive.py,sha256=3REqZwpdgNo5PFsDV-8wXWyt9XtmemyETT5sq6ABBT0,5519
24
- apache_airflow_providers_apache_hive-8.1.2rc1.dist-info/entry_points.txt,sha256=Hzixt33mYYldwmwswarArUB7ZU0xbmUtd3tFViZ414s,185
25
- apache_airflow_providers_apache_hive-8.1.2rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
26
- apache_airflow_providers_apache_hive-8.1.2rc1.dist-info/METADATA,sha256=CYbAGCArBrAmTZRIcop-Tuj9j7zds_bcd5pTBiGY5hc,8214
27
- apache_airflow_providers_apache_hive-8.1.2rc1.dist-info/RECORD,,
23
+ airflow/providers/apache/hive/transfers/vertica_to_hive.py,sha256=cszge1MSZmaUhHuAkmtTDdflzmShEb5cJNA2t3Wbba8,5528
24
+ apache_airflow_providers_apache_hive-8.2.0.dist-info/entry_points.txt,sha256=Hzixt33mYYldwmwswarArUB7ZU0xbmUtd3tFViZ414s,185
25
+ apache_airflow_providers_apache_hive-8.2.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
26
+ apache_airflow_providers_apache_hive-8.2.0.dist-info/METADATA,sha256=ggMKDXsytqZdUbnQodybNwSYwHVzVXyx9BPG_RMTlf4,8201
27
+ apache_airflow_providers_apache_hive-8.2.0.dist-info/RECORD,,