Skip to content

transform.RemoveColumn returns nil error when column doesn't exist #292

@ajitpratap0

Description

@ajitpratap0

Description

transform.RemoveColumn("nonexistent") succeeds silently when the column doesn't exist in the query.

Reproduction

rule := transform.RemoveColumn("nonexistent")
result, err := transform.Apply("SELECT id, name FROM users", rule)
// err is nil, result unchanged

Expected

Return an error indicating the column was not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions