daphne-project / daphne-project/daphne

More detailed error messages from kernels

Open
#754 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
81
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Many kernels validate their inputs in some way. If a required condition is not satisfied, kernels typically throw an exception indicating this fact. However, to make the error messages actionable, they should contain more details.

For instance, if the number of rows of two inputs must match, it is not maximally helpful to only know that they did not match, it would more helpful to know what the different numbers of rows were.

We should double-check all exceptions thrown in kernels to make sure that they contain sufficient information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the exceptions thrown by kernels during input validation and compare each message with the condition that failed. Done means relevant kernel errors include actionable details, such as the differing row counts for mismatched inputs, rather than only stating that validation failed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.