airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-1035][AIRFLOW-1053] import unicode_literals to parse Unicode in HQL
Date Sun, 25 Feb 2018 11:23:25 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 496d0f437 -> 4118e71de


[AIRFLOW-1035][AIRFLOW-1053] import unicode_literals to parse Unicode in HQL

Closes #3053 from naoyak/AIRFLOW-1053


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/4118e71d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/4118e71d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/4118e71d

Branch: refs/heads/master
Commit: 4118e71de3bc4d9802e5b1710cd8f29a488a02fb
Parents: 496d0f4
Author: Naoya Kanai <naoya.kanai@airbnb.com>
Authored: Sun Feb 25 12:23:14 2018 +0100
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Sun Feb 25 12:23:14 2018 +0100

----------------------------------------------------------------------
 airflow/hooks/hive_hooks.py        | 2 +-
 airflow/operators/hive_operator.py | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/4118e71d/airflow/hooks/hive_hooks.py
----------------------------------------------------------------------
diff --git a/airflow/hooks/hive_hooks.py b/airflow/hooks/hive_hooks.py
index 47aebc8..cd7319d 100644
--- a/airflow/hooks/hive_hooks.py
+++ b/airflow/hooks/hive_hooks.py
@@ -13,7 +13,7 @@
 # limitations under the License.
 #
 
-from __future__ import print_function
+from __future__ import print_function, unicode_literals
 from six.moves import zip
 from past.builtins import basestring
 

http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/4118e71d/airflow/operators/hive_operator.py
----------------------------------------------------------------------
diff --git a/airflow/operators/hive_operator.py b/airflow/operators/hive_operator.py
index ffb98ac..fdd1689 100644
--- a/airflow/operators/hive_operator.py
+++ b/airflow/operators/hive_operator.py
@@ -11,6 +11,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+from __future__ import unicode_literals
+
 import re
 
 from airflow.hooks.hive_hooks import HiveCliHook


Mime
View raw message