Skip to content

Add REPLACE(str, from, to) scalar function #67

Closed

Description

@melihbirim

Replace all occurrences of a substring. REPLACE(phone, '-', '').

Scope: follow the existing scalar functions in src/scalar.zig (see UPPER/TRIM). Parse in src/parser.zig, evaluate per-row into the scalar arena.

Done when: works in SELECT, three string args, empty to deletes, tested. std.mem.replace does the heavy lifting.

Activity

  1. added a commit that references this issue on Jul 25, 2026
    b296091
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions