Skip to content

[Query engine] Auto inject generated unique ID into omnisharded queries #711

@levkk

Description

@levkk

Description

Automatically inject pgdog.unique_id() (and value) into queries that insert into omnisharded tables but don't provide the identifier value, e.g.:

INSERT INTO omnisharded (value) VALUES ('test');
-- rewrite to
INSERT INTO omnisharded (id, value) VALUES (pgdog.unique_id(), 'test');

Metadata

Metadata

Assignees

No one assigned

    Labels

    bleeding edgeExciting new frontier stuff.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions