Commit f716a47
## What changes were proposed in this pull request?
For now the `hasMinMaxStats` will return the same as `hasCountStats`, which is obviously not as expected.
## How was this patch tested?
Existing tests.
Closes #23152 from adrian-wang/minmaxstats.
Authored-by: Daoyuan Wang <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit 8534d75)
Signed-off-by: Wenchen Fan <[email protected]>
1 parent 91b86b7 commit f716a47
File tree
3 files changed
+52
-3
lines changed- sql
- catalyst/src
- main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation
- test/scala/org/apache/spark/sql/catalyst/statsEstimation
- hive/src/test/scala/org/apache/spark/sql/hive/execution
3 files changed
+52
-3
lines changedLines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
673 | 681 | | |
674 | 682 | | |
675 | 683 | | |
| |||
879 | 887 | | |
880 | 888 | | |
881 | 889 | | |
882 | | - | |
| 890 | + | |
883 | 891 | | |
884 | 892 | | |
885 | | - | |
| 893 | + | |
886 | 894 | | |
887 | 895 | | |
888 | | - | |
| 896 | + | |
889 | 897 | | |
890 | 898 | | |
891 | 899 | | |
| |||
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
821 | 822 | | |
822 | 823 | | |
823 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
824 | 851 | | |
825 | 852 | | |
826 | 853 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2276 | 2276 | | |
2277 | 2277 | | |
2278 | 2278 | | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
2279 | 2293 | | |
0 commit comments