-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return an error when a column does not exist in window function (#9202)
* fix: return err instead of panic Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * fix: update error message Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * fix: use find_map instead of any Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * fix: cargo fmt to format the code Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * fix: update is_ordering_strict checking logic Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * test: add test_field_not_found_window_function Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * feat: simplify the logic of creating new WindowFrame Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * fix: simplify error handling code Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> * add more test on window_function Signed-off-by: Hoang Pham <a2k40pbc@gmail.com> --------- Signed-off-by: Hoang Pham <a2k40pbc@gmail.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
8 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