airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joy Gao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1740) Cannot add XCOM via UI
Date Thu, 19 Oct 2017 21:04:00 GMT
Joy Gao created AIRFLOW-1740:
--------------------------------

             Summary: Cannot add XCOM via UI
                 Key: AIRFLOW-1740
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1740
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: 1.9.0
            Reporter: Joy Gao
            Priority: Minor


I cannot create/update XCOM via UI. 

When attempting to update an existing dag's xcom, the following error is received:

{code:java}
Failed to update record. (builtins.TypeError) string argument without an encoding [SQL: 'UPDATE
xcom SET value=%s WHERE xcom.id = %s'] [parameters: [{'xcom_id': 165, 'value': "b'\\x80\\x03J+\\x92\\xdbYa.'"}]]
{code}

And for creating a new xcom:


{code:java}
Failed to create record. (builtins.TypeError) string argument without an encoding [SQL: 'INSERT
INTO xcom (`key`, value, timestamp, execution_date, task_id, dag_id) VALUES (%s, %s, now(),
%s, %s, %s)'] [parameters: [{'execution_date': datetime.datetime(2017, 10, 7, 1, 1), 'value':
'bar', 'task_id': 'test_task', 'key': 'foo', 'dag_id': 'test_dag'}]]
{code}







--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message