apache / parquet-java

Apache Parquet Java
https://parquet.apache.org/
Apache License 2.0
2.48k stars 1.37k forks source link

PARQUET-2498: Vector IO to handle empty range list #1374

Closed steveloughran closed 2 weeks ago

steveloughran commented 2 weeks ago

Empty range lists currently trigger IllegalArgumentException, however some (integration test) codepaths attempt to do this.

Downgrading the empty list case to a no-op resolves this.

Change-Id: Ia0f94422415aeeacb15d3c3a909d4de6f1563268

Make sure you have checked all steps below.

Jira

Tests

TestVectorIoBridge.testEmptyRangeList()

Commits

Style

Documentation

wgtmac commented 2 weeks ago

Do we need to port it to the version 1.14.1 which is about to release?

steveloughran commented 2 weeks ago

yes, please.

wgtmac commented 2 weeks ago

I already included that in the 1.14.1 RC0 :)