We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am following json schema example https://github.com/xitongsys/parquet-go/blob/master/example/json_schema.go for reference. I have struct which looks like below:
type DataTwoLevel struct { ColumnsChangedJson []struct { SourceSystemName string Id int64 Demographics []struct { Country string Language string } } }
I am trying to create a json schema for the same but not able to do so, can someone help me with a concrete example?
My current schema is as below, but it does not work.
`{ "Tag": "name=parquet_go_root, repetitiontype=REQUIRED", "Fields": [ { "Tag": "name=columnsChangedJson, inname=ColumnsChangedJson, type=LIST, repetitiontype=REQUIRED", "Fields": [ {"Tag": "name=element, repetitiontype=REQUIRED", "Fields": [ {"Tag": "name=sourceSystemName, inname=SourceSystemName, type=BYTE_ARRAY, repetitiontype=REQUIRED"}, {"Tag": "name=id, inname=Id, type=INT64, repetitiontype=REQUIRED"} {"Tag": "name=demographics, inname=Demographics, type=LIST, repetitiontype=REQUIRED", "Fields": [ {"Tag": "name=element, repetitiontype=REQUIRED", "Fields": [ {"Tag": "name=country, inname=Country, type=BYTE_ARRAY, repetitiontype=REQUIRED"}, {"Tag": "name=language, inname=Language, type=BYTE_ARRAY, repetitiontype=REQUIRED"} ]} ]} ]} ] } ] }`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am following json schema example https://github.com/xitongsys/parquet-go/blob/master/example/json_schema.go for reference.
I have struct which looks like below:
I am trying to create a json schema for the same but not able to do so, can someone help me with a concrete example?
My current schema is as below, but it does not work.
The text was updated successfully, but these errors were encountered: