This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new d9278820d8 fix doc (#9542)
d9278820d8 is described below
commit d9278820d8669cb0db43d4bfaa22f8f29f9584d6
Author: Junhao Liu <[email protected]>
AuthorDate: Mon Mar 11 11:52:22 2024 -0600
fix doc (#9542)
---
docs/source/user-guide/sql/data_types.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/source/user-guide/sql/data_types.md
b/docs/source/user-guide/sql/data_types.md
index 9f99d7bcb8..bfbd3433f1 100644
--- a/docs/source/user-guide/sql/data_types.md
+++ b/docs/source/user-guide/sql/data_types.md
@@ -30,11 +30,11 @@ the `arrow_typeof` function. For example:
```sql
select arrow_typeof(interval '1 month');
-+-------------------------------------+
-| arrowtypeof(IntervalYearMonth("1")) |
-+-------------------------------------+
-| Interval(YearMonth) |
-+-------------------------------------+
++---------------------------------------------------------------------+
+| arrow_typeof(IntervalMonthDayNano("79228162514264337593543950336")) |
++---------------------------------------------------------------------+
+| Interval(MonthDayNano) |
++---------------------------------------------------------------------+
```
You can cast a SQL expression to a specific Arrow type using the `arrow_cast`
function