Skip to content

Non-equi joins are allow.cartesian = TRUE#4493

Merged
mattdowle merged 8 commits intomasterfrom
non_equi_always_cartesian
Jun 2, 2020
Merged

Non-equi joins are allow.cartesian = TRUE#4493
mattdowle merged 8 commits intomasterfrom
non_equi_always_cartesian

Conversation

@ColeMiller1
Copy link
Copy Markdown
Contributor

@ColeMiller1 ColeMiller1 commented May 25, 2020

Close #4489

If any non-equi joins are detected c(">", ">=", "<", "<=", "!="), allow.cartesian is set to TRUE per Arun's suggestion. Debated including warning about this allow.cartesian change but for non-equi joins it seems like users should expect a one to many join.

Comment thread NEWS.md Outdated
Comment thread inst/tests/tests.Rraw Outdated
@codecov
Copy link
Copy Markdown

codecov bot commented May 26, 2020

Codecov Report

Merging #4493 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4493   +/-   ##
=======================================
  Coverage   99.60%   99.60%           
=======================================
  Files          72       72           
  Lines       13968    13970    +2     
=======================================
+ Hits        13913    13915    +2     
  Misses         55       55           
Impacted Files Coverage Δ
R/data.table.R 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 738289d...2116cbf. Read the comment docs.

@mattdowle mattdowle added this to the 1.12.9 milestone Jun 2, 2020
@mattdowle mattdowle merged commit 3feb33b into master Jun 2, 2020
@mattdowle mattdowle deleted the non_equi_always_cartesian branch June 2, 2020 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

non-equi join with .EACHI fails unexpectedly (seemingly related to values in join columns)

3 participants