Repository navigation
#127 - Demo of the error output of the CSV readers (line number and values of an invalid line) - #128
Draft
njoubert-cleverage wants to merge 1 commit into
Draft
njoubert-cleverage wants to merge 1 commit into
njoubert-cleverage wants to merge 1 commit into
Conversation
…alues of an invalid line) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #127, demo of cleverage/process-bundle#507 (PR cleverage/process-bundle#508, v6.0):
demo.file.csv_reader.invalid_linesprocess:input_csv_readerwitherror_strategy: skip, its error branch (['csv_file' => <path>, 'csv_line' => <line number>, 'csv_values' => <values read>]) written by acsv_writertovar/csv_reader_invalid_lines_rejects.csv;var/data/csv_reader_invalid_lines.txt(2 invalid lines: missing and extra column). Extension.txt, so thatdemo.file.input_csv_reader(*.csvofvar/data, recursively) does not read it.Draft: requires cleverage/process-bundle#508, merge once released (v6.0). With the released version,
input_csv_readersends the file path to its error branch andcsv_writerfails on it.Checked with the branch of cleverage/process-bundle#508 in
vendor/: rejects filevar/data/csv_reader_invalid_lines.txt;3;Carrie|Stephenand...;5;Dracula|Bram|Stoker|1897, the valid lines dumped;make testsOK (150 processes resolved).🤖 Generated with Claude Code