提交 e0c8dfb0 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add INTERVAL data type to data type definition grammar

上级 898e8cd6
...@@ -2244,7 +2244,7 @@ intType | booleanType | tinyintType | smallintType | bigintType | identityType ...@@ -2244,7 +2244,7 @@ intType | booleanType | tinyintType | smallintType | bigintType | identityType
| decimalType | doubleType | realType | dateType | timeType | timestampType | decimalType | doubleType | realType | dateType | timeType | timestampType
| timestampWithTimeZoneType | binaryType | otherType | varcharType | timestampWithTimeZoneType | binaryType | otherType | varcharType
| varcharIgnorecaseType | charType | blobType | clobType | uuidType | varcharIgnorecaseType | charType | blobType | clobType | uuidType
| arrayType | enumType | arrayType | enumType | intervalType
"," ","
A data type definition. A data type definition.
"," ","
...@@ -3048,7 +3048,7 @@ and ""ResultSet.getObject(..)"" or ""ResultSet.getString(..)"" to retrieve the v ...@@ -3048,7 +3048,7 @@ and ""ResultSet.getObject(..)"" or ""ResultSet.getString(..)"" to retrieve the v
GEOMETRY GEOMETRY
" "
"Data Types","INTERVAL Types"," "Data Types","INTERVAL Type","
intervalYearType | intervalMonthType | intervalDayType intervalYearType | intervalMonthType | intervalDayType
| intervalHourType| intervalMinuteType | intervalSecondType | intervalHourType| intervalMinuteType | intervalSecondType
| intervalYearToMonthType | intervalDayToHourType | intervalYearToMonthType | intervalDayToHourType
...@@ -3056,8 +3056,8 @@ intervalYearType | intervalMonthType | intervalDayType ...@@ -3056,8 +3056,8 @@ intervalYearType | intervalMonthType | intervalDayType
| intervalHourToMinuteType | intervalHourToSecondType | intervalHourToMinuteType | intervalHourToSecondType
| intervalMinuteToSecondType | intervalMinuteToSecondType
"," ","
Interval data types. Interval data type.
There are two classes of intervals. Year-month intervals can store years or months. There are two classes of intervals. Year-month intervals can store years and months.
Day-time intervals can store days, hours, minutes, and seconds. Day-time intervals can store days, hours, minutes, and seconds.
Year-month intervals are comparable only with another year-month intervals. Year-month intervals are comparable only with another year-month intervals.
Day-time intervals are comparable only with another day-time intervals. Day-time intervals are comparable only with another day-time intervals.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论