Skip to content

Commit

Permalink
add scalar_functions.md entry
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Sep 12, 2024
1 parent 5db0be7 commit 22af3a6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/source/user-guide/sql/scalar_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3917,6 +3917,7 @@ sha512(expression)

- [arrow_cast](#arrow_cast)
- [arrow_typeof](#arrow_typeof)
- [version](#version)

### `arrow_cast`

Expand Down Expand Up @@ -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 |
+--------------------------------------------+
```

0 comments on commit 22af3a6

Please sign in to comment.