Skip to content

Commit

Permalink
fix broken parquet parsing when parquet file contains 'invalid' columns
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmEmil committed Jan 14, 2025
1 parent b1ad089 commit a8216b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plotjuggler_plugins/DataLoadParquet/dataload_parquet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ bool DataLoadParquet::readDataFromFile(FileLoadInfo* info, PlotDataMapRef& plot_
{
if (!valid_column[col])
{
os.SkipColumns(1);
continue;
}
auto type = column_type[col];
Expand Down Expand Up @@ -267,7 +268,7 @@ bool DataLoadParquet::readDataFromFile(FileLoadInfo* info, PlotDataMapRef& plot_
default: {
}
} // end switch
} // end for column
} // end for column

os >> parquet::EndRow;

Expand Down

0 comments on commit a8216b5

Please sign in to comment.