morningman opened a new issue, #11786:
URL: https://github.com/apache/doris/issues/11786

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   ```
   F0815 16:39:54.389199  8227 vaggregation_node.cpp:613] Check failed: 
_aggregate_evaluators[i]->input_exprs_ctxs().size() == 1 && 
_aggregate_evaluators[i]->input_exprs_ctx
   s()[0]->root()->is_slot_ref()
   ```
   
   ### What You Expected?
   
   No error
   
   ### How to Reproduce?
   
   ```
   CREATE TABLE `test2` (
     `k0` boolean NULL,
     `k1` tinyint(4) NULL,
     `k2` smallint(6) NULL,
     `k3` int(11) NULL,
     `k4` bigint(20) NULL,
     `k5` decimal(9, 3) NULL,
     `k6` char(5) NULL,
     `k10` date NULL,
     `k11` datetime NULL,
     `k7` varchar(20) NULL,
     `k8` double MAX NULL,
     `k9` float SUM NULL,
     `k12` text REPLACE_IF_NOT_NULL NULL,
     `k13` largeint(40) REPLACE NULL
   ) ENGINE=OLAP
   AGGREGATE KEY(`k0`, `k1`, `k2`, `k3`, `k4`, `k5`, `k6`, `k10`, `k11`, `k7`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 5
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   
   insert into test2 values(1,2,3,4,5,6,"7",8,9,10,11,12,13,14);
   
   select avg(distinct k1), avg(k2) from test2;
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to