Skip to content

Move/Insert after nested column breaks #1056

Open
@Jolanrensen

Description

To reproduce:

val df = dataFrameOf("a", "b", "c")(1, 2, 3, 4, 5, 6)
val grouped = df.group { a and b and c }.into("g")

grouped.insert("d") { g.b  * g.c }.after { g.b }
// or
grouped.move { g.a }.after { g.b }

Image

The problem lies with move, as insert calls move as part of its implementation.

We should either prohibit this behavior with a helpful exception or fix the behavior.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions