xingyingone commented on issue #22778:
URL: https://github.com/apache/doris/issues/22778#issuecomment-1672472293

   我的debug过程中,先是:
   
![image](https://github.com/apache/doris/assets/16775757/d6e08cb8-cb5f-4ea6-bf7f-aa362445aeb9)
   然后运行到
   
![image](https://github.com/apache/doris/assets/16775757/19f82521-a9e4-49fb-af6b-df63e1cbd37a)
   gdb 看堆栈
   
![image](https://github.com/apache/doris/assets/16775757/8559e833-7826-4236-b36f-be63ae7c395d)
   
      CREATE TABLE `test_map_agg_alex1` (
           `id` int(11) NOT NULL,
           `label_name` varchar(32) NOT NULL,
           `value_field` string NOT NULL,
       ) ENGINE=OLAP
       DUPLICATE KEY(`id`)
       COMMENT 'OLAP'
       DISTRIBUTED BY HASH(`id`) BUCKETS 1
       PROPERTIES (
       "replication_allocation" = "tag.location.default: 1",
       "storage_format" = "V2",
       "light_schema_change" = "true",
       "disable_auto_compaction" = "false",
       "enable_single_replica_compaction" = "false"
       );
       
                   insert into `test_map_agg_alex1` values
               (1, "LA", "V1_1"),
               (1, "LB", "V1_2"),
               (1, "LC", "V1_3"),
               (2, "LA", "V2_1"),
               (2, "LB", "V2_2"),
               (2, "LC", "V2_3"),
               (3, "LA", "V3_1"),
               (3, "LB", "V3_2"),
               (3, "LC", "V3_3"),
               (4, "LA", "V4_1"),
               (4, "LB", "V4_2"),
               (4, "LC", "V4_3"),
               (5, "LA", "V5_1"),
               (5, "LB", "V5_2"),
               (5, "LC", "V5_3");
               
     SELECT id, map_agg(label_name,value_field) FROM test_map_agg_alex1 GROUP 
BY id;


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to