Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unexpected] join operations on two data.tables yields a data.frame #470

Closed
ctbrown opened this issue Jun 19, 2014 · 0 comments
Closed

[unexpected] join operations on two data.tables yields a data.frame #470

ctbrown opened this issue Jun 19, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@ctbrown
Copy link

@ctbrown ctbrown commented Jun 19, 2014

Joining two data.table objects yield a data.frame.

 > class(milestone)
 [1] "data.table" "data.frame"
 > class(event)
[1] "data.table" "data.frame"
> class( inner_join( milestone, event ) )
Joining by: "parent_id"
[1] "data.frame"

I would expect that since both inputs are data.tables, the result would also be a data.table. It is probably a pretty is fix using is.data.table and setDT.

@ctbrown ctbrown changed the title [unexpected] join operations on data.tables yields data.frame [unexpected] join operations on two data.tables yields a data.frame Jun 19, 2014
@hadley hadley added the bug label Aug 1, 2014
@hadley hadley added this to the 0.3 milestone Aug 1, 2014
@hadley hadley self-assigned this Aug 1, 2014
@hadley hadley closed this in b978eeb Aug 1, 2014
krlmlr pushed a commit to krlmlr/dplyr that referenced this issue Mar 2, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants