Copying refused values as an IN list says there is no value to list

Open Beginner friendly
#756 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
mysql, postgresql, rust, sql
Domain
cli, databases

Research direction

Start by tracing the copy-as-SQL IN list flow and the existing copy-as-SQL INSERT refusal handling. Add the planned flow test for a single refused value and check that its refusal reason is shown instead of the no-value message. Done when the test passes and refused values take precedence over the no-value case.

Written by the indexing model from the issue text.

Description

bug

What happens

Copying a selection as an SQL IN list, when every selected value is refused (for example a value not shown whole: a MySQL FLOAT, a SQL Server value its code page does not read exactly or cannot decode), says "there is no value to list (NULL is left out)" instead of the reason the values were refused.

Expected

The copy is refused with the values' own reason, as Copy as SQL INSERT does.

Plan

  • A failing flow test: a single refused value copied as an IN list shows the refusal reason.
  • Give the refusal precedence over the "no value to list" case.
Dominant language
Rust
Stars
176
Forks
9
Avg merge
4h 34m
Merged PRs (30d)
342

Getting set up

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.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.