Commit 85779a4
### Rationale for this change
See #45185. Invalid repetition levels would previously only cause a fatal error in debug builds.
### What changes are included in this PR?
Converts an existing `ARROW_DCHECK_EQ` of the repetition level with a check that will raise an exception in release builds too.
### Are these changes tested?
Yes, using a new example file (apache/parquet-testing#67)
### Are there any user-facing changes?
Yes, reading columns with invalid repetition levels as Arrow arrays will now raise an exception.
* GitHub Issue: #45185
Lead-authored-by: Adam Reeve <adreeve@gmail.com>
Co-authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: mwish <maplewish117@gmail.com>
1 parent cc10aa5 commit 85779a4
File tree
3 files changed
+22
-3
lines changed- cpp
- src/parquet
- arrow
- submodules
3 files changed
+22
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3978 | 3978 | | |
3979 | 3979 | | |
3980 | 3980 | | |
3981 | | - | |
| 3981 | + | |
| 3982 | + | |
3982 | 3983 | | |
3983 | 3984 | | |
3984 | 3985 | | |
| |||
3992 | 3993 | | |
3993 | 3994 | | |
3994 | 3995 | | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
3995 | 4002 | | |
3996 | 4003 | | |
3997 | 4004 | | |
| |||
4005 | 4012 | | |
4006 | 4013 | | |
4007 | 4014 | | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
| 4018 | + | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
4008 | 4022 | | |
4009 | 4023 | | |
4010 | 4024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1611 | 1611 | | |
1612 | 1612 | | |
1613 | 1613 | | |
1614 | | - | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1615 | 1620 | | |
1616 | 1621 | | |
1617 | 1622 | | |
| |||
0 commit comments