apache-airflow-providers-apache-hive 9.0.0rc2__py3-none-any.whl → 9.0.1__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.
@@ -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__ = "9.0.0"
32
+ __version__ = "9.0.1"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.9.0"
@@ -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": "Apache Hive",
29
28
  "description": "`Apache Hive <https://hive.apache.org/>`__\n",
30
29
  "state": "ready",
31
- "source-date-epoch": 1734528011,
30
+ "source-date-epoch": 1739958611,
32
31
  "versions": [
32
+ "9.0.1",
33
33
  "9.0.0",
34
34
  "8.2.1",
35
35
  "8.2.0",
@@ -78,22 +78,12 @@ def get_provider_info():
78
78
  "1.0.1",
79
79
  "1.0.0",
80
80
  ],
81
- "dependencies": [
82
- "apache-airflow>=2.9.0",
83
- "apache-airflow-providers-common-sql>=1.20.0",
84
- "hmsclient>=0.1.0",
85
- 'pandas>=2.1.2,<2.2;python_version>="3.9"',
86
- 'pandas>=1.5.3,<2.2;python_version<"3.9"',
87
- "pyhive[hive_pure_sasl]>=0.7.0",
88
- "thrift>=0.11.0",
89
- "jmespath>=0.7.0",
90
- ],
91
81
  "integrations": [
92
82
  {
93
83
  "integration-name": "Apache Hive",
94
84
  "external-doc-url": "https://hive.apache.org/",
95
85
  "how-to-guide": ["/docs/apache-airflow-providers-apache-hive/operators.rst"],
96
- "logo": "/integration-logos/apache/hive.png",
86
+ "logo": "/docs/integration-logos/hive.png",
97
87
  "tags": ["apache"],
98
88
  }
99
89
  ],
@@ -192,4 +182,21 @@ def get_provider_info():
192
182
  },
193
183
  }
194
184
  },
185
+ "dependencies": [
186
+ "apache-airflow>=2.9.0",
187
+ "apache-airflow-providers-common-sql>=1.20.0",
188
+ "hmsclient>=0.1.0",
189
+ "pandas>=2.1.2,<2.2",
190
+ "pyhive[hive_pure_sasl]>=0.7.0",
191
+ "thrift>=0.11.0",
192
+ "jmespath>=0.7.0",
193
+ ],
194
+ "optional-dependencies": {
195
+ "amazon": ["apache-airflow-providers-amazon"],
196
+ "microsoft.mssql": ["apache-airflow-providers-microsoft-mssql"],
197
+ "mysql": ["apache-airflow-providers-mysql"],
198
+ "presto": ["apache-airflow-providers-presto"],
199
+ "samba": ["apache-airflow-providers-samba"],
200
+ "vertica": ["apache-airflow-providers-vertica"],
201
+ },
195
202
  }
@@ -141,13 +141,15 @@ class HiveOperator(BaseOperator):
141
141
  # set the mapred_job_name if it's not set with dag, task, execution time info
142
142
  if not self.mapred_job_name:
143
143
  ti = context["ti"]
144
- if ti.logical_date is None:
144
+ logical_date = context["logical_date"]
145
+ if logical_date is None:
145
146
  raise RuntimeError("logical_date is None")
147
+ hostname = ti.hostname or ""
146
148
  self.hook.mapred_job_name = self.mapred_job_name_template.format(
147
149
  dag_id=ti.dag_id,
148
150
  task_id=ti.task_id,
149
- logical_date=ti.logical_date.isoformat(),
150
- hostname=ti.hostname.split(".")[0],
151
+ logical_date=logical_date.isoformat(),
152
+ hostname=hostname.split(".")[0],
151
153
  )
152
154
 
153
155
  if self.hiveconf_jinja_translate:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: apache-airflow-providers-apache-hive
3
- Version: 9.0.0rc2
3
+ Version: 9.0.1
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,14 +20,13 @@ 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-providers-common-sql>=1.20.0rc0
24
- Requires-Dist: apache-airflow>=2.9.0rc0
23
+ Requires-Dist: apache-airflow>=2.9.0
24
+ Requires-Dist: apache-airflow-providers-common-sql>=1.20.0
25
25
  Requires-Dist: hmsclient>=0.1.0
26
- Requires-Dist: jmespath>=0.7.0
27
- Requires-Dist: pandas>=1.5.3,<2.2;python_version<"3.9"
28
- Requires-Dist: pandas>=2.1.2,<2.2;python_version>="3.9"
26
+ Requires-Dist: pandas>=2.1.2,<2.2
29
27
  Requires-Dist: pyhive[hive-pure-sasl]>=0.7.0
30
28
  Requires-Dist: thrift>=0.11.0
29
+ Requires-Dist: jmespath>=0.7.0
31
30
  Requires-Dist: apache-airflow-providers-amazon ; extra == "amazon"
32
31
  Requires-Dist: apache-airflow-providers-microsoft-mssql ; extra == "microsoft-mssql"
33
32
  Requires-Dist: apache-airflow-providers-mysql ; extra == "mysql"
@@ -35,8 +34,8 @@ Requires-Dist: apache-airflow-providers-presto ; extra == "presto"
35
34
  Requires-Dist: apache-airflow-providers-samba ; extra == "samba"
36
35
  Requires-Dist: apache-airflow-providers-vertica ; extra == "vertica"
37
36
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
38
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.0/changelog.html
39
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.0
37
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.1/changelog.html
38
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.1
40
39
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
41
40
  Project-URL: Source Code, https://github.com/apache/airflow
42
41
  Project-URL: Twitter, https://x.com/ApacheAirflow
@@ -49,23 +48,6 @@ Provides-Extra: samba
49
48
  Provides-Extra: vertica
50
49
 
51
50
 
52
- .. Licensed to the Apache Software Foundation (ASF) under one
53
- or more contributor license agreements. See the NOTICE file
54
- distributed with this work for additional information
55
- regarding copyright ownership. The ASF licenses this file
56
- to you under the Apache License, Version 2.0 (the
57
- "License"); you may not use this file except in compliance
58
- with the License. You may obtain a copy of the License at
59
-
60
- .. http://www.apache.org/licenses/LICENSE-2.0
61
-
62
- .. Unless required by applicable law or agreed to in writing,
63
- software distributed under the License is distributed on an
64
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
65
- KIND, either express or implied. See the License for the
66
- specific language governing permissions and limitations
67
- under the License.
68
-
69
51
  .. Licensed to the Apache Software Foundation (ASF) under one
70
52
  or more contributor license agreements. See the NOTICE file
71
53
  distributed with this work for additional information
@@ -83,8 +65,7 @@ Provides-Extra: vertica
83
65
  specific language governing permissions and limitations
84
66
  under the License.
85
67
 
86
- .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
87
- OVERWRITTEN WHEN PREPARING PACKAGES.
68
+ .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
88
69
 
89
70
  .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
90
71
  `PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
@@ -92,7 +73,7 @@ Provides-Extra: vertica
92
73
 
93
74
  Package ``apache-airflow-providers-apache-hive``
94
75
 
95
- Release: ``9.0.0.rc2``
76
+ Release: ``9.0.1``
96
77
 
97
78
 
98
79
  `Apache Hive <https://hive.apache.org/>`__
@@ -105,7 +86,7 @@ This is a provider package for ``apache.hive`` provider. All classes for this pr
105
86
  are in ``airflow.providers.apache.hive`` python package.
106
87
 
107
88
  You can find package information and changelog for the provider
108
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.0/>`_.
89
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.1/>`_.
109
90
 
110
91
  Installation
111
92
  ------------
@@ -119,18 +100,17 @@ The package supports the following python versions: 3.9,3.10,3.11,3.12
119
100
  Requirements
120
101
  ------------
121
102
 
122
- ======================================= =========================================
103
+ ======================================= ==================
123
104
  PIP package Version required
124
- ======================================= =========================================
105
+ ======================================= ==================
125
106
  ``apache-airflow`` ``>=2.9.0``
126
107
  ``apache-airflow-providers-common-sql`` ``>=1.20.0``
127
108
  ``hmsclient`` ``>=0.1.0``
128
- ``pandas`` ``>=2.1.2,<2.2; python_version >= "3.9"``
129
- ``pandas`` ``>=1.5.3,<2.2; python_version < "3.9"``
109
+ ``pandas`` ``>=2.1.2,<2.2``
130
110
  ``pyhive[hive_pure_sasl]`` ``>=0.7.0``
131
111
  ``thrift`` ``>=0.11.0``
132
112
  ``jmespath`` ``>=0.7.0``
133
- ======================================= =========================================
113
+ ======================================= ==================
134
114
 
135
115
  Cross provider package dependencies
136
116
  -----------------------------------
@@ -158,4 +138,5 @@ Dependent package
158
138
  ====================================================================================================================== ===================
159
139
 
160
140
  The changelog for the provider package can be found in the
161
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.0/changelog.html>`_.
141
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-apache-hive/9.0.1/changelog.html>`_.
142
+
@@ -1,12 +1,12 @@
1
- airflow/providers/apache/hive/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
2
- airflow/providers/apache/hive/__init__.py,sha256=5b3RR33He6WC-TAwDICi8baXvCHO2OZubRrKpOUaPEg,1498
3
- airflow/providers/apache/hive/get_provider_info.py,sha256=tjfDpgG2vaWmY5DGiQCGNLsNSD1s9kFgU3K01-JVeA4,7066
1
+ airflow/providers/apache/hive/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
2
+ airflow/providers/apache/hive/__init__.py,sha256=Tt5oF0tOE_CxjiPBAGKDWX-ZfqNVjvdACorRflf9xVU,1498
3
+ airflow/providers/apache/hive/get_provider_info.py,sha256=rdYv3JoypNwgevcSX6Ikg4IPdccuKmzBMavXZ4loCXk,7398
4
4
  airflow/providers/apache/hive/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
5
5
  airflow/providers/apache/hive/hooks/hive.py,sha256=0BOk6tdrtq1vFXRMsqhLhXHGAmj85aOPnmS2movXcYQ,42573
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
- airflow/providers/apache/hive/operators/hive.py,sha256=d_73cC-ODb7q5_37R7MNUNT-xnz-xxqKmqEWR3S1wEc,7029
9
+ airflow/providers/apache/hive/operators/hive.py,sha256=KhKw8_8MTAU5jVFy9JUDMCFIN-ycJNd__GZefozHHAs,7112
10
10
  airflow/providers/apache/hive/operators/hive_stats.py,sha256=8fNlR9o8J9DKMDBpB849apqA2iGbMovlHOWute4TFCY,7074
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
@@ -21,7 +21,7 @@ airflow/providers/apache/hive/transfers/mssql_to_hive.py,sha256=SQGcJTAKPoRipmWL
21
21
  airflow/providers/apache/hive/transfers/mysql_to_hive.py,sha256=6BkAoYrn9wDfSC0BKHp86EgoUVtqwHGz9nZsielCydQ,7022
22
22
  airflow/providers/apache/hive/transfers/s3_to_hive.py,sha256=K5Zke6CF9Rgw7YDkOtWIYXC3_2TuXLTuwYxu8uVrGP0,12455
23
23
  airflow/providers/apache/hive/transfers/vertica_to_hive.py,sha256=IBiMGF7322rOrwDbWMVB89oKO8hFhhBmc6rQwPkFA34,5555
24
- apache_airflow_providers_apache_hive-9.0.0rc2.dist-info/entry_points.txt,sha256=Hzixt33mYYldwmwswarArUB7ZU0xbmUtd3tFViZ414s,185
25
- apache_airflow_providers_apache_hive-9.0.0rc2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
26
- apache_airflow_providers_apache_hive-9.0.0rc2.dist-info/METADATA,sha256=1Zc8hRGkPo1tccjV22uHI0P87u2X_tRm_iEdwbIlu60,8054
27
- apache_airflow_providers_apache_hive-9.0.0rc2.dist-info/RECORD,,
24
+ apache_airflow_providers_apache_hive-9.0.1.dist-info/entry_points.txt,sha256=Hzixt33mYYldwmwswarArUB7ZU0xbmUtd3tFViZ414s,185
25
+ apache_airflow_providers_apache_hive-9.0.1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
26
+ apache_airflow_providers_apache_hive-9.0.1.dist-info/METADATA,sha256=hgbGZaKy_BmNdAGGc2xHPezCILD7BzdZYj4MMu0DCV8,6963
27
+ apache_airflow_providers_apache_hive-9.0.1.dist-info/RECORD,,