Error in foverlaps(type='equal')

Open
#3,762 2 comments 0 reactions 1 assignee View on GitHub

@arunsrinivasan is already working on this.

Since Aug 12, 2019.

Assessment

This issue has not been assessed yet.

Description

bug non-equi joins

Trying out some tests for coverage of foverlaps(type='equal') and hit this:

x = CJ(start=1:10, end=1:10)[start<=end]
y = copy(x)[start>2L]
foverlaps(x, y, type='equal')

Error in foverlaps(x, y, type = "equal") :
Item 134 of i is -1073741824 and item 1 is 1. Cannot mix positives and negatives.

Actually the error itself is inconsistent, and the code even succeeds sometimes...

Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

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.

More from Rdatatable/data.table

All issues in Rdatatable/data.table

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.