airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Len Frodgers (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-1898) Large XComs are not supported and fail silently
Date Fri, 08 Dec 2017 18:16:00 GMT


Len Frodgers commented on AIRFLOW-1898:

Sadly not. LargeBinary is simply the underlying storage behind PickleType, so it still resolves
to BLOB in MySQL

> Large XComs are not supported and fail silently
> -----------------------------------------------
>                 Key: AIRFLOW-1898
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: xcom
>    Affects Versions: Airflow 1.8
>         Environment: MySQL
>            Reporter: Len Frodgers
> I am using Airlfow backed by MySQL and having problems with large XComs (> 64 KB).
Xcom uses PickleType which is backed by BLOB on MySQL.
> Unfortunately, MySQL by default truncates anything longer than BLOB (64 KB) when saving,
so when unpickling such XComs, they are corrupt and an EOFError is raised.
> Two things we need:
> 1) Validation when saving the XCom that it is not too big
> 2) Use MEDIUMBLOB as the underlying data type for the XCOM column on MySQL so large XComs
can be stored (supports  up to 12 MB i think)

This message was sent by Atlassian JIRA

View raw message