1010data Insights Platform offers a rich set of functions that may be used in value expressions when creating computed columns and in selection expressions when performing row selections.
Categorization functions are vector functions that organize data and determine logical groupings. These functions can be used for conditionalizing results and/or bucketing value ranges.
1010data provides a whole range of functions that can provide information and act on your data.
The time/date functions are vector functions that operate on columns containing time-related data and return specific information about the date/time for each row.
Group functions, or g_functions, are used to perform operations, such as summarizations, on rows that have the same values in a set of given columns.
Math functions are vector functions that perform mathematical operations on one or more columns and return a column of results based on the operation.
case(X;V1;R1;V2;R2;...;D)
Returns the value corresponding to the case that a given value matches; if no cases match, returns the specified default value.
decode(X;V1 V2 ...;R1 R2 ... RD)
Returns the value from the second list that corresponds to the particular element a given value matches in the first list; if there are no matches, returns the specified default value.
g_and(G;S;X)
Returns a boolean value indicating whether all values within a given group are true.
g_cumand(G;S;O;X)
Returns a boolean value indicating whether all values up to and including a particular row within a given group are true.
g_cumor(G;S;O;X)
Returns a boolean value indicating whether any value up to and including a particular row within a given group is true.
g_or(G;S;X)
Returns a boolean value indicating whether any value within a given group is true.
if(C1;R1;C2;R2;...;D)
Returns the value corresponding to the first condition that evaluates to true; if no conditions are true, it returns the specified default value.
iff(C1;R1;C2;R2;...;D)
Returns the value corresponding to the first condition that evaluates to true; if no conditions are true, it returns the specified default value. (Available as of version 18.40)
ifinf(X;Y)
Returns a specified value when the value in a given column is an infinite value.
ifnull(X;Y)
Returns a specified value when the value in a given column is N/A.
nullif(X;Y)
Returns N/A if the two given values match.
nullinf(X)
Returns N/A if the given value is an infinite value.
rep(X;L)
Returns the value paired up with the first item in a specified list that matches the given value.
String functions are vector functions that manipulate vectors of strings to provide information about a string or substring, concatenate and split strings, or transform strings based on specified criteria.
List functions are scalar functions that return lists, subsets of lists, and combinations of lists, among other functionality. Lists, along with packages, are compound scalar data types that facilitate programmatic interaction with scalar data values and variables.
Data-handling functions are vector functions that return a hash value based on an input column or columns.
Row functions are vector functions that return computational outputs for row inputs, as opposed to column outputs. Row inputs are defined as a space- or comma-separated list of column names.
SQL compatibility functions are functions that treat null values as SQL nulls.
System functions are special functions in 1010data that return information about users, tables, and other system objects.
The object functions can be used to check the existence, type, and accessibility of objects such as folders, tables, and queries on the 1010data Insights Platform.
This category of functions contains special functions that don't neatly fit into other categories of functions.