Skip to content

False "allow.cartesian" error for a[!b] not-join #698

Closed

Description

@fedyakov

The following code:

a = data.table(v=c(1, 1), key="v")
b = data.table(v=c(1, 1), key="v")
a[!b]

raises error with wording "Join results in 4 rows; more than 2 = max(nrow(x),nrow(i))." Actually, not-join cannot produce more rows than nrow(x). This test can be safely removed.

Activity

  1. added this to the v1.9.4 milestone on Jun 19, 2014
  2. removed this from the v1.9.4 milestone on Jun 26, 2014
  3. added this to the v1.9.4 milestone on Jul 27, 2014
  4. rsaporta commented on Sep 30, 2014

    @rsaporta
    Contributor

    It looks like the error in #800/#837 is right where "[.data.table" references this issue

    if(mult=="all"){ if(!byjoin) ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions