jadewang-db commented on code in PR #3093:
URL: https://github.com/apache/arrow-adbc/pull/3093#discussion_r2183180258
##########
csharp/src/Drivers/Apache/Hive2/HiveServer2Statement.cs:
##########
@@ -566,6 +566,9 @@ private async Task<Schema>
GetResultSetSchemaAsync(TOperationHandle operationHan
private async Task<QueryResult> GetQueryResult(TSparkDirectResults?
directResults, CancellationToken cancellationToken)
{
+ // Set _directResults so that dispose logic can check if operation
was already closed
+ _directResults = directResults;
Review Comment:
looks like we don't have test here, can we add one?
--
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]