Commit 447b2d2
fix: use cardinality tests for string_to_array empty input and add missing test case
Use cardinality() to unambiguously verify empty arrays since Arrow's
text format renders [""] identically to []. Add missing test for
string_to_array('', '', 'x') covering all four is_empty checks.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 452a4dd commit 447b2d2
1 file changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8623 | 8623 | | |
8624 | 8624 | | |
8625 | 8625 | | |
8626 | | - | |
8627 | | - | |
8628 | | - | |
| 8626 | + | |
| 8627 | + | |
8629 | 8628 | | |
8630 | | - | |
| 8629 | + | |
8631 | 8630 | | |
8632 | | - | |
8633 | | - | |
| 8631 | + | |
| 8632 | + | |
8634 | 8633 | | |
8635 | | - | |
| 8634 | + | |
8636 | 8635 | | |
8637 | | - | |
8638 | | - | |
| 8636 | + | |
| 8637 | + | |
8639 | 8638 | | |
8640 | | - | |
| 8639 | + | |
| 8640 | + | |
| 8641 | + | |
| 8642 | + | |
| 8643 | + | |
| 8644 | + | |
8641 | 8645 | | |
8642 | 8646 | | |
8643 | 8647 | | |
| |||
0 commit comments