CurtHagenlocher commented on code in PR #3171:
URL: https://github.com/apache/arrow-adbc/pull/3171#discussion_r2211471895


##########
csharp/src/Drivers/Databricks/DatabricksConnection.cs:
##########
@@ -164,6 +165,19 @@ private void ValidateProperties()
                 }
             }
 
+            if 
(Properties.TryGetValue(DatabricksParameters.EnableRunAsyncInThriftOp, out 
string? enableRunAsyncInThriftStr))
+            {
+                if (bool.TryParse(enableRunAsyncInThriftStr, out bool 
enableRunAsyncInThrift))
+                {
+                    _runAsyncInThrift = enableRunAsyncInThrift;
+                }
+                else
+                {
+                    throw new ArgumentException($"Parameter 
'{DatabricksParameters.EnableRunAsyncInThriftOp}' value 
'{enableRunAsyncInThriftStr}' could not be parsed. Valid values are 'true' and 
'false'.");
+                }
+            }
+
+

Review Comment:
   nit: extra blank line



-- 
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

Reply via email to