derrickaw commented on issue #35666:
URL: https://github.com/apache/beam/issues/35666#issuecomment-3110044395
When trying this:
- pipeline:
transforms:
- type: Create
name: Create1
config:
elements:
- {'ride_id': '1', 'passenger_count': 1}
- {'ride_id': '2', 'passenger_count': 2}
- type: Create
name: Create2
config:
elements:
- {'ride_id': '3'}
- {'ride_id': '4'}
- type: Flatten
name: Flatten1
input:
- Create1
- Create2
- type: AssertEqual
input: Flatten1
config:
elements:
- {'ride_id': '1','passenger_count': 1}
- {'ride_id': '2','passenger_count': 2}
- {'ride_id': '3'}
- {'ride_id': '4'}
apache_beam.testing.util.BeamAssertException:
Failed assert:
[Row(ride_id='1', passenger_count=1), Row(ride_id='2', passenger_count=2),
Row(ride_id='3'), Row(ride_id='4')] == [Row(ride_id='1'), Row(ride_id='2'),
Row(ride_id='3'), Row(ride_id='4')],
unexpected elements [Row(ride_id='1'), Row(ride_id='2')],
missing elements [Row(ride_id='1', passenger_count=1), Row(ride_id='2',
passenger_count=2)]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]