pbeshai / tidy

Tidy up your data with JavaScript, inspired by dplyr and the tidyverse

Home Page:https://pbeshai.github.io/tidy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leftJoin followed by select everything has unexpected dropped columns

pbeshai opened this issue · comments

Example:

tidy(
  [{ a: 123, b: 345 }, { a: 452, b: 999}],
  leftJoin([{ a: 452, c: 456 }], { by: 'a' }),
  select(T.everything())
)
// output:
[{"a":123,"b":345},{"a":452,"b":999}]

// expected output: 
[{"a":123,"b":345,"c":undefined},{"a":452,"b":999,"c":456}]