-
Notifications
You must be signed in to change notification settings - Fork 29.3k
[MINOR][DOC] Fix the CalendarIntervalType description #26659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,11 +22,14 @@ import org.apache.spark.unsafe.types.CalendarInterval | |
|
|
||
| /** | ||
| * The data type representing calendar time intervals. The calendar time interval is stored | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. calendar time intervals . It is arguable but it can represent date interval too. |
||
| * internally in two components: number of months the number of microseconds. | ||
| * internally in three components: | ||
| * the number of months | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should say explicitly that the numbers can be positive as well as negative |
||
| * the number of days | ||
| * the number of microseconds. | ||
| * | ||
| * Please use the singleton `DataTypes.CalendarIntervalType`. | ||
| * Please use the singleton `DataTypes.CalendarIntervalType` to refer the type. | ||
| * | ||
| * @note Calendar intervals are not comparable. | ||
| * @note Calendar intervals support comparison and ordering since 3.0.0. | ||
| * | ||
| * @since 1.5.0 | ||
| */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
representing->represents? @srowen Doesrepresentingsound good for you?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
representing sounds right. "[This class is] The data type representing ..."