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


##########
csharp/src/Client/AdbcCommand.cs:
##########
@@ -167,11 +167,13 @@ public new AdbcDataReader ExecuteReader(CommandBehavior 
behavior)
         {
             switch (behavior)
             {
-                case CommandBehavior.SingleRow:
-                    throw new InvalidOperationException("Cannot read rows in 
Arrow");
-                default:
+                case CommandBehavior.SchemaOnly:   // The schema is not known 
until a read happens

Review Comment:
   yes, it's not perfect. SchemaOnly would be preferred when that becomes 
available. 



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