This is an automated email from the ASF dual-hosted git repository.
dkuzmenko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hive-site.git
The following commit(s) were added to refs/heads/main by this push:
new 4d9a300 HIVE-28425: Document CAST FORMAT function in the wiki (#69)
4d9a300 is described below
commit 4d9a300e0ee3cf67165dc401cba02773184af2b1
Author: Michael Akinyemi <[email protected]>
AuthorDate: Fri Oct 31 13:11:54 2025 -0400
HIVE-28425: Document CAST FORMAT function in the wiki (#69)
---
content/docs/latest/language/hive-udfs.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/docs/latest/language/hive-udfs.md
b/content/docs/latest/language/hive-udfs.md
index 5c7e742..d4d4188 100644
--- a/content/docs/latest/language/hive-udfs.md
+++ b/content/docs/latest/language/hive-udfs.md
@@ -267,7 +267,7 @@ The following built-in type conversion functions are
supported in Hive.
| Return Type | Name(Signature) | Description | Source code |
| --- | --- | --- | --- |
| **binary** | ``` binary(string\|binary) ``` | Casts the parameter into a
binary. |
[GenericUDFBaseBinary](https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBaseBinary.java)
|
-| **Expected "=" to follow "type"** | ``` cast(expr as <type>) ``` | Converts
the results of the expression expr to \<type\>. For example, cast('1' as
bigint) will convert the string '1' to its integral representation. A null is
returned if the conversion does not succeed. If cast(expr as boolean) Hive
returns true for a non-empty string. | |
+| **Expected "=" to follow "type"** | ``` cast(expr as <type>) ``` | Converts
the results of the expression expr to \<type\>. For example, cast('1' as
bigint) will convert the string '1' to its integral representation. A null is
returned if the conversion does not succeed. If cast(expr as boolean) Hive
returns true for a non-empty string. |
[GenericUDFCastFormat](https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFCastFormat.java)
|
### Conditional Functions