Skip to content

Conversation

@adamreeve
Copy link
Contributor

Fixes #542

using (var fileWriter = new ParquetFileWriter(Filename, CreateFloatArrayColumns(), Compression.Snappy))
using var writerPropertiesBuilder = new WriterPropertiesBuilder();
using var writerProperties = writerPropertiesBuilder
.DisableWritePageIndex()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add comment with an explanation, that this is a workaround for apache/arrow#47027

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I've added a comment now.

Although after looking into this more, I think we might want to override this in the default writer properties before releasing 20.0.0 as this could affect anyone writing lists/arrays with a lot of rows in one row group.

@adamreeve adamreeve merged commit 4009fd2 into G-Research:master Jul 8, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Crash running FloatArrayTimeSeriesRead benchmark

2 participants