queryverse / queryverse/IterableTables.jl

Add Pair iterator sink to TimeSeries

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.