forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix](Planner) fix window function in aggregation (apache#22603)
Problem: When window function in aggregation function, executor would report an error like: Required field 'node_type' was not present! Example: SELECT SUM(MAX(c1) OVER (PARTITION BY c2, c3)) FROM test_window_in_agg; Reason: When analyze aggregate, analytic expr (window function carrior when analyze) transfered to slot and loss message. So when serialize to thrift package, TExpr can not determine node_type of analytic expr. Solved: We do not support aggregate(window function) yet. So we report an error when analyze.
- Loading branch information
1 parent
b122f9b
commit 265cded
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters