doris icon indicating copy to clipboard operation
doris copied to clipboard

[fix](join)fix outer join bug when a subquery as nullable side

Open starocean999 opened this issue 2 years ago • 0 comments

Proposed changes

Issue Number: close #xxx

Problem summary

When the subquery's root node is a agg node, the output slot may come from the child outer join node's nullable side. This nullable info is lost when creating the output tuple desc for agg node. This pr fixed this problem.

Checklist(Required)

  1. Does it affect the original behavior:
    • [ ] Yes
    • [x] No
    • [ ] I don't know
  2. Has unit tests been added:
    • [ ] Yes
    • [x] No
    • [ ] No Need
  3. Has document been added or modified:
    • [ ] Yes
    • [x] No
    • [ ] No Need
  4. Does it need to update dependencies:
    • [ ] Yes
    • [x] No
  5. Are there any changes that cannot be rolled back:
    • [ ] Yes (If Yes, please explain WHY)
    • [x] No

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

starocean999 avatar Aug 11 '22 13:08 starocean999