Skip to content

Exceptions handling + CSV Iterators

Compare
Choose a tag to compare
@bpolaszek bpolaszek released this 05 May 15:22
· 76 commits to master since this release

Exception Handling

The extract, transform, or load part of the ETL process may sometimes throw exceptions.
Before throwing it, we should be able to hook on the exception, handle it, and decide wether or not to continue the process.

CSV Iterators

You can now use CsvFileIterator or CsvStringIterator to iterate over your CSVs.
Also check KeysAwareCsvIterator to automatically assign the keys of each CSV row (you can turn an indexed array into an associative one). Check out the Iterators documentation.