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

Protobuf support #1029

Open
zZHorizonZz opened this issue Feb 18, 2025 · 0 comments
Open

Protobuf support #1029

zZHorizonZz opened this issue Feb 18, 2025 · 0 comments

Comments

@zZHorizonZz
Copy link

zZHorizonZz commented Feb 18, 2025

I think that since there is support for JSON, it might be worth offering support for Protocol Buffers (protobuf) as well. To my knowledge, Google Cloud Spanner is one of the few database services that currently supports protobuf natively (obviously as protobufs are made by google). In terms of implementation, this might be comparable to JSONB in SQL databases, as I imagine it would work in a similar way. The current approach requires manually deserializing protobuf messages and saving the values individually, or saving them as a bytestream, but neither option offers much flexibility.

References:
ZetaSQL Protocol Buffers
ZetaSQL Protocol Buffers Functions

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

No branches or pull requests

1 participant