You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Yun Xu (JIRA)" <ji...@apache.org> on 2019/07/22 18:05:00 UTC
[jira] [Updated] (AIRFLOW-5018) MySqlToHiveTransfer Operator type
mapping issue
[ https://issues.apache.org/jira/browse/AIRFLOW-5018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Xu updated AIRFLOW-5018:
----------------------------
Description:
[https://github.com/apache/airflow/blob/master/airflow/operators/mysql_to_hive.py#L107-L108]
Currently in airflow MySqlToHiveTransfer, the type mapping for LONG and LONGLONG look like to be LONG -> BIGINT, LONGLONG -> DECIMAL(38,0). However, based on MySql code types, should they be LONG -> INT, LONGLONG -> BIGINT ? [https://dev.mysql.com/doc/refman/8.0/en/c-api-prepared-statement-type-codes.html]
Correct me if i understand wrong here. Thanks!
was:
[https://github.com/apache/airflow/blob/master/airflow/operators/mysql_to_hive.py#L107-L108]
Currently in airflow MySqlToHiveTransfer, the type mapping for LONG and LONGLONG look like to be LONG -> BIGINT, LONGLONG -> DECIMAL(38,0). However, based on MySql code types, should they be LONG -> INT, LONGLONG -> BIGINT ? [https://dev.mysql.com/doc/refman/8.0/en/c-api-prepared-statement-type-codes.html]
Correct me if i understand incorrectly.
> MySqlToHiveTransfer Operator type mapping issue
> -----------------------------------------------
>
> Key: AIRFLOW-5018
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5018
> Project: Apache Airflow
> Issue Type: Bug
> Components: operators
> Affects Versions: 1.10.3
> Reporter: Yun Xu
> Priority: Major
>
> [https://github.com/apache/airflow/blob/master/airflow/operators/mysql_to_hive.py#L107-L108]
> Currently in airflow MySqlToHiveTransfer, the type mapping for LONG and LONGLONG look like to be LONG -> BIGINT, LONGLONG -> DECIMAL(38,0). However, based on MySql code types, should they be LONG -> INT, LONGLONG -> BIGINT ? [https://dev.mysql.com/doc/refman/8.0/en/c-api-prepared-statement-type-codes.html]
> Correct me if i understand wrong here. Thanks!
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)