Details
-
Test
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
Some test cases for AGGREGATE_ANY_PULL_UP_CONSTANTS aren't rigorous.
//sql in testAggregateDynamicFunction select hiredate from sales.emp where sal is null and hiredate = current_timestamp group by sal, hiredate having count(*) > 3
But we know that sal in table of sales.emp is not null, so this case should be changed to
//代码占位符 select hiredate from sales.emp where mrg is null and hiredate = current_timestamp group by mrg, hiredate having count(*) > 3
Test case of testAggregateConstantKeyRule3 has the same problem.
Attachments
Issue Links
- links to