Commit 14097c6
committed
PARQUET-387: Improve NPE message when avro arrays contain null.
Previously, the NPE had no error message but the Avro support accepts
schemas that have nullable array elements.
Author: Ryan Blue <blue@apache.org>
Closes #291 from rdblue/PARQUET-387-fix-npe-message and squashes the following commits:
39d3c83 [Ryan Blue] PARQUET-387: Update test case to verify help message.
d6b6bd8 [Ryan Blue] PARQUET-387: Improve NPE message when avro arrays contain null.1 parent e32aa6f commit 14097c6
File tree
2 files changed
+37
-5
lines changed- parquet-avro/src
- main/java/org/apache/parquet/avro
- test/java/org/apache/parquet/avro
2 files changed
+37
-5
lines changedLines changed: 34 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
456 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
457 | 473 | | |
458 | 474 | | |
459 | 475 | | |
| |||
464 | 480 | | |
465 | 481 | | |
466 | 482 | | |
467 | | - | |
468 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
469 | 499 | | |
470 | 500 | | |
471 | 501 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
350 | | - | |
| 351 | + | |
| 352 | + | |
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
| |||
0 commit comments