Rhino.Etl Branching on error functionality

50 views
Skip to first unread message

Michael Charalambous

unread,
Jun 22, 2011, 7:08:15 AM6/22/11
to rhino-t...@googlegroups.com
There was a discussion in 2008 about adding branching on error functionality to Rhino.Et, Rhino.Etl error collection: part two.

I was wondering if this functionatly was added along the lines that Ayende proposed in the discussion:

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()
 
Thanks

Michael
Reply all
Reply to author
Forward
0 new messages