From 6bc94da86437646ddcf4902f806ebf36efe36a24 Mon Sep 17 00:00:00 2001 From: Steven Burns Date: Wed, 30 Jun 2021 09:58:23 -0500 Subject: [PATCH] MINOR: [C#] Fixing example to use WriteEndAsync instead of WriteFooterAsync WriteFooterAsync is private, so the example doesn't compile. This method was probably public in an earlier version of the library. WriteEndAsync seems to be the proper replacement. Closes #10399 from royalstream/patch-1 Authored-by: Steven Burns Signed-off-by: Eric Erhardt --- csharp/examples/FluentBuilderExample/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/examples/FluentBuilderExample/Program.cs b/csharp/examples/FluentBuilderExample/Program.cs index a55f841951857..6dbdc3d778e28 100644 --- a/csharp/examples/FluentBuilderExample/Program.cs +++ b/csharp/examples/FluentBuilderExample/Program.cs @@ -51,7 +51,7 @@ public static async Task Main(string[] args) using (var writer = new ArrowFileWriter(stream, recordBatch.Schema)) { await writer.WriteRecordBatchAsync(recordBatch); - await writer.WriteFooterAsync(); + await writer.WriteEndAsync(); } Console.WriteLine("Done");