Spectre Data Types

Spectre uses a typed language. Each data column or variable needs to be defined as a certain type. When specifying columns for a build, writing expressions, or setting variables, be aware of the different data types expected by Spectre. Likewise, Spectre expressions evaluate to one of these types, so be sure the final function used returns the desired data type. Be particularly careful when specifying the type for numeric data—be sure to choose a numeric type that is always going to work. Spectre is strict about type, in a way that the Data Integrator is not. The types in Spectre make operations faster.

See also: