Special data types

TypeDescription
CallableA callable value that can be executed by passing arguments in parentheses in YQL SQL syntax.
ResourceResource is an opaque pointer to a resource you can pass between the user defined functions (UDF). The type of the returned and accepted resource is declared inside a function using a string label. When passing a resource, YQL checks for label matching to prevent passing of resources between incompatible functions. If the labels mismatch, a type error occurs.
TaggedTagged is the option to assign an application name to any other type.
GenericThe data type used for data types.
UnitUnit is the data type used for non-enumerable entities (data sources and data sinks, atoms, etc. ).
NullVoid is a singular data type with the only possible null value. It’s the type of the NULL literal and can be converted to any Optional type.
VoidVoid is a singular data type with the only possible “null” value.
EmptyListA singular data type with the only possible [] value. It’s the type of the [] literal and can be converted to any List type.
EmptyDictA singular data type with the only possible {} value. It’s a type of the {} literal and can be converted to any Dict or Set type.