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

[R-Forge #5756] Duplicate column naming after joins #471

Closed
arunsrinivasan opened this issue Jun 8, 2014 · 0 comments
Closed

[R-Forge #5756] Duplicate column naming after joins #471

arunsrinivasan opened this issue Jun 8, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@arunsrinivasan
Copy link
Member

Submitted by: Christian Sigg; Assigned to: Nobody; R-Forge link

It seems that duplicate column naming is broken in 1.9.3. It used to be that data.table appends counters to duplicate column names after joins. For example

A <- data.table(foo = 1:2, bar = 3:4)
setkey(A, foo)
A[A[A]]

resulted in columns foo, bar, bar.1 and bar.2. Now I get foo, bar, i.bar and i.bar (again), which prevents accessing the proper bar column by name in later queries. Is this intended behavior or a regression?

Thanks,
Christian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant