You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "toddmeng-db (via GitHub)" <gi...@apache.org> on 2025/05/23 02:06:12 UTC
Re: [PR] feat(csharp/src/Drivers/Databricks): Fixes to heartbeat polling [arrow-adbc]
toddmeng-db commented on code in PR #2851:
URL: https://github.com/apache/arrow-adbc/pull/2851#discussion_r2103665915
##########
csharp/src/Drivers/Databricks/CloudFetch/CloudFetchResultFetcher.cs:
##########
@@ -30,7 +31,7 @@ namespace Apache.Arrow.Adbc.Drivers.Apache.Databricks.CloudFetch
/// </summary>
internal sealed class CloudFetchResultFetcher : ICloudFetchResultFetcher
{
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org