You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "starocean999 (via GitHub)" <gi...@apache.org> on 2023/06/29 04:35:15 UTC

[GitHub] [doris] starocean999 opened a new pull request, #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   ## Proposed changes
   explain WITH cte_0 AS ( SELECT 1 AS a ) SELECT * from cte_0 t1 join cte_0 t2 on true WHERE false;
   before:
   ```
   +----------------------------+
   | Explain String             |
   +----------------------------+
   | PLAN FRAGMENT 0            |
   |   OUTPUT EXPRS:            |
   |     a[#1]                  |
   |     a[#2]                  |
   |   PARTITION: UNPARTITIONED |
   |                            |
   |   VRESULT SINK             |
   |                            |
   |   1:VEMPTYSET              |
   |                            |
   | PLAN FRAGMENT 1            |
   |   OUTPUT EXPRS:            |
   |     a[#0]                  |
   |   PARTITION: UNPARTITIONED |
   |                            |
   |   MultiCastDataSinks       |
   |                            |
   |   0:VUNION                 |
   |      constant exprs:       |
   |          1                 |
   +----------------------------+
   ```
   after:
   
   ```
   +----------------------------+
   | Explain String             |
   +----------------------------+
   | PLAN FRAGMENT 0            |
   |   OUTPUT EXPRS:            |
   |     a[#0]                  |
   |     a[#1]                  |
   |   PARTITION: UNPARTITIONED |
   |                            |
   |   VRESULT SINK             |
   |                            |
   |   0:VEMPTYSET              |
   +----------------------------+
   ```
   
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 47.24 seconds
    stream load tsv:          449 seconds loaded 74807831229 Bytes, about 158 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
    insert into select:          67.7 seconds inserted 10000000 Rows, about 147K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706133337_clickbench_pr_173825.html


-- 
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 #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] github-actions[bot] commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] github-actions[bot] commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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] hello-stephen commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 41.51 seconds
    stream load tsv:          461 seconds loaded 74807831229 Bytes, about 154 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          57 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
    insert into select:          68.5 seconds inserted 10000000 Rows, about 145K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230703051503_clickbench_pr_171151.html


-- 
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] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 52.28 seconds
    stream load tsv:          499 seconds loaded 74807831229 Bytes, about 142 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
    insert into select:          88.1 seconds inserted 10000000 Rows, about 113K ops/s
    storage size: 17162225283 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706162416_clickbench_pr_173531.html


-- 
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] morrySnow merged pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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


-- 
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 #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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 #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 49.21 seconds
    stream load tsv:          442 seconds loaded 74807831229 Bytes, about 161 MB/s
    stream load json:         20 seconds loaded 2358488459 Bytes, about 112 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
    insert into select:          68.6 seconds inserted 10000000 Rows, about 145K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706085227_clickbench_pr_173529.html


-- 
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 #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 50.18 seconds
    stream load tsv:          458 seconds loaded 74807831229 Bytes, about 155 MB/s
    stream load json:         21 seconds loaded 2358488459 Bytes, about 107 MB/s
    stream load orc:          56 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
    insert into select:          70.7 seconds inserted 10000000 Rows, about 141K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230705031912_clickbench_pr_172423.html


-- 
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 #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 40.43 seconds
    stream load tsv:          461 seconds loaded 74807831229 Bytes, about 154 MB/s
    stream load json:         21 seconds loaded 2358488459 Bytes, about 107 MB/s
    stream load orc:          57 seconds loaded 1101869774 Bytes, about 18 MB/s
    stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
    insert into select:          69.8 seconds inserted 10000000 Rows, about 143K ops/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230703054110_clickbench_pr_171181.html


-- 
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] starocean999 commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   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


[GitHub] [doris] hello-stephen commented on pull request #21317: [fix](nereids)don't build cte producer if the consumer is empty relation

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

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 55.87 seconds
    stream load tsv:          502 seconds loaded 74807831229 Bytes, about 142 MB/s
    stream load json:         19 seconds loaded 2358488459 Bytes, about 118 MB/s
    stream load orc:          64 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
    insert into select:          88.5 seconds inserted 10000000 Rows, about 112K ops/s
    storage size: 17162543215 Bytes
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230706212113_clickbench_pr_173819.html


-- 
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