You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "wangbo (via GitHub)" <gi...@apache.org> on 2023/08/10 08:28:10 UTC

[GitHub] [doris] wangbo opened a new pull request, #22828: (fix)[executor]Fix query hang when query bitmap Orth intersect

wangbo opened a new pull request, #22828:
URL: https://github.com/apache/doris/pull/22828

   ## Proposed changes
   
   ```
   drop TABLE if exists test1;
   
   CREATE TABLE test1 (
       dt1 date NOT NULL,
       dt2 date NOT NULL,
       id varchar(256) NULL,
       type smallint(6) MAX NULL,
       id_bitmap bitmap BITMAP_UNION NULL
   ) ENGINE = OLAP AGGREGATE KEY(dt1, dt2, id) PARTITION BY RANGE(dt1) (
       PARTITION p20230725
       VALUES
           [('2023-07-25'), ('2023-07-26')))
   DISTRIBUTED BY HASH(dt1, dt2) BUCKETS 1 properties("replication_num"="1");
   
   insert into test1
   select
   str_to_date('2023-07-25','%Y-%m-%d') as dt1,
   str_to_date('2023-07-25','%Y-%m-%d') as dt2,
   'aaaaaaaaaa' as id,
   1 as type,
   BITMAP_HASH64('aaaaaaaaaa') as id_bitmap;
   
   set experimental_enable_nereids_planner=false;
   set experimental_enable_pipeline_engine = true;
   select count(distinct id), bitmap_count(orthogonal_bitmap_intersect(id_bitmap, type, 1)) as count2_bitmap from test1; 
   ```
   
   Query will hang, because this sql contains two orthogonal_bitmap_intersect, this is not correct usage.


-- 
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-unsubscribe@doris.apache.org

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


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


[GitHub] [doris] yiguolei merged pull request #22828: [fix](executor)Fix query hang when query bitmap Orth intersect

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #22828:
URL: https://github.com/apache/doris/pull/22828


-- 
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-unsubscribe@doris.apache.org

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


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


[GitHub] [doris] github-actions[bot] commented on pull request #22828: [fix](executor)Fix query hang when query bitmap Orth intersect

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22828:
URL: https://github.com/apache/doris/pull/22828#issuecomment-1672885565

   PR approved by at least one committer and no changes requested.


-- 
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-unsubscribe@doris.apache.org

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


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


[GitHub] [doris] github-actions[bot] commented on pull request #22828: [fix](executor)Fix query hang when query bitmap Orth intersect

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22828:
URL: https://github.com/apache/doris/pull/22828#issuecomment-1672885636

   PR approved by anyone and no changes requested.


-- 
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-unsubscribe@doris.apache.org

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


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


[GitHub] [doris] hello-stephen commented on pull request #22828: [fix](executor)Fix query hang when query bitmap Orth intersect

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #22828:
URL: https://github.com/apache/doris/pull/22828#issuecomment-1672866928

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 46.11 seconds
    stream load tsv:          511 seconds loaded 74807831229 Bytes, about 139 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
    storage size: 17162528422 Bytes


-- 
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-unsubscribe@doris.apache.org

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


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


[GitHub] [doris] github-actions[bot] commented on pull request #22828: (fix)[executor]Fix query hang when query bitmap Orth intersect

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22828:
URL: https://github.com/apache/doris/pull/22828#issuecomment-1672799477

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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-unsubscribe@doris.apache.org

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


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


[GitHub] [doris] wangbo commented on pull request #22828: [fix](executor)Fix query hang when query bitmap Orth intersect

Posted by "wangbo (via GitHub)" <gi...@apache.org>.
wangbo commented on PR #22828:
URL: https://github.com/apache/doris/pull/22828#issuecomment-1672814285

   run buildall


-- 
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-unsubscribe@doris.apache.org

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


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