Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Can't find join_keys between indirectly linked datasets

Aperta
#384 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@gogonzo ci sta già lavorando.

Dal 17/10/2025.

  • #385 di @gogonzo — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug core
What happened?

join_keys with correct parent-child relationships are not easy to design, especially by the inexperienced developer. Indirectly linked datasets need to have the same parent. IMO this is to strict given that their implicit relationships are "indirect" anyway. Here is an example

Image
jk <- join_keys(
  join_key("customers", keys = "id"),
  join_key("orders", keys = c("id")),
  join_key("products", keys = c("id")),
  join_key("product_components", keys = c("id")),
  join_key("customers", "orders", keys = c(id = "customer_id")),
  join_key("orders", "order_items", keys = c(id = "order_id")),
  join_key("order_items", "products", keys = c(product_id = "id")),  # no common parent
  #join_key("products", "order_items", keys = c(id = "product_id")), # is common parent
  join_key("products", "product_components", keys = c(id = "product_id"))
)

jk["order_items", "product_components"]
# NULL

I propose this change to make it easier for app developer as I couldn't figure out what is the problem with above join keys setup myself.

Lingua principale
R
Stelle
11
Fork
9
Merge medio
6g 2h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di insightsengineering/teal.data

Tutte le issue di insightsengineering/teal.data

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.