-
Notifications
You must be signed in to change notification settings - Fork 72
Deprecate predicate argument in single, colsInGroups, colsAtAnyDepth #1176
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
Conversation
97204c3
to
5887f8b
Compare
5887f8b
to
a112e5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall meaningful changes that will help push users to functions that the compiler plugin can help with :)
see my comments for things that missing still
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar DSL still contains predicates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is in all files I see, please try to rewrite those, and fix it in ColumnsSelectionDsl.kt as well. Let me know if you need help :)
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/colsAtAnyDepth.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/colsInGroups.kt
Outdated
Show resolved
Hide resolved
core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/single.kt
Outdated
Show resolved
Hide resolved
@Jolanrensen i'll be absent for a few weeks, maybe you could take over this PR? I found where i missed conditions in grammar, but couldn't finish today |
# Conflicts: # core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Access.kt
While removing all predicates from the dsl grammers, I'll also collect all deprecation messages into the deprecation.kt file, as is our convention. |
As we discussed, predicate makes compiler plugin support of these functions unreliable. Deprecation suggests to use filter, updates some examples to use nameStartsWith