Commit 5ae44f2
docs(codec): justify synthetic input field names and nullability
Encoders for scalar, aggregate, and window UDFs build IPC input
schemas from `Field::new(format!("arg_{i}"), dt, true)` — synthetic
names, unconditional nullability. Add a comment at each site
explaining that the field wrapper is only a transport for the
`DataType`: the receiver immediately collapses these fields back to
`Vec<DataType>` when reconstructing `Signature::Exact`, which cannot
encode names or nullability. Setting realistic values here would
be discarded on decode.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d578c85 commit 5ae44f2
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
484 | 491 | | |
485 | 492 | | |
486 | 493 | | |
| |||
667 | 674 | | |
668 | 675 | | |
669 | 676 | | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
670 | 684 | | |
671 | 685 | | |
672 | 686 | | |
| |||
795 | 809 | | |
796 | 810 | | |
797 | 811 | | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
798 | 819 | | |
799 | 820 | | |
800 | 821 | | |
| |||
0 commit comments