-
Notifications
You must be signed in to change notification settings - Fork 149
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
Should we use to_avro instead of RawLiteral
indirection layer
#562
Comments
Using RawLiteral as an indirection layer to convert iceberg value to Avro value is not convenient, we should infer how to convert from looking at how Avro Serializer works. I'm reflecting on why we don't use |
I think the original motivation of this indirection layer is to build a middle layer for all kinds of format, including json, binary and avro. But it seems that this is not working well as expected. I'm +1 for have different serializer for different formats, since they already have a middle layer such as |
Agreed. By the way, will this change introduce extra cost? |
What kind of cost do you mean? |
I'm not sure if I understand correctly:
|
I think it's
|
I see. Thanks! |
BTW, why to we need the
RawLiteral
indirection layer, instead of having sth likeOriginally posted by @xxchan in #456 (comment)
The text was updated successfully, but these errors were encountered: