Repository navigation
Commit e2d34cb
committed
[test](regression) Correct empty regex golden results
### What problem does this PR solve?
Related PR: #67538
Problem Summary:
The new gram regression golden expected an empty regular expression to match no rows. Doris REGEXP and RLIKE match every non-null string for this pattern, so the P0 suite failed at regexp_23_idx_true before it could finish.
Regenerate the golden through the regression runner. Both index modes now expect the same matches for REGEXP, RLIKE, NOT REGEXP, and the compound predicate.
### Release note
None
### Check List (For Author)
- Test
- [x] Regression test: test_gram_regexp_like passed with generated output and again with normal golden comparison.
- [x] Unit Test: FunctionLikeTest.regexp_empty_constant_pattern passed under ASAN.
- Behavior changed:
- [x] No. Only the expected regression output changed.
- Does this need documentation?
- [x] No.1 parent fb488b9 commit e2d34cb
1 file changed
Lines changed: 70 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
702 | 720 | | |
703 | 721 | | |
704 | | - | |
705 | | - | |
706 | 722 | | |
707 | 723 | | |
708 | 724 | | |
| |||
722 | 738 | | |
723 | 739 | | |
724 | 740 | | |
| 741 | + | |
| 742 | + | |
725 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
726 | 759 | | |
727 | 760 | | |
728 | 761 | | |
| |||
1843 | 1876 | | |
1844 | 1877 | | |
1845 | 1878 | | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
1846 | 1897 | | |
1847 | 1898 | | |
1848 | | - | |
1849 | | - | |
1850 | 1899 | | |
1851 | 1900 | | |
1852 | 1901 | | |
| |||
1866 | 1915 | | |
1867 | 1916 | | |
1868 | 1917 | | |
| 1918 | + | |
| 1919 | + | |
1869 | 1920 | | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
1870 | 1936 | | |
1871 | 1937 | | |
1872 | 1938 | | |
| |||
0 commit comments