-
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.
Resolve contradictory requirements by conversion of ordering sensitiv…
…e aggregators (#6482) * Naive test pass i * Add new tests and simplifications * move tests to the .slt file * update requirement * update tests * Add support for partiallyOrdered aggregation sensitive. * Resolve linter errors * update comments * minor changes * retract changes in generated * update proto files * Simplifications * Make types consistent in schema, and data * Update todos * Convert API to vector * Convert get_finest to handle Vector inputs * simplifications, update comment * initial commit, add test * Add support for FIRST Aggregate function. * Add support for last aggregate * Update cargo.lock * Remove distinct, and limit from First and last aggregate. * Add reverse for First and Last Aggregator * Update cargo lock * Minor code simplifications * Update comment * Update documents * Fix projection pushdown bug * fix projection push down failure bug * combine first_agg and last_agg parsers * Update documentation * Update subproject * initial commit * Add test code * initial version * simplify prints * minor changes * sqllogictests pass * All tests pass * update proto function names * Minor changes * do not consider ordering requirement in ordering insensitive aggregators * Reject aggregate order by for window functions. * initial commit * Add new tests * Add reverse for sort removal * simplifications * simplifications * Bug fix, do not consider reverse requirement if it is not possible * Fix cargo lock file * Change reverse_order_by function place * Move required input ordering calculation logic to its own function * Add new tests * simplifications * Update comment * Rename aggregator first and last * minor change * Comment improvements * Remove count from First,Last accumulators * Remove clone * Simplifications * Simplifications, update comment * Improve comments * Move LexOrdering requirement to common place * Update comment, refactor implementation * bug fix: * Use naive requirement when reverse requirement is not helpful by convention. * Update test * Update comments * Change function place * Move get_finer to utls * change name of last, first impl, * Fix error message * change display of first and last --------- Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com> Co-authored-by: berkaysynnada <berkay.sahin@synnada.ai>
- Loading branch information
1 parent
9d22054
commit 5ddcbc4
Showing
14 changed files
with
531 additions
and
126 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.