queryverse / queryverse/Query.jl

@join on columns of the same name

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

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
403
Forks
48
Avg merge
3d 6h
Merged PRs (30d)
6

Description

It would be neat if it wasn't necessary to repeat the name of the columns on which you are joining, when they are the same:

@join(foo, bar, _.joincolumn, _.joincolumn, {_.other, __.also})

Right now the macro seems to just go by the number of arguments, so omitting one tries to create a function for foo |> @join(bar, ... use, but perhaps it could look at what it gets before deciding?

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 by tracing the @join macro and its current argument-count handling, then reproduce the example with same-named join columns. Done means the abbreviated syntax works for those columns while existing @join forms continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.