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.
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.
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.
Provides an overview of basic functionality of g_functions in 1010data.
All g_functions contain an optional S parameter, or a selection column, to tell the g_function whether to include or exclude a row in its calculations.
S
g_avg(G;S;X)
Returns the average of values within a given group.
g_cnt(G;S)
Returns the number of rows within a given group.
g_dot(G;S;X;Y)
Returns the dot product of two sets of values within a given group.
g_hi(G;S;X)
Returns the highest value within a given group.
g_lo(G;S;X)
Returns the lowest value within a given group.
g_median(G;S;X)
Returns the median of values within a given group.
g_mode(G;S;X)
Returns the mode of values within a given group.
g_nacnt(G;S;X)
Returns the number of N/A values within a given group.
g_prod(G;S;X)
Returns the product of values within a given group.
g_sum(G;S;X)
Returns the sum of values within a given group.
g_ucnt(G;S;X)
Returns the number of distinct values within a given group.
g_uval(G;S;X;D;N)
Returns a concatenated list of distinct values within a given group.
g_valcnt(G;S;X)
Returns the number of valid (non-N/A) values within a given group.
g_wavg(G;S;X;Y)
Returns the weighted average of values within a given group.
Math functions are vector functions that perform mathematical operations on one or more columns and return a column of results based on the operation.
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.
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.