JiajunBernoulli commented on code in PR #3472:
URL: https://github.com/apache/calcite/pull/3472#discussion_r1375182050
##########
site/_docs/reference.md:
##########
@@ -1157,9 +1157,10 @@ name will have been converted to upper case also.
| INTEGER, INT | 4 byte signed integer | Range is -2147483648 to 2147483647
| BIGINT | 8 byte signed integer | Range is -9223372036854775808 to
9223372036854775807
| DECIMAL(p, s) | Fixed point | Example: 123.45 or DECIMAL
'123.45' is a DECIMAL(5, 2) value.
-| NUMERIC | Fixed point |
-| REAL, FLOAT | 4 byte floating point | 6 decimal digits precision
-| DOUBLE | 8 byte floating point | 15 decimal digits precision
+| NUMERIC(p, s) | Fixed point | A synonym for DECIMAL
+| REAL | 4 byte floating point | 6 decimal digits precision;
examples: CAST(1.2 AS REAL), CAST('Infinity' AS REAL)
+| DOUBLE | 8 byte floating point | 15 decimal digits precision;
examples: 1.4E2, CAST('-Infinity' AS DOUBLE), CAST('NaN' AS DOUBLE)
+| FLOAT | 8 byte floating point | A synonym for DOUBLE
Review Comment:
Sorry, what I missed?
I don't know why FLOAT is a synonym for DOUBLE.
--
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]