You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -488,6 +494,7 @@ expr_fn!(chr, arg, "Returns the character with the given code.");
488
494
expr_fn_vec!(coalesce);
489
495
expr_fn!(cos, num);
490
496
expr_fn!(cosh, num);
497
+
expr_fn!(cot, num);
491
498
expr_fn!(degrees, num);
492
499
expr_fn!(decode, input encoding);
493
500
expr_fn!(encode, input encoding);
@@ -499,6 +506,7 @@ expr_fn!(gcd, x y);
499
506
expr_fn!(initcap, string,"Converts the first letter of each word to upper case and the rest to lower case. Words are sequences of alphanumeric characters separated by non-alphanumeric characters.");
500
507
expr_fn!(isnan, num);
501
508
expr_fn!(iszero, num);
509
+
expr_fn!(levenshtein, string1 string2);
502
510
expr_fn!(lcm, x y);
503
511
expr_fn!(left, string n,"Returns first n characters in the string, or when n is negative, returns all but last |n| characters.");
504
512
expr_fn!(ln, num);
@@ -555,7 +563,9 @@ expr_fn!(sqrt, num);
555
563
expr_fn!(starts_with, string prefix,"Returns true if string starts with prefix.");
556
564
expr_fn!(strpos, string substring,"Returns starting index of specified substring within string, or zero if it's not present. (Same as position(substring in string), but note the reversed argument order.)");
557
565
expr_fn!(substr, string position);
566
+
expr_fn!(substr_index, string delimiter count);
558
567
expr_fn!(substring, string position length);
568
+
expr_fn!(find_in_set, string string_list);
559
569
expr_fn!(tan, num);
560
570
expr_fn!(tanh, num);
561
571
expr_fn!(
@@ -568,13 +578,15 @@ expr_fn_vec!(to_timestamp);
568
578
expr_fn_vec!(to_timestamp_millis);
569
579
expr_fn_vec!(to_timestamp_micros);
570
580
expr_fn_vec!(to_timestamp_seconds);
581
+
expr_fn_vec!(to_unixtime);
571
582
expr_fn!(current_date);
572
583
expr_fn!(current_time);
573
584
expr_fn!(date_part, part date);
574
585
expr_fn!(datepart, date_part, part date);
575
586
expr_fn!(date_trunc, part date);
576
587
expr_fn!(datetrunc, date_trunc, part date);
577
588
expr_fn!(date_bin, stride source origin);
589
+
expr_fn!(make_date, year month day);
578
590
579
591
expr_fn!(translate, string from to,"Replaces each character in string that matches a character in the from set with the corresponding character in the to set. If from is longer than to, occurrences of the extra characters in from are deleted.");
580
592
expr_fn_vec!(trim,"Removes the longest string containing only characters in characters (a space by default) from the start, end, or both ends (BOTH is the default) of string.");
0 commit comments