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

Fix new columns names generation during split operation (#224) #240

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

ermolenkodev
Copy link
Contributor

  • Introduce a new scheme for the generation of columns names during split, which takes hierarchy into account

  • Add tests

* Introduce a new scheme for the generation of columns names during split, which takes hierarchy into account

* Add tests
): String {
// check if column with this name already exists in the df in the same position in the hierarchy,
// or we already have a column with this name in the list of columns to be inserted to the same position in the hierarchy
fun isUsed(name: String) =
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not very fond of inner functions, but you do reuse arguments from the outer function and it makes things more readable, so I think I'll let it slide :)

@Jolanrensen Jolanrensen added this to the 0.10.0 milestone Jan 25, 2023
@Jolanrensen Jolanrensen added enhancement New feature or request good first issue Good for newcomers invalid This doesn't seem right labels Jan 25, 2023
@ermolenkodev ermolenkodev merged commit a014fd5 into Kotlin:master Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants