[ADAP-637] [Feature] Follow-up to nested fields #738 and #673 - Allow array of struct #781
Closed
3 tasks done
Labels
enhancement
New feature or request
Is this your first time submitting a feature request?
Describe the feature
I have tested #738 with a user but while the initial error has been fixed it doesn't support some of the use cases that the person wants to fulfil.
While we can now define a field as a struct there is no way to define a fields as an array of struct.
For a field that is defined at the top level like:
Changing it to the following doesn't work due to contract mismatch as there is no way to mention that the top field is an array
BigQuery allows setting constraints and documenting subfields of arrays though.
In that case, the top field is of the type
REPEATED
(see below).Describe alternatives you've considered
The alternative is to define the parent field but not the subfields.
In that case, we can't define descriptions, constraints or tests on the subfields though.
Who will this benefit?
BigQuery users leveraging arrays of struct and wanting to set contracts/constraints on those while still being able to document and test them.
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: