Skip to content

Commit

Permalink
fix doc (#9542)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyy1000 authored Mar 11, 2024
1 parent 44936ef commit d927882
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/source/user-guide/sql/data_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d927882

Please sign in to comment.