Jorge Gallegos
|
63d7025012
|
Let fields be sent raw in table schema definition
As per https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#TableFieldSchema
the `fields` attribute can recursively define more fields if the `type`
attribute is RECORD. There is no way to define recursive argument spec
in ansible modules, but if sent as `raw`:
> The raw type, performs no type validation or type casting, and maintains the type of the passed value.
(from https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#argument-spec)
Which works for what we're trying to accomplish here.
Also added integration test for this change
|
2025-06-27 12:15:39 -06:00 |
|