1
1
function_type,name,return_type,param_names,param_types,description
2
- aggregate,countif,int,,boolean,"Counts the rows where a condition is true."
3
- aggregate,corr,float,,"float,float","Calculates the correlation coefficient of a set of numbers."
4
- aggregate,covar_pop,float,,"float,float","Calculates the population covariance of a set of numbers."
5
- aggregate,covar_samp,float,,"float,float","Calculates the sample covariance of a set of numbers."
6
- aggregate,stddev_pop,float,,"float","Calculates the population standard deviation of a set of numbers."
7
- aggregate,stddev_samp,float,,"float","Calculates the sample standard deviation of a set of numbers."
8
- aggregate,var_pop,float,,"float","Calculates the population variance of a set of numbers."
9
- aggregate,bit_and,int,,"int","Returns the bitwise AND of non-NULL input values."
10
- aggregate,bit_or,int,,"int","Returns the bitwise OR of non-NULL input values."
11
- aggregate,bit_xor,int,,"int","Returns the bitwise XOR of non-NULL input values."
12
- aggregate,any_value,any,,"any","Returns any arbitrary value from the input values."
13
- aggregate,array_agg,array,,"any","Aggregates values into an array."
14
- aggregate,string_agg,text,,"text,text","Aggregates string values with a delimiter."
15
- aggregate,count,int,,"any","Counts the number of rows."
16
- aggregate,max,any,,"any","Returns the maximum value."
17
- aggregate,min,any,,"any","Returns the minimum value."
18
- aggregate,sum,any,,"any","Returns the sum of values."
19
- aggregate,avg,float,,"int","Returns the average of values."
20
- scalar,acos,float,,"float","Returns the arccosine of a number."
21
- scalar,asin,float,,"float","Returns the arcsine of a number."
22
- scalar,atan,float,,"float","Returns the arctangent of a number."
23
- scalar,atan2,float,,"float,float","Returns the arctangent of two numbers."
24
- scalar,cos,float,,"float","Returns the cosine of a number."
25
- scalar,cosh,float,,"float","Returns the hyperbolic cosine of a number."
26
- scalar,sin,float,,"float","Returns the sine of a number."
27
- scalar,sinh,float,,"float","Returns the hyperbolic sine of a number."
28
- scalar,tan,float,,"float","Returns the tangent of a number."
29
- scalar,tanh,float,,"float","Returns the hyperbolic tangent of a number."
30
- scalar,greatest,any,,"any","Returns the greatest value in a list of expressions."
31
- scalar,least,any,,"any","Returns the least value in a list of expressions."
2
+ aggregate,countif,int64,,boolean,"Counts the rows where a condition is true."
3
+ aggregate,any_value,same_as_input,,"any","Returns any arbitrary value from the input values."
32
4
scalar,format,text,,"text","Formats values into a string."
33
- scalar,lpad,text,,"text,int","Pads a string on the left to a certain length."
34
- scalar,rpad,text,,"text,int","Pads a string on the right to a certain length."
35
- scalar,left,text,,"text,int","Returns a substring from the beginning of a string."
36
- scalar,right,text,,"text,int","Returns a substring from the end of a string."
37
- scalar,array_length,int,,"array","Returns the length of an array."
38
- scalar,array_reverse,array,,"array","Reverses the elements in an array."
39
- scalar,array_concat,array,,"array,array","Concatenates multiple arrays into one."
40
- scalar,array_to_string,text,,"array<string>,text","Converts an array to a single string."
41
5
scalar,safe_divide,float,,"float,float","Divides two numbers, returning NULL if the divisor is zero."
42
6
scalar,safe_multiply,float,,"float,float","Multiplies two numbers, returning NULL if an overflow occurs."
43
7
scalar,safe_add,float,,"float,float","Adds two numbers, returning NULL if an overflow occurs."
44
8
scalar,safe_subtract,float,,"float,float","Subtracts two numbers, returning NULL if an overflow occurs."
45
- scalar,abs,float,,"float","Returns the absolute value of a number."
46
- scalar,floor,int,,"float","Rounds down to the nearest integer."
47
- scalar,current_date,date,,"","Returns the current date."
48
9
scalar,current_datetime,timestamp,,"","Returns current date and time."
49
- scalar,date_add,date,,"date,int ","Adds a number of day to a date."
10
+ scalar,date_add,date,,"date,int64 ","Adds a number of day to a date."
50
11
scalar,date_sub,date,,"date,interval","Subtracts a specified interval from a date."
51
- scalar,date_diff,int,,"date,date,granularity","Returns the difference between two dates."
52
- scalar,date_trunc,date,,"date,granularity","Truncates a date to a specified granularity."
12
+ scalar,date_diff,int64,,"date,date,granularity","Returns the difference between two dates."
53
13
scalar,timestamp_add,timestamp,,"timestamp,granularity","Adds a specified interval to a timestamp."
54
14
scalar,timestamp_sub,timestamp,,"timestamp,granularity","Subtracts a specified interval from a timestamp."
55
- scalar,timestamp_diff,int ,,"timestamp,timestamp,granularity","Returns the difference between two timestamps."
15
+ scalar,timestamp_diff,int64 ,,"timestamp,timestamp,granularity","Returns the difference between two timestamps."
56
16
scalar,timestamp_trunc,timestamp,,"timestamp,granularity","Truncates a timestamp to a specified granularity."
57
- scalar,timestamp_micros,timestamp,,"int ","Converts the number of microseconds since 1970-01-01 00:00:00 UTC to a TIMESTAMP."
58
- scalar,timestamp_millis,timestamp,,"int ","Converts the number of milliseconds since 1970-01-01 00:00:00 UTC to a TIMESTAMP."
59
- scalar,timestamp_seconds,timestamp,,"int ","Converts the number of seconds since 1970-01-01 00:00:00 UTC to a TIMESTAMP."
17
+ scalar,timestamp_micros,timestamp,,"int64 ","Converts the number of microseconds since 1970-01-01 00:00:00 UTC to a TIMESTAMP."
18
+ scalar,timestamp_millis,timestamp,,"int64 ","Converts the number of milliseconds since 1970-01-01 00:00:00 UTC to a TIMESTAMP."
19
+ scalar,timestamp_seconds,timestamp,,"int64 ","Converts the number of seconds since 1970-01-01 00:00:00 UTC to a TIMESTAMP."
60
20
scalar,format_date,string,,"string,date","Formats a date according to the specified format string."
61
21
scalar,format_timestamp,string,,"string,timestamp","Formats a timestamp according to the specified format string."
62
22
scalar,parse_date,date,,"text,text","Parses a date from a string."
@@ -67,14 +27,9 @@ scalar,json_query_array,array,,"json,text","Extracts a JSON array from a JSON st
67
27
scalar,json_value_array,array,,"json,text","Extracts an array of scalar JSON values as strings."
68
28
scalar,lax_bool,boolean,,"any","Converts a value to boolean with relaxed type checking."
69
29
scalar,lax_float64,float,,"any","Converts a value to float with relaxed type checking."
70
- scalar,lax_int64,int ,,"any","Converts a value to int with relaxed type checking."
30
+ scalar,lax_int64,int64 ,,"any","Converts a value to int with relaxed type checking."
71
31
scalar,lax_string,text,,"any","Converts a value to text with relaxed type checking."
72
32
scalar,bool,boolean,,"any","Converts a JSON value to SQL boolean type."
73
33
scalar,float64,float,,"any","Converts a JSON value to SQL float type."
74
- scalar,int64,int ,,"any","Converts a JSON value to SQL int type."
34
+ scalar,int64,int64 ,,"any","Converts a JSON value to SQL int type."
75
35
scalar,string,text,,"any","Converts a JSON value to SQL text type."
76
- window,cume_dist,float,,"","Gets the cumulative distribution (relative position (0,1]) of each row within a window."
77
- window,dense_rank,int,,"","Gets the dense rank (1-based, no gaps) of each row within a window."
78
- window,percent_rank,float,,"","Gets the percentile rank (from 0 to 1) of each row within a window."
79
- window,rank,int,,"","Gets the rank (1-based) of each row within a window."
80
- window,row_number,int,,"","Gets the sequential row number (1-based) of each row within a window."
0 commit comments