I have large data and using PUTSQL processor inserting into the database.
While inserting the data, I have observed some failures saying IndexOutOfBoundException.
Here is the error log:

Connected FAILED and RETRY queues from PUTSQL to PUTFILE to capture the query when its failed. But when PUTSQL failed, flowfile is not sending to the queue by PUTSQL. Please let us know how can I see the failed query in this scenario??
One more question:
When I did Data Provenance on the PUTSQL processor, it's not showing the current data and seems to be showing only 1000 entried. Is there any way to see the full data for a particular processor??