You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "David Allan (JIRA)" <ji...@apache.org> on 2018/09/11 19:22:00 UTC

[jira] [Created] (AIRFLOW-3041) Migration scripts not compatible with Oracle

David Allan created AIRFLOW-3041:
------------------------------------

             Summary: Migration scripts not compatible with Oracle
                 Key: AIRFLOW-3041
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3041
             Project: Apache Airflow
          Issue Type: Bug
          Components: db
    Affects Versions: 1.10.0
            Reporter: David Allan


The scripts to create the Airflow repository below

1. [bdaa763e6c56_make_xcom_value_column_a_large_binary.py|https://github.com/apache/incubator-airflow/blob/master/airflow/migrations/versions/bdaa763e6c56_make_xcom_value_column_a_large_binary.py] and

2. [0e2a74e0fc9f_add_time_zone_awareness.py|https://github.com/apache/incubator-airflow/blob/master/airflow/migrations/versions/0e2a74e0fc9f_add_time_zone_awareness.py]

fail on systems like Oracle, with errors such as ;
 # ORA-22858: invalid alteration of datatype 
 # ORA-02329: column of datatype TIME/TIMESTAMP WITH TIME ZONE cannot be unique or a primary key [SQL: 'ALTER TABLE dag_run MODIFY execution_date TIMESTAMP WITH TIME ZONE’]

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)