Commit 75ffc2d
committed
fix(parquet): select FileReader::Make overload by Arrow version
The earlier Arrow-22 fix switched unconditionally to the Status/out-param
FileReader::Make. That form is deprecated in Arrow 23.0.0, and the fork's CI
builds against a newer vendored Arrow with -Werror=deprecated-declarations,
so the build broke.
Guard the call on ARROW_VERSION_MAJOR: use the arrow::Result-returning
overload on Arrow >= 23 (matches upstream) and the out-parameter form on
Arrow 22 (needed by Oxla). Verified compiling against the vendored Arrow 24
with the CI -Werror flags.1 parent 8e62913 commit 75ffc2d
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
126 | 134 | | |
127 | 135 | | |
| 136 | + | |
128 | 137 | | |
129 | 138 | | |
130 | 139 | | |
| |||
0 commit comments