Skip to content

Support lambdas in json_merge function #17284

@abhishekagarwal87

Description

@abhishekagarwal87

Description

The json_merge function would retain the rightmost key when the leaf elements have the same key. However, in some cases, you may want to aggregate the two results e.g. adding, multiplying, etc. If we can pass a lambda as an argument inside json_merge, we need not write custom json functions for doing such aggregations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions