-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Bug]: Mismatch in single-precision float encoding between Java and Go RowCoder implementations #22629
Labels
Comments
4 tasks
Re-opening this to track getting the standard_coders.yaml test passing |
Failure log when re-enabling the #22626 test:
|
Ah whoops. The problem is that there are two separate parts for Row Coding: actually encoding from the Go structs (which Jacks PR did) and converting those struct types to the schema proto representation. The latter should be what's missing, under graphx. |
4 tasks
chamikaramj
added
the
done & done
Issue has been reviewed after it was closed for verification, followups, etc.
label
Oct 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What happened?
Java uses
FloatCoder
for encoding the FLOAT type, which encodes as a 4 byte single-precision floating point number. Go currently shunts FLOAT through the same path as DOUBLE:beam/sdks/go/pkg/beam/core/graph/coder/row_encoder.go
Lines 211 to 214 in cc0b446
I've currently proposed to make the Python implementation the same as Java: #22626
I think we should do this in Go as well.
Issue Priority
Priority: 2
Issue Component
Component: sdk-go
The text was updated successfully, but these errors were encountered: