Commit 38ffbd3
committed
[SPARK-52629] Remove
### What changes were proposed in this pull request?
This PR aims to remove `ArrowReaderHelper.isNestedType` method in order to make `loadField` more flexible.
### Why are the changes needed?
This is a preparation to support more complex types. `switch` pattern is more flexible to extend `loadField` method.
In addition, `isNestedType` is used once.
### Does this PR introduce _any_ user-facing change?
No, this is an internal refactoring.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #204 from dongjoon-hyun/SPARK-52629.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>ArrowReaderHelper.isNestedType
1 parent bfa92ae commit 38ffbd3
File tree
2 files changed
+8
-14
lines changed- Sources/SparkConnect
2 files changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
205 | 206 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 265 | | |
275 | 266 | | |
276 | 267 | | |
| |||
0 commit comments