vatsrahul1001 opened a new issue, #49159:
URL: https://github.com/apache/airflow/issues/49159

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Example_xcom failing when XComObjectStorageBackend enabled
   
   <img width="1675" alt="Image" 
src="https://github.com/user-attachments/assets/ba92dc8f-2b43-4343-a074-98072e3946de";
 />
   
   I looked into the reason for failure when XComObjectStorageBackend is 
enabled with `AIRFLOW__COMMON_IO__XCOM_OBJECTSTORAGE_THRESHOLD=1048576` and we 
execute a DAG with xcom value less than 1MV we do store this value in database 
xcom table only, however we are storing this in string with Double quote due to 
which `puller` task in example_xcom DAG is failing in assert type check
   
   
   **Xcom table when XComObjectStorageBackend enabled**
   
   <img width="1187" alt="Image" 
src="https://github.com/user-attachments/assets/d7aa9b11-9d01-44cd-a6ab-f1a646ebb3a3";
 />
   
   
   **Xcom table when XComObjectStorageBackend disabled**
   
   <img width="1147" alt="Image" 
src="https://github.com/user-attachments/assets/7517f9e6-0bf4-4586-a432-63a8bf902ef0";
 />
   
   
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   1. Create aws default connection 
   ```
   export AIRFLOW_CONN_AWS_DEFAULT='{
     "conn_type": "aws",
     "extra":
       {
         "region_name": "us-east-2",
         "aws_access_key_id": "******",
         "aws_secret_access_key": "***"
   }
   }'
   ```
   
   
   2. Set below env vars
   ```
   export 
AIRFLOW__CORE__XCOM_BACKEND=airflow.providers.common.io.xcom.backend.XComObjectStorageBackend
   export 
AIRFLOW__COMMON_IO__XCOM_OBJECTSTORAGE_PATH=s3://aws_default@airflow-tutorial-data
   export xcom_objectstorage_threshold=1048576
   export AIRFLOW__COMMON_IO__XCOM_OBJECTSTORAGE_COMPRESSION=gzip
   ```
   3. Run `breeze start-airflow --executor CeleryExecutor --backend postgres 
--dev-mode --load-example-loads`
   4. Run example_xcom DAG
   
   
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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