uranusjr commented on pull request #20975:
URL: https://github.com/apache/airflow/pull/20975#issuecomment-1021798682


   Oh no
   
   ```
   self = <_mysql.connection open to 'mysql' at 0x55ac746f4270>, query = 
b'ALTER TABLE __airflow_tmp_xcom ADD CONSTRAINT xcom_pkey PRIMARY KEY (`key`, 
dag_id, task_id, run_id)'
   
       def query(self, query):
           # Since _mysql releases GIL while querying, we need immutable buffer.
           if isinstance(query, bytearray):
               query = bytes(query)
   >       _mysql.connection.query(self, query)
   E       sqlalchemy.exc.OperationalError: 
(MySQLdb._exceptions.OperationalError) (1071, 'Specified key was too long; max 
key length is 3072 bytes')
   E       [SQL: ALTER TABLE __airflow_tmp_xcom ADD CONSTRAINT xcom_pkey 
PRIMARY KEY (`key`, dag_id, task_id, run_id)]
   E       (Background on this error at: http://sqlalche.me/e/13/e3q8)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to