Skip to content

Commit

Permalink
fix broken parquet parsing when parquet file contains 'invalid' colum…
Browse files Browse the repository at this point in the history
…ns (#1034)
  • Loading branch information
PalmEmil authored Jan 16, 2025
1 parent b1ad089 commit 4aa9074
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 4aa9074

Please sign in to comment.