kaxil commented on code in PR #44533:
URL: https://github.com/apache/airflow/pull/44533#discussion_r1865926926


##########
airflow/models/dagrun.py:
##########
@@ -137,7 +138,7 @@ class DagRun(Base, LoggingMixin):
     triggered_by = Column(
         Enum(DagRunTriggeredByType, native_enum=False, length=50)
     )  # Airflow component that triggered the run.
-    conf = Column(PickleType)
+    conf = Column(JSON().with_variant(postgresql.JSONB, "postgresql"))

Review Comment:
   fyi: the following is what I had to do for XComs:
   
   PRs:
   
   1. [Remove XCom pickling](https://github.com/apache/airflow/pull/43905)
   2. [Migrate pickled data & change XCom value type to 
JSON](https://github.com/apache/airflow/pull/44166)
   3. [Handle XCom value errors in FAB's XCom list 
view](https://github.com/apache/airflow/pull/44275)
   4. [Use `JSONB` type for `XCom.value` column in 
PostgreSQL](https://github.com/apache/airflow/pull/44290)



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