Commit a2c2b6a
authored
DV read tests with cdf should run with spark 353+ [databricks] (NVIDIA#15462)
Fixes NVIDIA#15461.
### Description
Two new integration tests are failing in the pre-release CI. These tests
test the deletion vector read with CDF enabled. Since these tests
require the DV scan to run on GPU, they should run with Spark 3.5.3+
which are the versions the plugin accelerates the DV scan.
One related issue is the confusing name of the
`supports_delta_lake_deletion_vectors` function. The "support" can mean
different things depending on the context. In the plugin context,
supporting DV means that the DV scan runs on GPU. In the Delta Lake
context, supporting DV means that the deletion vector feature is
supported. The function in question is confusing as it does not tell
what supports deletion vectors, and thus what is the meaning of
supporting deletion vectors.
This PR fixes the problems above by adding a new function
`gpu_supports_delta_dv_scan`, which returns true if the DV scan runs on
GPU in the given runtime. The failing tests now use
`gpu_supports_delta_dv_scan` to skip themselves for Spark 3.4.x. A new
test is also added to test the fallback with Spark 3.4.x. The failing
tests and the new tests are manually tested with Spark 3.5.5 and 3.4.4.
I will make another PR to rename the confusing
`supports_delta_lake_deletion_vectors` against the main branch.
### Checklists
Documentation
- [ ] Updated for new or modified user-facing features or behaviors
- [x] No user-facing change
Testing
- [x] Added or modified tests to cover new code paths
- [ ] Covered by existing tests
(Please provide the names of the existing tests in the PR description.)
- [ ] Not required
Performance
- [ ] Tests ran and results are added in the PR description
- [ ] Issue filed with a link in the PR description
- [x] Not required
---------
Signed-off-by: Jihoon Son <ghoonson@gmail.com>1 parent c69e922 commit a2c2b6a
2 files changed
Lines changed: 54 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 201 | + | |
| 202 | + | |
210 | 203 | | |
211 | 204 | | |
212 | 205 | | |
| |||
220 | 213 | | |
221 | 214 | | |
222 | 215 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
227 | 256 | | |
228 | 257 | | |
229 | 258 | | |
| |||
591 | 620 | | |
592 | 621 | | |
593 | 622 | | |
594 | | - | |
| 623 | + | |
595 | 624 | | |
596 | | - | |
597 | | - | |
| 625 | + | |
| 626 | + | |
598 | 627 | | |
599 | 628 | | |
600 | 629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
343 | 351 | | |
344 | 352 | | |
345 | 353 | | |
| |||
0 commit comments