[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-06-02 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16854165#comment-16854165 ] Jiatao Tao commented on CALCITE-3065: - Hi [~julianhyde] truly thanks for your explanation. Seems

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-06-02 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16854037#comment-16854037 ] Julian Hyde commented on CALCITE-3065: -- {{getJavaClass}} is a specialized piece of code only for

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-06-02 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16853917#comment-16853917 ] Jiatao Tao commented on CALCITE-3065: - !image-2019-06-02-08-43-51-646.png! > RexLiteral#getValueAs

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-06-02 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16853913#comment-16853913 ] Jiatao Tao commented on CALCITE-3065: - Hi [~julianhyde] I can buy in your thoughts about null 

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16846211#comment-16846211 ] Julian Hyde commented on CALCITE-3065: -- The basic idea is that you call {{getLiteralAs}} with a

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-22 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16845749#comment-16845749 ] Hongze Zhang commented on CALCITE-3065: --- {quote}And leave my scenario aside, shouldn't

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-19 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16843588#comment-16843588 ] Danny Chan commented on CALCITE-3065: - Thanks [~Aron.tao], i do not have strong willingness for

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-17 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16842877#comment-16842877 ] Jiatao Tao commented on CALCITE-3065: - [~julianhyde] [~danny0405] # For calcite, I just need to

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-17 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16842067#comment-16842067 ] Danny Chan commented on CALCITE-3065: - Wile there are some other way to solve your problem, e.g.

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-17 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841993#comment-16841993 ] Jiatao Tao commented on CALCITE-3065: - [~danny0405] !image-2019-05-17-08-23-52-735.png! The

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-17 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841934#comment-16841934 ] Jiatao Tao commented on CALCITE-3065: - Hi [~danny0405] you mean literal.getType? *SqlTypeName

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-16 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841856#comment-16841856 ] Danny Chan commented on CALCITE-3065: - [~Aron.tao] I don't know where your plan comes from, but for

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-15 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840933#comment-16840933 ] Jiatao Tao commented on CALCITE-3065: - [~danny0405] Thanks, it answers my doubts. But I got this

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-15 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840142#comment-16840142 ] Danny Chan commented on CALCITE-3065: - Firstly Calcite did set the numeric SqlLiteral value as

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-15 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840108#comment-16840108 ] Jiatao Tao commented on CALCITE-3065: - Hi [~danny0405] Here I briefly describe how I encountered

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-15 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16840099#comment-16840099 ] Danny Chan commented on CALCITE-3065: - [~Aron.tao] While i checked the usage of method

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-14 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16839961#comment-16839961 ] Jiatao Tao commented on CALCITE-3065: - Hi [~danny0405] [~julianhyde] code like this   

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-13 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838915#comment-16838915 ] Julian Hyde commented on CALCITE-3065: -- It really is not possible to, say, get a {{RexLiteral}}'s

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-13 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838504#comment-16838504 ] Danny Chan commented on CALCITE-3065: - Please give us more details about why this issue is fired ?

[jira] [Commented] (CALCITE-3065) RexLiteral#getValueAs should consider primitive type

2019-05-13 Thread Jiatao Tao (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16838493#comment-16838493 ] Jiatao Tao commented on CALCITE-3065: - I would like to take this JIRA if community think this is