Commit d46015a
fix: datatype_is_logically_equal for dictionaries (#20153)
## Which issue does this PR close?
When checking logical equivalence with `Dictionary<_, Utf8>` and
`Utf8View`, the response was `false` which is not what we expect
(logical equivalence should be a transitive property).
## What changes are included in this PR?
This PR introduces a test and a fix. The test fails without the fix. The
fix is simply calling `datatype_is_logically_equal` again on the `v1`
and `othertype` when called with `Dictionary<K1, V1>` and `othertype`.
## Are these changes tested?
Yes.
## Are there any user-facing changes?
No.
---------
Co-authored-by: Jeffrey Vo <jeffrey.vo.australia@gmail.com>
Co-authored-by: Dmitrii Blaginin <dmitrii@blaginin.me>
Co-authored-by: blaginin <github@blaginin.me>1 parent ee01acf commit d46015a
1 file changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
702 | 706 | | |
703 | | - | |
704 | | - | |
705 | 707 | | |
706 | 708 | | |
707 | 709 | | |
| |||
1798 | 1800 | | |
1799 | 1801 | | |
1800 | 1802 | | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
1801 | 1824 | | |
1802 | 1825 | | |
1803 | 1826 | | |
| |||
0 commit comments