Closed vbarua closed 1 year ago
This is really cool! Thanks so much for putting it together, @vbarua. What do you think would be a good real world use case for this feature?
@JamesRTaylor
What do you think would be a good real world use case for this feature?
Well, some of the stuff we want to use it for:
Superceded by https://github.com/substrait-io/substrait-java/pull/135
This PR is split into two commits:
google.protobuf.Any
types in the AdvanceExtension message, ReadRel.ExtensionTable message and ExtensionSingleRel messages.google.protobuf.Any
types.Summary
com.protobuf.Any
types are handled by methods in theProtoRelConverter
that are intended to be overriden by end users. For example:can be overriden by end users to convert the Any into their own Java equivalent.
Extension.Optimization
is a tag interface to be able to distinguish between various types of Any data (instead of havingObject
everywhere).