davidhcoe commented on code in PR #1192:
URL: https://github.com/apache/arrow-adbc/pull/1192#discussion_r1361051243


##########
csharp/src/Client/AdbcCommand.cs:
##########
@@ -167,8 +167,13 @@ public new AdbcDataReader ExecuteReader(CommandBehavior 
behavior)
         {
             switch (behavior)
             {
+                case CommandBehavior.SingleResult:
+                case CommandBehavior.KeyInfo:
+                case CommandBehavior.SequentialAccess:
+                case CommandBehavior.CloseConnection:
                 case CommandBehavior.SingleRow:
-                    throw new InvalidOperationException("Cannot read rows in 
Arrow");
+                    throw new InvalidOperationException($"{behavior} is not 
supported with this provider");

Review Comment:
   refactored in latest push



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

Reply via email to