From: aye...@ayende.com
To: rhino-t...@googlegroups.com
Subject: [rhino-tools-dev] Re: Rhino.Etl error collection: part two
Here is the deal, are we talking about just gather information to be process at a at a later date, or are we talking about branching the pipeline?
Are we talking about this process:
operation hasErrors:
for row in rows:
to_error row if row.HasErrors
process row unless row.HasErrors
process test:
get_data()
hasErrors()
for errorRow in errorRows:
output_to_file errorRow
Or something like this:
branch splitOnError:
for row in rows:
send_row row, "error" if row.HasErrors
send_row row unless row.HasErrors
operation logErrors:
output_to_file row for row in rows
process test:
get_data()
splitOnError:
normal:
process_data()
error:
logErrors()