diff --git a/docs/source/user-guide/sql/scalar_functions.md b/docs/source/user-guide/sql/scalar_functions.md index e08524dcd3a7..14852935dca4 100644 --- a/docs/source/user-guide/sql/scalar_functions.md +++ b/docs/source/user-guide/sql/scalar_functions.md @@ -3917,6 +3917,7 @@ sha512(expression) - [arrow_cast](#arrow_cast) - [arrow_typeof](#arrow_typeof) +- [version](#version) ### `arrow_cast` @@ -3975,3 +3976,22 @@ arrow_typeof(expression) +---------------------------+------------------------+ 1 row in set. Query took 0.001 seconds. ``` + +### `version` + +Returns the version of DataFusion. + +``` +version() +``` + +#### Example + +``` +> select version(); ++--------------------------------------------+ +| version() | ++--------------------------------------------+ +| Apache DataFusion 41.0.0, aarch64 on macos | ++--------------------------------------------+ +```