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

Remove unused code #2901

Merged
merged 2 commits into from
Oct 2, 2023
Merged

Remove unused code #2901

merged 2 commits into from
Oct 2, 2023

Conversation

guizmaii
Copy link
Member

Found this thanks to research done in #2886

@guizmaii guizmaii mentioned this pull request Sep 30, 2023
Comment on lines -193 to -199
val innerContext =
input match {
case _: Map =>
nest(source(input, id.name))
case _ =>
base(input, id.name, nestNextMap)
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deusaquilus Isn't it weird that this code was here but unused? Could this be a bug: this code should be used in the result? Or is it just dead code we can remove?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think at some point I needed to check whether input of a groupBy.map(...) is another map i.e. x.map.groupBy.map and do a forced nesting but then the nestNextMap took care of that on a higher level.

@guizmaii guizmaii merged commit 0c450ff into master Oct 2, 2023
12 checks passed
@guizmaii guizmaii deleted the clean_4 branch October 2, 2023 05:31
jilen pushed a commit that referenced this pull request Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants