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

Hongze Zhang edited comment on CALCITE-2791 at 2/5/19 5:16 AM:
---------------------------------------------------------------

[~x1q1j1] I've made some comments on the PR based on the discussion from mail.

I think the patch looks good after fixing the remaining issues.

 

P.S. Can you make the description of this issue more understandable? I don't 
quite get the relation between priority and type of a JSON value.


was (Author: zhztheplayer):
[~x1q1j1] I've made some comments on the PR based on the discussion from mail.

I think the patch looks good after fixing the remaining issues.

> 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
>
> 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
> DOUBLE
>  NULL



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

Reply via email to