|
|
static constexpr const char * | Name = "remap_struct" |
|
static constexpr const char * | Parameters = "input,target_type,mapping,defaults" |
|
static constexpr const char * | Description = "Map a struct to another struct type, potentially re-ordering, renaming and casting members and filling in defaults for missing values" |
|
static constexpr const char * | Example = "remap_struct({'i': 1, 'j': 2}, NULL::ROW(v1 INT, v2 INT, v3 INT), {'v1': 'j', 'v3': 'i'}, {'v2': NULL::INTEGER})" |
|
static constexpr const char * | Categories = "" |
◆ GetFunction()
236350 {
236351 ScalarFunction
remap(
"remap_struct",
236352 {LogicalTypeId::ANY, LogicalTypeId::ANY, LogicalTypeId::ANY, LogicalTypeId::ANY},
236353 LogicalTypeId::ANY, RemapStructFunction, RemapStructBind);
236354 remap.SetNullHandling(FunctionNullHandling::SPECIAL_HANDLING);
236356}
The documentation for this struct was generated from the following file: