Skip to content
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

Not all fields are presented in AVRO pretty schema display #1906

Open
szczygiel-m opened this issue Sep 30, 2024 · 2 comments
Open

Not all fields are presented in AVRO pretty schema display #1906

szczygiel-m opened this issue Sep 30, 2024 · 2 comments
Assignees

Comments

@szczygiel-m
Copy link
Contributor

Complex field are not shown in schema view, for instance:

{
"type": "record",
"name": "transactionXYZ",
"namespace": "com.example.ecommerce",
"doc": "E-commerce Platform Finalized Transaction",
"fields": [
{
"name": "id",
"type": "string",
"doc": "Transaction and order identifier"
},
{
"name": "userId",
"type": "string",
"doc": "User identifier"
},
{
"name": "timestamp",
"type": "int",
"doc": "Epoch timestamp"
},
{
"name": "offers",
"type": [
"null",
{
"type": "array",
"items": [
"null",
{
"type": "record",
"name": "offer",
"doc": "Offer object",
"fields": [
{
"name": "id",
"type": "string",
"doc": "Offer identifier on platform"
},
{
"name": "price",
"type": "float",
"doc": "Unit price of the offer"
},
{
"name": "quantity",
"type": "int",
"doc": "Quantity purchased"
}
]
}
]
}
],
"doc": "List of offers"
},
{
"name": "__metadata",
"type": [
"null",
{
"type": "map",
"values": "string"
}
],
"doc": "Internal metadata field",
"default": null
}
]
}

Schema view in hermes does not have field "offers":
image
image

@Franciszek-Bubnicki
Copy link
Contributor

I would like to take it on hacktoberfest

@szczygiel-m
Copy link
Contributor Author

szczygiel-m commented Oct 16, 2024

Hey, cool to hear that 😄 assigned. If you have any questions/problems, let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants