jackyhu-db commented on code in PR #3241: URL: https://github.com/apache/arrow-adbc/pull/3241#discussion_r2261212930
########## csharp/src/Drivers/Apache/Hive2/HiveServer2Statement.cs: ########## @@ -117,9 +117,13 @@ private async Task<QueryResult> ExecuteQueryAsyncInternal(CancellationToken canc { return await this.TraceActivityAsync(async _ => { + // Clear any previous query result + ClearCurrentQueryResult(); + if (IsMetadataCommand) { - return await ExecuteMetadataCommandQuery(cancellationToken); + _currentQueryResult = await ExecuteMetadataCommandQuery(cancellationToken); Review Comment: For the metadata, I think it uses directResult and cloud fetch is not used at all -- 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