Hi, I don't know off the top of my head. But if I were trying to answer this question for myself, I'd explore what tdm_udrserv does when it receives a CANCEL request. Do we even send a CANCEL request to tdm_udrserv? A simple test might be "select [first n] * from table(udr(whatever))".
I would hope that we don't do something gross like kill the tdm_udrserv process. Dave -----Original Message----- From: Eric Owhadi <eric.owh...@esgyn.com> Sent: Monday, October 14, 2019 1:43 PM To: dev@trafodion.apache.org Subject: UDR support query cancel? External Hi Trafodioneers, I am developing a TMUDF in java, and struggle with the case where the query get cancelled by a limit n, and I want to cleanly stop the TMUDF from producing data, and close all resources it occupied. But I can find a handler to hook for query cancellation? Am I missing it? Thanks in advance for the help, Eric Owhadi