apache / arrow-go

Official Go implementation of Apache Arrow
https://arrow.apache.org/
Apache License 2.0
6 stars 3 forks source link

Need to find Top n elements from the set of elements #50

Open VEDANTDOKANIA opened 1 year ago

VEDANTDOKANIA commented 1 year ago

Describe the usage question you have. Please include as many useful details as possible.

Need to use arrow for finding topK elements. I have a list of groups and counts corresponding to the same , i need to update the group count with less time complexity frequently and need to gather topN elements by group count . Is arrow array suitable for the same or should i use any other library. Need to implement the same in golang.

Component(s)

Go

zeroshade commented 1 year ago

Arrow would be perfectly suitable to do so, I just haven't implemented this in the compute library yet. It would make sense to do so though and it is indeed on my list of things to do, but I'd welcome any contributions if you take a look at the compute package.

VEDANTDOKANIA commented 1 year ago

Thank @zeroshade for your response . I would love to contribute in the compute package..

zeroshade commented 1 year ago

Awesome thanks! Feel free to file a PR / draft and ask for any help/assistance you need and I'll try to help out where I can!

It should automatically add me as a reviewer when you file it