You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/04/06 16:17:29 UTC
[GitHub] [flink] twalthr commented on issue #11568: [FLINK-16779][table] Add
RAW type support in DDL and functions
twalthr commented on issue #11568: [FLINK-16779][table] Add RAW type support in DDL and functions
URL: https://github.com/apache/flink/pull/11568#issuecomment-609893096
Thanks for your feedback @danny0405. We had these discussions last year while introducing FLIP-37 [1]. I hope that the description on top of all `LogicalType` classes could help clarify things as well. The RAW type is a complete black box type for Flink; thus `my_raw_object.abc` is not supported. This is available via row types, and user-defined structured types in the future.
The object type that you linked is what the SQL standard calls "structured type". A type DDL for Flink is on the roadmap and it's great to see that Calcite added support for them recently.
The RAW type is similar to a regular VARBINARY type, however, because this is Flink we still need to include Flink's serializer capabilities. A user should be able to define custom serialization logic. I think Oracle doesn't have this problem as they are fully in control how stuff is serialized.
[1] https://docs.google.com/document/d/1a9HUb6OaBIoj9IRfbILcMFPrOL7ALeZ3rVI66dvA2_U/edit#heading=h.5qoorezffk0t
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services