Skip to content

Conversation

koperagen
Copy link
Collaborator

@koperagen koperagen commented Oct 3, 2025

Fixes #1465
Btw i think strict ktlint_standard_function-expression-body rule is unnecessary, functions with return and with expression body can be a preference and coexist. At least for me this rule ALWAYS fails and forces me to rewrite

@koperagen koperagen added this to the 1.0.0-Beta4 milestone Oct 3, 2025
@koperagen koperagen self-assigned this Oct 3, 2025
@koperagen koperagen added the bug Something isn't working label Oct 3, 2025
Copy link
Collaborator

@AndreiKingsley AndreiKingsley left a comment

Choose a reason for hiding this comment

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

Great, this logic is now really clear!
But please add a KDoc - or at least a comment for now, - to clearly define the behavior of toDataFrame; it's not actually trivial.

val childCol = df[Entry::child]
childCol.kind() shouldBe ColumnKind.Group
childCol.asColumnGroup().columnsCount() shouldBe 0
childCol.kind() shouldBe ColumnKind.Value
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, that was weird, didn't know!

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

Successfully merging this pull request may close these issues.

Fix all issues with toDataFrame in the library and compiler plugin
2 participants