nikolauspschuetz opened a new pull request, #69108: URL: https://github.com/apache/airflow/pull/69108
`GCSToBigQueryOperator.schema_fields` was not a template field, so a templated value (a Variable or `XComArg` resolving to a schema) passed to it was never rendered — the raw, unresolved object reached BigQuery (e.g. surfacing as "Object of type MappedArgument is not JSON serializable"). This marks `schema_fields` as templated and registers a `json` renderer, matching how `BigQueryUpdateTableSchemaOperator` already templates `schema_fields_updates`. Callers passing a plain list/dict are unaffected; only the previously-broken templated case changes. closes: #31481 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
