Skip to content

Apache DataFusion SQL Query Engine

fix doc (#9542)

Junhao Liud9278820d866
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