According to the language reference documentation, I do not believe quarantining records is possible right now out of the box. But there are a few workarounds under the current functionality.
- Create a second table with the inverse of the expectations/constraints. This means that when records pass the original expectations then they will be inserted as expected, but with the inverse expectations only the bad records will pass the test and be inserted into a second table where you can then review them.
- Create some sort of case statement to identify if records do not pass expectations and add a "flag" column for the row. This would have a single table containing both good and bad records.
I would recommend option 1, as it is more inline with what you are requesting. Plus if/when DLT does add first class support for quarantine then you will be set up to easily switch over.