We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Found in #34354 (comment) . The tests has been accidentally succeeding.
Print out the output pcollection of avro_dict_to_beam_row, it shows:
beam/sdks/python/apache_beam/io/avroio_test.py
Line 193 in 867d70c
Row(name='Henry', favorite_number=3, favorite_color='green') Row(name='Toby', favorite_number=7, favorite_color='brown') Row(name='Gordon', favorite_number=4, favorite_color='blue') Row(name='Emily', favorite_number=4294967295, favorite_color='Red') Row(name='Percy', favorite_number=6, favorite_color='Green') Row(name='Bruce', favorite_number=None, favorite_color=None)
this happens to both before and after this change (#34354)
more suprisingly, when read back, it converts back to -1:
{'name': 'Thomas', 'favorite_number': 1, 'favorite_color': 'blue'} {'name': 'Henry', 'favorite_number': 3, 'favorite_color': 'green'} {'name': 'Toby', 'favorite_number': 7, 'favorite_color': 'brown'} {'name': 'Gordon', 'favorite_number': 4, 'favorite_color': 'blue'} {'name': 'Emily', 'favorite_number': -1, 'favorite_color': 'Red'} {'name': 'Percy', 'favorite_number': 6, 'favorite_color': 'Green'} {'name': 'Bruce', 'favorite_number': None, 'favorite_color': None}
Priority: 2 (default / most bugs should be filed as P2)
The text was updated successfully, but these errors were encountered:
@Abacn is this fixed by #34439 or do we need another fix ?
Sorry, something went wrong.
We need another fix. #34439 just makes the test happy. This bug is always here. In the test "(int32) -1" overflew twice so the test passed.
No branches or pull requests
What happened?
Found in #34354 (comment) . The tests has been accidentally succeeding.
Print out the output pcollection of avro_dict_to_beam_row, it shows:
beam/sdks/python/apache_beam/io/avroio_test.py
Line 193 in 867d70c
this happens to both before and after this change (#34354)
more suprisingly, when read back, it converts back to -1:
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: