Repository navigation
Commit 8bc579e
committed
apacheGH-3817: Decompress empty pages with the direct codecs
An empty page, such as the empty dictionary page Arrow C++ writes for a
column chunk of nulls alone, compresses to no bytes, and the direct
Snappy and LZ4_RAW decompressors reject empty input. Skip decompressing
when the page is empty.1 parent 4b37c19 commit 8bc579e
2 files changed
Lines changed: 11 additions & 1 deletion
File tree
- parquet-hadoop/src
- main/java/org/apache/parquet/hadoop
- test/java/org/apache/parquet/hadoop
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
210 | 215 | | |
211 | 216 | | |
212 | 217 | | |
| |||
225 | 230 | | |
226 | 231 | | |
227 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
228 | 237 | | |
229 | 238 | | |
230 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments