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

   ### Apache Airflow version
   
   2.9.1
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   After configuring the object storage as XCom backend, the serialization 
works fine above the specified threshold, but once another task consumes the 
previously stored XCom, the deserialization doesn't seem to work. Instead, the 
path of the object is returned instead of the stored data.
   
   ### What you think should happen instead?
   
   The stored object should be deserialized and returned to the downstream task.
   
   ### How to reproduce
   
   
   ```
   import pendulum
   from airflow.decorators import dag, task
   
   
   @dag(
       schedule_interval=None,
       catchup=False,
       start_date=pendulum.datetime(2024, 1, 1, tz="utc"),
   )
   def dag_test():
   
       @task()
       def producer():
           import random
   
           return [random.randint(0, 100) for _ in range(10_000)]
   
       @task()
       def consumer(obj):
           print(obj)
   
       producer_t = producer()
       producer_t >> consumer(producer_t)
   
   
   dag_test()
   ```
   
   ### Operating System
   
   apache/airflow:2.9.0-python3.11
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### 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: commits-unsubscr...@airflow.apache.org.apache.org

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

Reply via email to