airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2088] Fix duplicate keys in MySQL to GCS Helper function
Date Fri, 09 Feb 2018 12:24:26 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 0a71370d0 -> 759d8f83e


[AIRFLOW-2088] Fix duplicate keys in MySQL to GCS Helper function

- Remove the duplicate key in
`MySqlToGoogleCloudStorageOperator` in the
`type_map` helper function that maps from MySQL
fields to BigQuery fields.

Closes #3022 from kaxil/duplicate-keys-fix


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

Branch: refs/heads/master
Commit: 759d8f83e79f7d22a5cfca93205ebaf1ce30a5ad
Parents: 0a71370
Author: Kaxil Naik <kaxilnaik@gmail.com>
Authored: Fri Feb 9 13:24:21 2018 +0100
Committer: Fokko Driesprong <fokkodriesprong@godatadriven.com>
Committed: Fri Feb 9 13:24:21 2018 +0100

----------------------------------------------------------------------
 airflow/contrib/operators/mysql_to_gcs.py | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/759d8f83/airflow/contrib/operators/mysql_to_gcs.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/mysql_to_gcs.py b/airflow/contrib/operators/mysql_to_gcs.py
index 784481d..41e23f5 100644
--- a/airflow/contrib/operators/mysql_to_gcs.py
+++ b/airflow/contrib/operators/mysql_to_gcs.py
@@ -214,7 +214,6 @@ class MySqlToGoogleCloudStorageOperator(BaseOperator):
         when a schema_filename is set.
         """
         d = {
-            FIELD_TYPE.INT24: 'INTEGER',
             FIELD_TYPE.TINY: 'INTEGER',
             FIELD_TYPE.BIT: 'INTEGER',
             FIELD_TYPE.DATETIME: 'TIMESTAMP',


Mime
View raw message