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

[GitHub] [doris] HappenLee opened a new pull request, #16510: [Bug](fix) right anti join error result when batch size is low

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

   # Proposed changes
   
   data:
   ```
   mysql> select * from empty;
   Empty set (0.02 sec)
   
   mysql> select k1 from baseall order by k1;
   +------+
   | k1   |
   +------+
   | NULL |
   |    1 |
   |    2 |
   |    3 |
   |    4 |
   |    5 |
   |    6 |
   |    7 |
   |    8 |
   |    9 |
   |   10 |
   |   11 |
   |   12 |
   |   13 |
   |   14 |
   |   15 |
   +------+
   16 rows in set (0.03 sec)
   ```
   error:
   ```
   mysql> set batch_size = 3;
   Query OK, 0 rows affected (0.00 sec)
   
   mysql> select b.k1 from empty t right anti join baseall b on b.k1 > t.k1 order by b.k1;
   +------+
   | k1   |
   +------+
   |    1 |
   |    2 |
   |    4 |
   |    5 |
   |    6 |
   |   15 |
   +------+
   6 rows in set (0.42 sec)
   
   mysql> select b.k1 from empty t right anti join baseall b on b.k1 > t.k1 order by b.k1;
   +------+
   | k1   |
   +------+
   |    3 |
   |    6 |
   |    7 |
   |    8 |
   |    9 |
   |   11 |
   |   13 |
   |   14 |
   +------+
   8 rows in set (0.40 sec)
   ```
   
   right result:
   ```
   mysql> set batch_size = 992;
   Query OK, 0 rows affected (0.00 sec)
   
   mysql> select b.k1 from empty t right anti join baseall b on b.k1 > t.k1 order by b.k1;
   +------+
   | k1   |
   +------+
   | NULL |
   |    1 |
   |    2 |
   |    3 |
   |    4 |
   |    5 |
   |    6 |
   |    7 |
   |    8 |
   |    9 |
   |   10 |
   |   11 |
   |   12 |
   |   13 |
   |   14 |
   |   15 |
   +------+
   16 rows in set (0.03 sec)
   ```
   ## Problem summary
   
   Describe your changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [ ] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [ ] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [ ] No
   
   ## 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] Gabriel39 merged pull request #16510: [Bug](fix) right anti join error result when batch size is low

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


-- 
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 #16510: [Bug](fix) right anti join error result when batch size is low

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

   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