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

   ### 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-latest
   
   ### What's Wrong?
   
   select collect_list(email) from collect_tbl;
   
   make BE crashed:
   F0804 21:18:40.991986 70554 vaggregation_node.cpp:532] Check failed: 
((DataTypeNullable*)column_type.get()) ->get_nested_type() 
->equals(*data_types[i])
   
   Because of nested type of Array, Array(Nullable(String)) do not equal 
Array(String).
   
   ### What You Expected?
   
   fix
   
   ### How to Reproduce?
   
   1. create table with `NOT NULL` column;
   ```
   CREATE TABLE `collect_tbl` (
     `k1` int(11) NULL,
     `email` varchar(20) NOT NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 5
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   ```
   
   2. insert some test data, like:
   ```
   > select * from collect_tbl;
   +------+-------+
   | k1   | email |
   +------+-------+
   |    2 | e2    |
   |    1 | e3    |
   |    1 | e1    |
   +------+-------+
   ```
   
   3. call collect_list
   `select collect_list(email) from collect_tbl;`
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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