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

Cannot groupBy multiple unnamed expression columns #691

Open
Jolanrensen opened this issue May 6, 2024 · 0 comments
Open

Cannot groupBy multiple unnamed expression columns #691

Jolanrensen opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Jolanrensen
Copy link
Collaborator

Jolanrensen commented May 6, 2024

Cannot groupBy multiple unnamed expression columns:

dataFrameOf("a", "b")(1, 2)
    .groupBy { expr { "a"<Int>() + 1 } and expr { "b"<Int>() - 1 } }

results in an exception

Can not insert more than one column into the path []
java.lang.IllegalStateException: Can not insert more than one column into the path []

Seems that groupBy doesn't find unique names for unnamed columns, like DataFrameImpl.init does.

@Jolanrensen Jolanrensen added the bug Something isn't working label May 6, 2024
@Jolanrensen Jolanrensen added this to the Backlog milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant