rdblue commented on PR #4858:
URL: https://github.com/apache/iceberg/pull/4858#issuecomment-1140529276

   Unfortunately, we can't change the primitive type to an object. That 
serialization is part of the table spec so we can't update the representation. 
We could possibly change the OpenAPI representation, though. It didn't make 
sense to me that the generator was expecting `Type` branches to be uniform, so 
I looked at the [`anyOf` 
docs](https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/).
 Looks like `anyOf` can be one or more branches, which implies that there is 
some similarity across branches. However, `oneOf` expects the type to match 
exactly one branch. Maybe that would fix this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to