-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
P2bugdone & doneIssue has been reviewed after it was closed for verification, followups, etc.Issue has been reviewed after it was closed for verification, followups, etc.gogood first issue
Milestone
Description
What happened?
The contributed parquetio write function has a signature of: parquetWriteFn) ProcessElement(ctx context.Context, _ int, iter func(*interface{}) bool) which is incorrect, as "interface{}" isn't a supported PCollection type.
| func (a *parquetWriteFn) ProcessElement(ctx context.Context, _ int, iter func(*interface{}) bool) error { |
This should have been caught at pipeline construction time regardless of whether it was registered or not, regardless of the runner used.
The resolution is two fold: Ensure that this kind of signature gets caught at pipeline construction and then also fixing the Parquetio write DoFn to not have this error.
Issue Priority
Priority: 2
Issue Component
Component: sdk-go
Metadata
Metadata
Assignees
Labels
P2bugdone & doneIssue has been reviewed after it was closed for verification, followups, etc.Issue has been reviewed after it was closed for verification, followups, etc.gogood first issue