[ 
https://issues.apache.org/jira/browse/CALCITE-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753276#comment-16753276
 ] 

Hongze Zhang commented on CALCITE-2791:
---------------------------------------

{quote}do you think this JSON_TYPE function can be implemented against mysql
{quote}
Personally I think MySQL's JSON functions can be useful, I can make some review 
comments if you want.

> Add the JSON_TYPE function
> --------------------------
>
>                 Key: CALCITE-2791
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2791
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: xuqianjin
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: https://github.com/apache/calcite/pull/1013
>
> The data in json can be =, <, <=, >, >=, <>,! =, and <=>. But the data types 
> in json can be diverse, so when you compare different types, you have a 
> priority, and the high priority is greater than the low priority (you can 
> view the types with the JSON_TYPE() function). The priorities are as follows:
>  BOOLEAN
>  ARRAY
>  OBJECT
>  STRING
>  INTEGER
> LONG
> DOUBLE
>  NULL



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to