[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Updated] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Description: We define a udf function class have two function as follows {code:java} public double

[jira] [Created] (CALCITE-2053) Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong

2017-11-15 Thread yuqi (JIRA)
yuqi created CALCITE-2053: - Summary: Overloaded user-defined functions that have Double and BigDecimal arguments will goes wrong Key: CALCITE-2053 URL: https://issues.apache.org/jira/browse/CALCITE-2053

[jira] [Commented] (CALCITE-1882) Can't obtain the user defined aggregate function such as sum,avg by calcite

2017-08-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16119470#comment-16119470 ] yuqi commented on CALCITE-1882: --- Let's take a sql for example, considering sql {code:java} select

[jira] [Commented] (CALCITE-1905) Varargs in user-defined functions

2017-07-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16108263#comment-16108263 ] yuqi commented on CALCITE-1905: --- Ok. thanks for your attention > Varargs in user-defined functions >

[jira] [Commented] (CALCITE-1882) Can't obtain the user defined aggregate function such as sum,avg by calcite

2017-07-29 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16106042#comment-16106042 ] yuqi commented on CALCITE-1882: --- The reason that causes this problem is that in parser phase, the parser

[jira] [Comment Edited] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-28 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16104869#comment-16104869 ] yuqi edited comment on CALCITE-1905 at 7/28/17 12:15 PM: - Indeed, i have

[jira] [Comment Edited] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-28 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16104869#comment-16104869 ] yuqi edited comment on CALCITE-1905 at 7/28/17 12:15 PM: - Indeed, i have

[jira] [Commented] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-28 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16104869#comment-16104869 ] yuqi commented on CALCITE-1905: --- Indeed, i have changed calcite and support simplest multi-parameter

[jira] [Updated] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-26 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1905: -- Description: {code:java} i define a udf with variable paramater in Smalls.java like public static String

[jira] [Commented] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-26 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16102641#comment-16102641 ] yuqi commented on CALCITE-1905: --- [~julianhyde] ,can help help to confirm this ? > user-defined function

[jira] [Updated] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-26 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1905: -- Description: {code:java} i define a function with variable paramater in Smalls.java test like public

[jira] [Created] (CALCITE-1905) user-defined function can't support variable parameter

2017-07-26 Thread yuqi (JIRA)
yuqi created CALCITE-1905: - Summary: user-defined function can't support variable parameter Key: CALCITE-1905 URL: https://issues.apache.org/jira/browse/CALCITE-1905 Project: Calcite Issue Type: Bug

[jira] [Issue Comment Deleted] (CALCITE-1882) Can't obtain the user defined aggregate function such as sum,avg by calcite

2017-07-19 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1882: -- Comment: was deleted (was: I think this is caused by the fact that when construct UserDefineAggFunction,

[jira] [Comment Edited] (CALCITE-1882) Can't obtain the user defined aggregate function such as sum,avg by calcite

2017-07-18 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16091559#comment-16091559 ] yuqi edited comment on CALCITE-1882 at 7/18/17 2:07 PM: I think this is caused

[jira] [Commented] (CALCITE-1882) Can't obtain the user defined aggregate function such as sum,avg by calcite

2017-07-18 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16091559#comment-16091559 ] yuqi commented on CALCITE-1882: --- I think this is caused by the fact that when construct

[jira] [Commented] (CALCITE-1881) User-defined function can't identify Date and TimeStamp when both exist

2017-07-12 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16083884#comment-16083884 ] yuqi commented on CALCITE-1881: --- [~julianhyde] I have make merge request for this issue, please help to

[jira] [Commented] (CALCITE-1887) Detect transitive join conditions via expressions

2017-07-12 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16083906#comment-16083906 ] yuqi commented on CALCITE-1887: --- Plan {code:java} LogicalFilter(condition=[AND(=($0, 5), =($3, 5))])

[jira] [Commented] (CALCITE-1886) Support LIMIT [offset,] row_count

2017-07-12 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16083880#comment-16083880 ] yuqi commented on CALCITE-1886: --- Calcite has already support this grammar, as far as a i know for example

[jira] [Commented] (CALCITE-1881) User-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16079787#comment-16079787 ] yuqi commented on CALCITE-1881: --- I am pleased to do so. The author in the [mailto:earlier email exchange].

[jira] [Comment Edited] (CALCITE-1881) User-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16079589#comment-16079589 ] yuqi edited comment on CALCITE-1881 at 7/9/17 2:08 PM: --- The problem seems quite

[jira] [Comment Edited] (CALCITE-1881) User-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16079589#comment-16079589 ] yuqi edited comment on CALCITE-1881 at 7/9/17 12:52 PM: The problem seems quite

[jira] [Updated] (CALCITE-1881) User-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1881: -- Description: define user-define class with two mehtod: {code:java} evaluate(Date d);

[jira] [Updated] (CALCITE-1881) User-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1881: -- Summary: User-defined function can't identify Date and TimeStamp when both exist (was: user-defined function

[jira] [Updated] (CALCITE-1881) user-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1881: -- Description: define user-define class with two mehtod: {code:java} evaluate(Date d);

[jira] [Issue Comment Deleted] (CALCITE-1881) user-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-1881: -- Comment: was deleted (was: The problem seems quitely clearly: In the filterRoutinesByParameterType,

[jira] [Commented] (CALCITE-1881) user-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16079589#comment-16079589 ] yuqi commented on CALCITE-1881: --- The problem seems quite clear: in the method {code:java}

[jira] [Commented] (CALCITE-1881) user-defined function can't identify Date and TimeStamp when both exist

2017-07-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16079585#comment-16079585 ] yuqi commented on CALCITE-1881: --- The problem seems quitely clearly: In the

<    1   2