queryverse / queryverse/IterableTables.jl
Add Pair iterator sink to IndexedTables
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 79
- Forks
- 9
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 2
Description
The IndexedTable sink should accept iterator of Pairs of NamedTuples, and then use the columns from the key as index columns 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, i.d}
@collect IndexedTable
end
Here the index columns would be a and b, and the data columns c and d.
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 by locating the IndexedTable sink and the code handling collected iterator results. Use the provided Julia query as the behavior example: Pair keys should become index columns and Pair values should become data columns, with NamedTuple field names preserved. Add coverage for this query and verify the resulting table has index columns a and b and data columns c and d.
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