From d06e4891fa459b68b101097ff6acea634077abed Mon Sep 17 00:00:00 2001 From: Steven Burns Date: Tue, 25 May 2021 18:20:15 -0600 Subject: [PATCH] Using 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. --- 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 a55f8419518..6dbdc3d778e 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");