Skip to content

transform_vec doesn't replace existing column #46

@xiaodaigh

Description

@xiaodaigh

See MWE:

t = JuliaDB.table((a = [1,2, missing, 4, missing],))
t = @transform_vec t {a = coalesce(:a, 2)}

a is not replaced, but the below is fine, the new column b is created automatically.

t = JuliaDB.table((a = [1,2, missing, 4, missing],))
t = @transform_vec t {b = coalesce(:a, 2)}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions