vogievetsky commented on code in PR #13466:
URL: https://github.com/apache/druid/pull/13466#discussion_r1050219714
##########
docs/querying/sql-data-types.md:
##########
@@ -40,14 +40,17 @@ milliseconds since 1970-01-01 00:00:00 UTC, not counting
leap seconds. Therefore
timezone information, but only carry information about the exact moment in
time they represent. See the
[Time functions](sql-scalar.md#date-and-time-functions) section for more
information about timestamp handling.
-The following table describes how Druid maps SQL types onto native types at
query runtime. Casts between two SQL types
-that have the same Druid runtime type will have no effect, other than
exceptions noted in the table. Casts between two
-SQL types that have different Druid runtime types will generate a runtime cast
in Druid. If a value cannot be properly
-cast to another value, as in `CAST('foo' AS BIGINT)`, the runtime will
substitute a default value. NULL values cast
-to non-nullable types will also be substituted with a default value (for
example, nulls cast to numbers will be
-converted to zeroes).
-
-|SQL type|Druid runtime type|Default value|Notes|
+Casts between two SQL types with the same Druid runtime type (see below table)
have no effect, other than exceptions
Review Comment:
I think we can add this in a followup
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]