[jira] [Comment Edited] (CALCITE-525) Exception-handling in built-in functions

2018-10-15 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16651127#comment-16651127 ] Hongze Zhang edited comment on CALCITE-525 at 10/16/18 5:08 AM: Hi

[jira] [Commented] (CALCITE-525) Exception-handling in built-in functions

2018-10-15 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16651127#comment-16651127 ] Hongze Zhang commented on CALCITE-525: -- Hi [~julianhyde] and [~vladimirsitnikov], Thanks for the

[jira] [Commented] (CALCITE-2280) Liberal "babel" parser that accepts all SQL dialects

2018-10-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16650969#comment-16650969 ] Julian Hyde commented on CALCITE-2280: -- We can definitely add HIVE as a conformance level. As for

[jira] [Commented] (CALCITE-2280) Liberal "babel" parser that accepts all SQL dialects

2018-10-15 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16650899#comment-16650899 ] Xuefu Zhang commented on CALCITE-2280: -- Hi [~julianhyde] With my limited understanding of this

[jira] [Commented] (CALCITE-1289) RexUtil.simplifyCase() should account for nullability

2018-10-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16650449#comment-16650449 ] Julian Hyde commented on CALCITE-1289: -- Given e = "CASE WHEN condition THEN TRUE ELSE FALSE END"

[jira] [Commented] (CALCITE-1289) RexUtil.simplifyCase() should account for nullability

2018-10-15 Thread Zoltan Haindrich (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16650267#comment-16650267 ] Zoltan Haindrich commented on CALCITE-1289: --- I was looking into these casts around case

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-15 Thread Daniel Lemire (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16650255#comment-16650255 ] Daniel Lemire commented on CALCITE-2619: I'll do some evaluation of the problem (hopefully this

[jira] [Commented] (CALCITE-2619) Reduce string literal creation cost by removing charset check

2018-10-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649792#comment-16649792 ] Julian Hyde commented on CALCITE-2619: -- Probably good enough for our purposes is Guava’s

[jira] [Commented] (CALCITE-2620) Simplify "coalesce(null,x)" to "x"

2018-10-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649790#comment-16649790 ] Julian Hyde commented on CALCITE-2620: -- You’d be surprised how often “no brainer” optimizations