apache / apache/beam

[Bug]: BigqueryIO: 404 on delete should be a success

Open
#24,997 1 comment 0 reactions 1 assignee Claimed by @mxtymoshyk View on GitHub
bug io java P2
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

BigqueryIO creates temporary datasets and tables and then later deletes them. Sometimes, the delete succeeds but the work-item commit fails. This means the temporary dataset/table is deleted but the work-item in which the delete happens is retried. Since BigqueryIO considers a 404 to be an error, the work-item is forever stuck when using a streaming job.

This slows down draining of a job.

To be resistant to failure, a 404 for a delete request should be treated as a success.

### Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

### Issue Components

- [ ] Component: Python SDK
- [X] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [X] Component: IO connector
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.