first() / last() implementation
See original GitHub issueIs your feature request related to a problem? Please describe.
the aggregation function last()
only supports certain types (timestamp, long, int). However last(symbol)
and last(double)
for example are not supported.
first()
is not implemented.
Describe the solution you’d like
Finish the implementation for last
and implement first
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Are First() and Last() on IEnumerable<> really the first and last?
First() gets an enumerator and return first value that it founds. Last() most often iterates through the whole collection and returns element one...
Read more >Get the first and last element of the list | C++ STL
Here, we are going to learn how to access/get the first and last element of a list. To get the first element, we...
Read more >Get the first and last item in an array using JavaScript
In this article, we will learn to get the first & last element in an array in Javascript, along with understanding their implementation...
Read more >A last-in first-out stack data structure implemented in DNA
Here we present an in vitro implementation of a stack data structure using DNA polymers. The stack is able to record combinations of...
Read more >slice first() and last() methods · Issue #1852 · ziglang/zig · GitHub
first() ?*T ... last() ?*T ... first would return an optional pointer to the first element, null if the slice is empty. last...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fwiw I have a wip of this: https://github.com/lbowman/questdb/tree/feat.firstlast. I still need to understand the Symbol data type.
Levi, would you mind signing the CLA on #586 pls?