You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/30 10:30:29 UTC

[GitHub] [airflow] potiuk commented on issue #9069: Error Specified key was too long; max key length is 3072 bytes on ALTER TABLE xcom ADD CONSTRAINT pk_xcom PRIMARY KEY (dag_id, task_id, `key`, execution_date)

potiuk commented on issue #9069:
URL: https://github.com/apache/airflow/issues/9069#issuecomment-636311420


   @xu-xiang  - In Airlfow 2.0 we have a fix for that: https://github.com/apache/airflow/blob/e9ecf0ae10dffcd9ccaf22cc9f19f140fbc5ee55/airflow/config_templates/config.yml#L78 - you can specify different character set for ids  - without constraining the character set for the whole database. It's been added in https://github.com/apache/airflow/pull/7570 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org