FrankChen021 commented on code in PR #20402:
URL: https://github.com/apache/druid/pull/20402#discussion_r4105064875


##########
docs/querying/sql-data-types.md:
##########
@@ -60,7 +60,7 @@ The following table describes how Druid maps SQL types onto 
native types when ru
 |TINYINT|LONG|`0`||
 |SMALLINT|LONG|`0`||
 |INTEGER|LONG|`0`||
-|BIGINT|LONG|`0`|Druid LONG columns (except `__time`) are reported as BIGINT|
+|BIGINT|LONG|`0`|Druid LONG columns (except `__time`) are reported as BIGINT. 
In a `CAST` expression only, for example `CAST(x AS LONG)`, `LONG` is also 
accepted as an alias for `BIGINT`, matching the name Druid's native engine uses 
for this type. This does not apply to other type positions, such as a column 
type in `CREATE TABLE` or `EXTERN`, where `LONG` continues to be treated as any 
other identifier.|

Review Comment:
   there's no CREATE TABLE in druid.
   
   Druid LONG columns (except `__time`) are reported as BIGINT while LONG is 
supported only as a CAST alias.



-- 
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]

Reply via email to