birschick-bq commented on code in PR #1830:
URL: https://github.com/apache/arrow-adbc/pull/1830#discussion_r1594833751
##########
csharp/src/Drivers/Apache/Hive2/HiveServer2Statement.cs:
##########
@@ -48,21 +48,21 @@ protected void ExecuteStatement()
this.operationHandle = executeResponse.OperationHandle;
}
- protected void PollForResponse()
+ protected async Task PollForResponseAsync()
{
TGetOperationStatusResp? statusResponse = null;
do
{
- if (statusResponse != null) { Thread.Sleep(500); }
+ if (statusResponse != null) { await Task.Delay(500); }
Review Comment:
For now, created class properties to hold the value. Will add an
implementation of the `AdbcStatement.SetOption` in a future PR.
--
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]