Niivii commented on PR #2494: URL: https://github.com/apache/arrow-adbc/pull/2494#issuecomment-2653351088
Disclaimer: I am not a Go dev ! I had a quick look at the stopFn handler and there is a timing issue imho. If executeCopyQuery is slow it could trigger an early cancel() after the retries. Could a local independent retry context help ? This could avoid premature cancelation of the main context. Also worth to mention that it is systematically the first COPY INTO query that is slow. Stats of the first failed query:  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org