Commit 0707a0f
Downgrade missing required CSV column from error to warning
When importing a CSV that doesn't contain all required columns defined
in the database schema, the validation was throwing an exception that
halted the entire import. This changes the behavior to emit a warning
instead, allowing the import to proceed with null values for missing
columns. The database layer will handle any actual constraint violations
on a per-row basis.
Fixes: CLOUD-3K9V
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent bbdd8ef commit 0707a0f
2 files changed
Lines changed: 51 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
473 | 475 | | |
474 | 476 | | |
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | 482 | | |
484 | 483 | | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
| 484 | + | |
489 | 485 | | |
490 | 486 | | |
491 | | - | |
| 487 | + | |
492 | 488 | | |
493 | 489 | | |
494 | 490 | | |
495 | 491 | | |
496 | 492 | | |
497 | | - | |
| 493 | + | |
| 494 | + | |
498 | 495 | | |
499 | 496 | | |
500 | 497 | | |
501 | | - | |
| 498 | + | |
502 | 499 | | |
503 | 500 | | |
504 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
419 | 462 | | |
420 | 463 | | |
421 | 464 | | |
| |||
0 commit comments