Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.9.0
-
None
Description
We need to change INTERVALYEAR to INTERVAL YEAR and INTERVALDAY to INTERVAL DAY, in our online documentation.
https://drill.apache.org/docs/date-time-and-timestamp/
Under the INTERVAL section on the above page, we need to fix these typos
current sentence => The INTERVALYEAR and INTERVALDAY internal types represent a period of time. The INTERVALYEAR type specifies values from a year to a month. The INTERVALDAY type specifies values from a day to seconds. correct sentence => The INTERVAL YEAR and INTERVAL DAY internal types represent a period of time. The INTERVAL YEAR type specifies values from a year to a month. The INTERVAL DAY type specifies values from a day to seconds.
Under the Interval in Data Source, section
current sentence => For example, to use interval data in a JSON file, cast the JSON data, which is of the VARCHAR type, to INTERVALYEAR and INTERVALDAY using the following ISO 8601 syntax: correct sentence => For example, to use interval data in a JSON file, cast the JSON data, which is of the VARCHAR type, to INTERVAL YEAR and INTERVAL DAY using the following ISO 8601 syntax: