vatsrahul1001 commented on PR #49173:
URL: https://github.com/apache/airflow/pull/49173#issuecomment-2800555006

   I agree with @amoghrajesh here instead of fixing deserialize we should fix 
the serialization here. Here, we are re-encoding  the data due to this value in 
xcom table for small threshold are storing like `"\"manually_pushed_value\""`  
I tried changing 
https://github.com/apache/airflow/blob/f04fa852c7ae2fd89dec873506f9bda7c0d3ab6b/providers/common/io/src/airflow/providers/common/io/xcom/backend.py#L123
   to `s_val = value if isinstance(value, str) else json.dumps(value, 
cls=XComEncoder)` and now values are getting stored correctly 
`"manually_pushed_value"`
   


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