Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

[SQL-DS-CACHE-124] [POAE7-1133] Fix q44 case when enable Agg push down #145

Closed
wants to merge 1 commit into from

Conversation

jikunshang
Copy link
Collaborator

What changes were proposed in this pull request?

Fix TPC-DS q44 incorrect result when enable agg push down

e.g. select avg(col_a) group by col_b, we may have a such row
col_b_value | col_b_isNull | col_a_sum_value | col_a_isNull | ...
aaaaa | not Null | 0 | Null |
for this row, spark will do something beyond our expect,
so we make a work around set such row as null row like below
aaaaa | Null | 0 | Null |
if you have any better solution, feel free to comments or modify.

How was this patch tested?

Q44

@github-actions
Copy link

#124

@jikunshang
Copy link
Collaborator Author

@iyupeng @yma11 Please take a review thanks.

@jikunshang
Copy link
Collaborator Author

Offline discussed with @iyupeng , this is a wrong fix. will close this one and submit another PR.

@jikunshang jikunshang closed this Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant