Skip to content

Commit

Permalink
MINOR: [C#] Fixing example to use WriteEndAsync instead of WriteFoote…
Browse files Browse the repository at this point in the history
…rAsync

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 <[email protected]>
Signed-off-by: Eric Erhardt <[email protected]>
  • Loading branch information
royalstream authored and eerhardt committed Jun 30, 2021
1 parent 23d19ce commit 6bc94da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/examples/FluentBuilderExample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6bc94da

Please sign in to comment.