INCATools / INCATools/dosdp-tools

Add a parameter --no-match-no-export

Open
#483 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
33
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In batchmode, it is super useful to be able to match against a huge number for patterns, but this results often in empty tables being generated (dosdp query, batch mode).

It would be awesome if we have a simple parameter that allowed us to not write these tables (i.e. only write tables which actually have matches).

Contributor guide

No contributing guide indexed for this repository

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

Locate the batch-mode dosdp query entry point and its command-line option definitions. Trace where tables are written for patterns with no matches, then add the --no-match-no-export behavior so only tables with matches are produced. Run the existing batch-mode query tests, or add coverage if the relevant test entry point is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.