Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

superfuse

compute a complete fused type of input values

Synopsis

superfuse(any) -> type

Description

The superfuse aggregate function applies type fusion to its input and returns the fused type. A superfused type differs from a fused type as it includes fusion types in the nested type hierarchy wherever type changes were made to combine types in the type fusion process.

Examples

Superfuse two records:

# spq
superfuse(this)
# input
{a:1,b:2}
{a:2,b:"foo"}
# expected output
<{a:int64,b:fusion(int64|string)}>