Skip to content

Commit

Permalink
fix missing 'new'...
Browse files Browse the repository at this point in the history
  • Loading branch information
dvasseur authored and aloneguid committed Oct 13, 2022
1 parent d774b3a commit f421254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parquet/ParquetExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static async Task<Table> ReadAsTableAsync(this ParquetReader reader) {
Table result = null;

if(reader.RowGroupCount == 0) {
result = Table(reader.Schema, null, 0);
result = new Table(reader.Schema, null, 0);
} else {
for(int i = 0; i < reader.RowGroupCount; i++) {
using(ParquetRowGroupReader rowGroupReader = reader.OpenRowGroupReader(i)) {
Expand Down

0 comments on commit f421254

Please sign in to comment.