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

Add failing integration-test null selected fieled coalesced to zero #2466

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RustedBones
Copy link

Illustrate #2284

Test failing with

Row not matching expectations: {"array_field": [1, 2, 3], "struct_field": {"int_field": 10, "str_field": "abc"}, "struct_field_opt": {"int_field": 0}} expected null, but was:<{"int_field": 0}>

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Apr 19, 2024
actualSchemaMessage,
Schema.Type.LONG,
structSchema.getField("int_field").schema().getType());
assertNull(rowAssertMessage, record.get("struct_field_opt"));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test fails here. whole record is null but returned value is {"int_field": 0}

@RustedBones
Copy link
Author

As far as I see the root cause comes from the received serialized_binary_rows. Can the issue be escalated ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant