doris icon indicating copy to clipboard operation
doris copied to clipboard

[fix](Nereids) fold constant on BE could not process alias

Open morrySnow opened this issue 2 years ago • 2 comments

Proposed changes

Issue Number: close #xxx

Problem summary

  1. could not use static INSTANCE for FoldConstantOnBE rule, because it is stateful
  2. if expression root is Alias, should use its child to do const collection

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
  • [ ] 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 [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

morrySnow avatar Feb 28 '23 13:02 morrySnow

run buildall

morrySnow avatar Mar 01 '23 02:03 morrySnow

TeamCity pipeline, clickbench performance test result: the sum of best hot time: 33.73 seconds stream load tsv: 478 seconds loaded 74807831229 Bytes, about 149 MB/s stream load json: 39 seconds loaded 2358488459 Bytes, about 57 MB/s stream load orc: 67 seconds loaded 1101869774 Bytes, about 15 MB/s stream load parquet: 27 seconds loaded 861443392 Bytes, about 30 MB/s https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230301031653_clickbench_pr_106087.html

hello-stephen avatar Mar 01 '23 03:03 hello-stephen

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

github-actions[bot] avatar Mar 02 '23 02:03 github-actions[bot]

PR approved by anyone and no changes requested.

github-actions[bot] avatar Mar 02 '23 02:03 github-actions[bot]