feat(sql): add last(array) function#6291
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
core/src/test/java/io/questdb/test/cairo/fuzz/ParallelGroupByFuzzTest.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/questdb/griffin/engine/functions/groupby/LastArrayGroupByFunction.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/questdb/griffin/engine/functions/groupby/LastArrayGroupByFunction.java
Outdated
Show resolved
Hide resolved
|
While working on this, I have identified two other tasks:
|
…ayLastKeyed tests
07c6034 to
244b35f
Compare
|
@mcadariu the PR looks good, but it's still marked as a draft. Are you planning to push some additional changes? |
|
@puzpuzpuz Yes, I have just pushed this commit to remove unnecessary code additions. I'm now making the most out of the existing test setup introduced by the |
core/src/main/java/io/questdb/griffin/engine/functions/groupby/LastArrayGroupByFunction.java
Outdated
Show resolved
Hide resolved
|
Many thanks for another solid contribution! |
Follow-up of questdb/questdb#6291 and questdb/questdb#6322. Co-authored-by: Nick Woolmer <[email protected]>
The next step after #6237
It relates to #4120.
In #4097, a specialized allocator for aggregate functions was introduced and a couple of them migrated to use it. This PR follows up with the implementation of
last(array).