yyy1000 commented on code in PR #9542:
URL: https://github.com/apache/arrow-datafusion/pull/9542#discussion_r1519059686
##########
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")) |
Review Comment:
I think it returns the nano second as the result?
If it returns IntervalYearMonth the result will be 1, but now Interval will
always return `IntervalMonthDayNano`.
See #5801
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]