You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-39210][SQL] Provide query context of Decimal overflow in AVG when WSCG is off
### What changes were proposed in this pull request?
Similar to #36525, this PR provides runtime error query context for the Average expression when WSCG is off.
### Why are the changes needed?
Enhance the runtime error query context of Average function. After changes, it works when the whole stage codegen is not available.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
New UT
Closes#36582 from gengliangwang/fixAvgContext.
Authored-by: Gengliang Wang <gengliang@apache.org>
Signed-off-by: Gengliang Wang <gengliang@apache.org>
(cherry picked from commit 8b5b3e9)
Signed-off-by: Gengliang Wang <gengliang@apache.org>
0 commit comments