Skip to content

Commit

Permalink
Refine doc
Browse files Browse the repository at this point in the history
  • Loading branch information
herunkang2018 committed Oct 30, 2023
1 parent 99ffd9e commit 0dfb762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/_docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2771,7 +2771,7 @@ BigQuery's type system uses confusingly different names for types and functions:
| m | TO_BASE64(string) | Converts the *string* to base-64 encoded form and returns a encoded string
| b m | FROM_BASE64(string) | Returns the decoded result of a base-64 *string* as a string
| b | TO_HEX(binary) | Converts *binary* into a hexadecimal varchar
| b | FROM_HEX(varchar) | Converts a hexadecimal-encoded *varchar* into bytes, throws exception if input is invalid hexadecimal-encoded *varchar*
| b | FROM_HEX(string) | Converts a hexadecimal-encoded *string* into bytes; throws if *string* is not a valid hexadecimal string
| b o | LTRIM(string) | Returns *string* with all blanks removed from the start
| s | MAP_CONCAT(map [, map]*) | Concatenates one or more maps. If any input argument is `NULL` the function returns `NULL`. Note that calcite is using the LAST_WIN strategy
| s | MAP_ENTRIES(map) | Returns the entries of the *map* as an array, the order of the entries is not defined
Expand Down Expand Up @@ -2855,7 +2855,7 @@ BigQuery's type system uses confusingly different names for types and functions:
| b o p | TRANSLATE(expr, fromString, toString) | Returns *expr* with all occurrences of each character in *fromString* replaced by its corresponding character in *toString*. Characters in *expr* that are not in *fromString* are not replaced
| b | TRUNC(numeric1 [, numeric2 ]) | Truncates *numeric1* to optionally *numeric2* (if not specified 0) places right to the decimal point
| q | TRY_CAST(value AS type) | Converts *value* to *type*, returning NULL if conversion fails
| h s | UNHEX(string) | Converts a hexadecimal-encoded *string* into bytes; throws if *string* is not a valid hexadecimal string
| h s | UNHEX(string) | Converts a hexadecimal-encoded *string* into bytes; returns NULL if *string* is not a valid hexadecimal string
| b | UNIX_MICROS(timestamp) | Returns the number of microseconds since 1970-01-01 00:00:00
| b | UNIX_MILLIS(timestamp) | Returns the number of milliseconds since 1970-01-01 00:00:00
| b | UNIX_SECONDS(timestamp) | Returns the number of seconds since 1970-01-01 00:00:00
Expand Down

0 comments on commit 0dfb762

Please sign in to comment.