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

[GitHub] [doris] Bingandbing opened a new pull request, #17829: Fix DORIS-3219: Add call once logic to analyze of function aes_decrypt

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

   # Proposed changes
   
   Add call once to adding third parameter of aes_decrypt type function.
   
   ## Problem summary
   
   The problem is an exception when doing analyze:
   java.lang.IllegalStateException: exceptions :
   errCode = 2, detailMessage = select list expression not produced by aggregation output (missing from GROUP BY clause?): xxx
   
   The scenario is: 
   select aes_decrypt(xxx,xxx) as c0 from table group by c0;
   
   Analyze of problem:
   The direct problem is mismatched of slotref, and this mismatched due to the mismatched of parameter number of aes_decrypt function. When debuging, we can see the slotref of group column is added to ExprSubstitutionMap, but can not matching with select result columns. And this is because when substiting expr it will analyze again, so the parameter would be added twice. This will cause the mismatching of function, so it would not be substitute as a slotref, the exception would be throw.
   
   Fix:
   Add call once to adding third parameter of aes_decrypt type function. Compare the child we want to add to the last child of function. If they are the same, do not add it.
   
   Describe your changes.
   
   ## Checklist(Required)
   
   * [ ] Does it affect the original behavior
   * [ ] Has unit tests been added
   * [ ] Has document been added or modified
   * [ ] Does it need to update dependencies
   * [x] Is this PR support rollback (If NO, please explain WHY)
   
   ## 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] yiguolei merged pull request #17829: [Fix](Planner)Add call once logic to analyze of function aes_decrypt

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


-- 
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 #17829: [Fix](Planner)Add call once logic to analyze of function aes_decrypt

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

   TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 34.91 seconds
    stream load tsv:          470 seconds loaded 74807831229 Bytes, about 151 MB/s
    stream load json:         37 seconds loaded 2358488459 Bytes, about 60 MB/s
    stream load orc:          75 seconds loaded 1101869774 Bytes, about 14 MB/s
    stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
    https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230315125805_clickbench_pr_114738.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 #17829: [Fix](Planner)Add call once logic to analyze of function aes_decrypt

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

   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] github-actions[bot] commented on pull request #17829: [Fix](Planner)Add call once logic to analyze of function aes_decrypt

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

   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] Bingandbing commented on pull request #17829: [Fix](Planner)Add call once logic to analyze of function aes_decrypt

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

   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