Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about unmatched records in ndjson-join #14

Open
bianchimro opened this issue Dec 22, 2016 · 1 comment
Open

Warn about unmatched records in ndjson-join #14

bianchimro opened this issue Dec 22, 2016 · 1 comment

Comments

@bianchimro
Copy link

I'm using ndjson-join to make 1 to 1 joins between two files and I'd like to check that after the operation each record of the LHS stream is present in the final recordset.

Counting the final records by piping into wc -l and comparing to the length of the recordset might be misleading as we could have 0 matches for some records and 2 or more matches for some other.

For my use case It would be great to have a command line switch enabling warnings about unmatched records in the LHS stream, for example --check-joins or something like that.

@mbostock
Copy link
Owner

Release 0.3.1 adds support for left, right and outer joins (#23). This can be used to check for missing joins by filtering for null after joining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants