...
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
As part of
436patches25696
, when you use a stored procedure in the Redshift - Execute Snap, the Snap displaysMessage: Success
and$UPDATE_COUNT=-1, 0, or 1
(based on the Snap Pack behavior) in the output.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| A Snap that can contain data that is to be used with the JSON paths defined in the SQL, if any, or to be passed through. If the input view is defined, then the where clause substitutes incoming values for a specific query. |
Output | Document
|
|
| A document with the result set output, if any, and update count as return status from the Redshift SQL. The Snap output all records of a batch (as configured in your account settings) to the error view if the write fails during batch processing. If an output view is available and an update/insert/merge/delete statement was executed, then the original document that was used to create the statement will be output with the status of the executed statement. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
...