queryverse / queryverse/Query.jl
Enable bulk selection of columns from multiple tables
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 403
- Forks
- 48
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 6
Description
After a join one can have multiple tables in the query, and might want to select all columns from all tables. The proposed syntax for this is:
@from i in table1 begin
@join j in table2 on i.a equals j.a
@select {i..., j...}
end
In order to implement this, we need a type stable merge function (blackrock/NamedTuples.jl#14), which is currently blocked by JuliaLang/julia#16806 on julia 0.5.
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 reviewing the proposed @select {i..., j...} syntax and the linked NamedTuples.jl#14 and JuliaLang/julia#16806 issues. Determine whether the required type-stable merge support is available before implementing bulk selection. Done means selecting columns from multiple joined tables works with the shown query form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100