toddmeng-db commented on code in PR #3217: URL: https://github.com/apache/arrow-adbc/pull/3217#discussion_r2240704296
########## csharp/src/Drivers/Apache/Hive2/HiveServer2Statement.cs: ########## @@ -726,20 +740,15 @@ protected internal QueryResult EnhanceGetColumnsResult(Schema originalSchema, IR protected virtual async Task<QueryResult> GetColumnsExtendedAsync(CancellationToken cancellationToken = default) { - // 1. Get all three results at once + // 1. Get columns result and read all data immediately var columnsResult = await GetColumnsAsync(cancellationToken); if (columnsResult.Stream == null) { // TODO: Add log or throw return columnsResult; } Review Comment: need to call sequentially and consume data in between, since we now dispose reader after each new call. So we consume data immediately after the call -- 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