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

Direct struct interpretation sample #15

Open
nixxholas opened this issue Nov 24, 2021 · 3 comments
Open

Direct struct interpretation sample #15

nixxholas opened this issue Nov 24, 2021 · 3 comments

Comments

@nixxholas
Copy link
Contributor

Could be good if we showcase an example of how we can deserialise the rows into a sturct via serde or avro!

https://github.com/nixxholas/gcp-bigquery-client/blob/4c30e1ca25281f67c5de08902a8a360974ea8c65/examples/client.rs#L198

@MikhailMS
Copy link
Contributor

@nixxholas Are there currently any workaround to convert (deserialise) TableRow into a Struct via serde or maybe even directly into avro?
Looking at the code, it is not yet available, so curious about what options are there (except for hard-coding everything, which isn't good enough for my use-case)

@rahul-soshte
Copy link

rahul-soshte commented Apr 7, 2023

Yeah examples regarding the data formats will be great. wanted something like arrow support as well. Actually the problem is when this examples are not public, the interoperability of this library with other libraries like pola-rs or maybe arrow becomes problematic.

@krystianity
Copy link

See -> #59 (comment)

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

4 participants