Bug in python replication logic?
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- distributed-systems
Research direction
Locate the _mg_call_plc_replicate entry point and inspect the input_type branches shown in the issue. Confirm that dataframe and series inputs dispatch to their intended helpers; the issue names no file or test, so identify the relevant replication test coverage before making the small correction.
Written by the indexing model from the issue text.
Description
def _mg_call_plc_replicate(
client: dask.distributed.client.Client,
sID: bytes,
dask_object: dict,
input_type: str,
col_names: list,
) -> Union[dask_cudf.DataFrame, dask_cudf.Series]:
if input_type == "dataframe":
result = [
client.submit(
_call_plc_replicate_dataframe,
sID,
edata,
workers=[w],
allow_other_workers=False,
pure=False,
)
for w, edata in dask_object.items()
]
elif input_type == "dataframe":
result = [
client.submit(
_call_plc_replicate_series,
sID,
edata,
workers=[w],
allow_other_workers=False,
pure=False,
)
for w, edata in dask_object.items()
]
Not directly related to this PR, but this code looks suspicious as well.
elif input_type == "dataframe":
Shouldn't "dataframe" here be "series"?
Originally posted by @seunghwak in https://github.com/rapidsai/cugraph/issues/5628#issuecomment-5299641193
- Dominant language
- Cuda
- Stars
- 2.2k
- Forks
- 369
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 36
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rapidsai/cugraph
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
? - Needs Triage feature request
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
[DOC] PLC API Docs Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in rapidsai/cugraph
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug 🐞 distributed 🕸️
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
CliMA/Oceananigans.jl#6049 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
tenstorrent/tt-metal#57220 ·
-
Baggage is ignored by W3CBaggagePropagator and erronously causes warning 'Invalid baggage entry' Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-python#5678 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agronholm/apscheduler#1141 ·