-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datacontract export --format avro - array issue #243
Comments
Confirming, this is a bug. |
jochenchrist
added a commit
that referenced
this issue
Jun 7, 2024
The correct way to model arrays is (as you already figured out):
The expected output is:
which I fixed for next release v0.10.8. The |
Perfect. Yes, I will create a separate issue for the 'required' request. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to generate AVRO output which includes ARRAYS. I tried a couple different versions of ...
Instead of
items: {'type': 'string'}
, I trieditems: string
and received "DataContractException: Run operation failed: [lint] Check that data contract YAML is valid - None - failed - data.models.catalog.fields.simple_array.items must be object - datacontract". Not sure if I'm defining it correctly.Current output no matter the 'required' value...
Expected output with required: true...
Expected output with required: false...
I believe all data types are missing the "null" union in the export when required: false,.
The text was updated successfully, but these errors were encountered: