Repository navigation
Commit cdc5fd7
feat: Support RunEndEncoded type in approx_distinct (apache#25951)
## Which issue does this PR close?
- Closes apache#22989
## Rationale for this change
- Support the Arrow type `RunEndEncoded` type for `approx_distinct`
## What changes are included in this PR?
- Enable `HLLAccumulator` and `HllGroupsAccumulator` to support
`RunEndEncoded`
- Tests for the non-grouped and grouped path as part of `aggregate.slt`
## Are these changes tested?
Yes.
## Are there any user-facing changes?
Yes, `approx_distinct` supports now `RunEndEncoded` but no breaking
changes.1 parent c36a1b7 commit cdc5fd7
2 files changed
Lines changed: 64 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
839 | 841 | | |
840 | 842 | | |
841 | 843 | | |
| |||
894 | 896 | | |
895 | 897 | | |
896 | 898 | | |
897 | | - | |
| 899 | + | |
898 | 900 | | |
899 | 901 | | |
900 | 902 | | |
901 | 903 | | |
902 | 904 | | |
903 | | - | |
| 905 | + | |
904 | 906 | | |
905 | | - | |
906 | | - | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
907 | 913 | | |
908 | | - | |
909 | 914 | | |
910 | 915 | | |
911 | 916 | | |
912 | 917 | | |
913 | 918 | | |
914 | 919 | | |
915 | | - | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
916 | 924 | | |
917 | 925 | | |
918 | 926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1862 | 1862 | | |
1863 | 1863 | | |
1864 | 1864 | | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
1865 | 1914 | | |
1866 | 1915 | | |
1867 | 1916 | | |
| |||
0 commit comments