kangkaisen opened a new pull request #1721: Make bitmap_union agg column 
support insert into
URL: https://github.com/apache/incubator-doris/pull/1721
 
 
   For https://github.com/apache/incubator-doris/pull/1610, make bitmap_union 
support insert into select.
   
   1 Add a check for select * with bitmap_union
   2 Define the bitmap_union column type to varchar(0), because the bitmap real 
length is variable, when insert into, the bitmap real length maybe larger than 
origin varchar length.
   
   
   Test the following case:
   
   1 
   ```
   insert into bitmap_test_2 select id, id2 from bitmap_test_3;
   ```
   2 
   ```
   insert into bitmap_test_2 select id, to_bitmap(id2) from bitmap_int;
   ```
   3
   ```
   INSERT INTO bitmap_test_2 (id, id2) VALUES (1000, to_bitmap(1000)), (1000, 
to_bitmap(2000));
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to