Skip to content

add aggregations #10

@edwindj

Description

@edwindj

The UPDATE clause needs to be expanded to support assignment of aggregations:
So

if (is.na(age)) age = mean(age, na.rm=TRUE)

translates into:

UPDATE person
SET age = u.age
FROM
(SELECT id,AVG(age) OVER () as age FROM person) AS u
WHERE person.age is NULL AND person.id = u.id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions