Skip to contents

Extract the named entry from the STRUCT.

Usage

struct_extract(struct, entry)

Arguments

struct

STRUCT

entry

VARCHAR | BIGINT

Value

ANY

SQL examples

struct_extract({'i': 3, 'v2': 3, 'v3': 0}, 'i')