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

AVRO-3901: [Rust] Unit tests and impl for better union support #2583

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

chupaty
Copy link
Contributor

@chupaty chupaty commented Nov 12, 2023

AVRO-3901

What is the purpose of the change

Demonstrate failing serde serialization and fix for non-trivial union types

Verifying this change

This change added tests and can be verified as follows:

cargo test

Documentation

None added. We're a bit short in this area...

@github-actions github-actions bot added the Rust label Nov 12, 2023
lang/rust/avro/tests/union_schema.rs Outdated Show resolved Hide resolved
lang/rust/avro/tests/union_schema.rs Outdated Show resolved Hide resolved
lang/rust/avro/tests/union_schema.rs Outdated Show resolved Hide resolved
lang/rust/avro/tests/union_schema.rs Outdated Show resolved Hide resolved
chupaty and others added 3 commits November 14, 2023 08:45
@martin-g martin-g merged commit 85ddfcd into apache:main Nov 14, 2023
15 checks passed
@martin-g
Copy link
Member

Thank you, @chupaty !

martin-g pushed a commit that referenced this pull request Nov 14, 2023
* AVRO-3901: Unit tests and impl for better union support

* Apply suggestions from code review

Rename test cases

Co-authored-by: Martin Grigorov <[email protected]>

* Cleanup from review

* AVRO-3901: Fix formatting, clippy errors and improve naming

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Simon Gittins <[email protected]>
Co-authored-by: Martin Grigorov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit 85ddfcd)
martin-g added a commit that referenced this pull request Nov 15, 2023
* AVRO-3901: Unit tests and impl for better union support

* Apply suggestions from code review

Rename test cases

Co-authored-by: Martin Grigorov <[email protected]>

* Cleanup from review

* AVRO-3901: Fix formatting, clippy errors and improve naming

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Simon Gittins <[email protected]>
Co-authored-by: Martin Grigorov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
RanbirK pushed a commit to RanbirK/avro that referenced this pull request May 13, 2024
…e#2583)

* AVRO-3901: Unit tests and impl for better union support

* Apply suggestions from code review

Rename test cases

Co-authored-by: Martin Grigorov <[email protected]>

* Cleanup from review

* AVRO-3901: Fix formatting, clippy errors and improve naming

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Simon Gittins <[email protected]>
Co-authored-by: Martin Grigorov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants