apache / apache/beam

Remove refcounts from the Python SDK

Open
#19,072 0 comments 0 reactions 0 assignees View on GitHub
bug core P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

We should remove PValue refcounting logic from the Python SDK.  This is vestigial logic from the first DirectRunner implementation, and is not used anymore.

Imported from Jira [BEAM-4593](https://issues.apache.org/jira/browse/BEAM-4593). Original Jira may contain additional context.
Reported by: ccy.

Contributor guide

Open the contributing guide

Research direction

Search the Python SDK for PValue refcounting logic and trace its uses before changing anything. Review related tests and run the relevant Python SDK test suite; done means the unused refcounting logic is removed without regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.