pierrejeambrun opened a new pull request, #23063: URL: https://github.com/apache/airflow/pull/23063
fix issue: https://github.com/apache/airflow/issues/23040 This is due to a double json.dumps when exporting to json format: - https://github.com/apache/airflow/blob/main/airflow/providers/google/cloud/transfers/postgres_to_gcs.py#L153 - https://github.com/apache/airflow/blob/main/airflow/providers/google/cloud/transfers/sql_to_gcs.py#L221 I added a parameter to the `convert_type` that allow us to chose what to do with the dict type objects. For `parquet` and `csv` we want to stringify them. But we want to keep them as dict when exporting to the `json` format. csv and parquet export are hence not modified. I added data to the tests so we assert json column export. Regards, -- 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]
