queryverse / queryverse/IterableTables.jl
Add Pair iterator sink to TimeSeries
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Julia
- Stars
- 79
- Forks
- 9
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 2
Description
The TimeArray sink should accept iterator of Pairs of NamedTuples, and then use the key as the time index and the columns from the value as data columns. This would enable e.g. this query:
@from i in df begin
@select i.a => {i.b, i.c}
@collect TimeArray
end
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the TimeArray sink implementation and inspect how iterator rows are currently converted. Reproduce the shown @from/@select/@collect TimeArray query with Pair keys and NamedTuple values, then verify that the key becomes the time index and the value fields become data columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100