You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/29 21:08:55 UTC

[GitHub] [arrow] wjones127 commented on a change in pull request #12044: ARROW-13294: [C#] Create Flight example server and client

wjones127 commented on a change in pull request #12044:
URL: https://github.com/apache/arrow/pull/12044#discussion_r776494470



##########
File path: csharp/src/Apache.Arrow.Flight/Server/FlightServer.cs
##########
@@ -48,9 +48,10 @@ public virtual Task DoAction(FlightAction request, IAsyncStreamWriter<FlightResu
             throw new NotImplementedException();
         }
 
-        public virtual Task<Schema> GetSchema(FlightDescriptor request, ServerCallContext context)
+        public virtual async Task<Schema> GetSchema(FlightDescriptor request, ServerCallContext context)
         {
-            throw new NotImplementedException();
+            var info = await GetFlightInfo(request, context);
+            return info.Schema;

Review comment:
       Good point. Was trying to keep track of usability issues I found while writing examples. I'll resubmit this change in another 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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org