toddmeng-db commented on code in PR #2851:
URL: https://github.com/apache/arrow-adbc/pull/2851#discussion_r2105287793
##########
csharp/src/Drivers/Databricks/DatabricksOperationStatusPoller.cs:
##########
@@ -29,13 +29,13 @@ namespace Apache.Arrow.Adbc.Drivers.Databricks
/// </summary>
internal class DatabricksOperationStatusPoller : IDisposable
{
Review Comment:
If the client doesn't finish reading results, but does not call
statement.Dispose() explicitly, this will keep polling continuously.
One (slight hacky solution) could be to use a WeakReference to the
DatabricksStatement or BaseDatabricksReader to end polling after Garbage
disposal.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]