[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] [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-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=16079589#comment-16079589 ] yuqi commented on CALCITE-1881: --- The problem seems quite clear: in the method {code:java}

[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] [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] [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] [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

[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] [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] [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] [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-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-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] [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] [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] [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] [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 udf with variable paramater in Smalls.java like public static String

[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] [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] [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] [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] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:24 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:23 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:23 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:25 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:26 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:28 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:29 AM: - The problem is that

[jira] [Comment Edited] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi edited comment on CALCITE-2053 at 11/15/17 9:27 AM: - The problem is that

[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] [Commented] (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:comment-tabpanel=16253170#comment-16253170 ] yuqi commented on CALCITE-2053: --- The problem is that in function {code:java}

[jira] [Commented] (CALCITE-1903) Support charset in LIKE expression

2017-11-22 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16262141#comment-16262141 ] yuqi commented on CALCITE-1903: --- [~jark], is there is any solution about using chinese character ? >

[jira] [Commented] (CALCITE-1903) Support charset in LIKE expression

2017-11-22 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16263683#comment-16263683 ] yuqi commented on CALCITE-1903: --- I see, thanks a lot > Support charset in LIKE expression >

[jira] [Commented] (CALCITE-1903) Support charset in LIKE expression

2017-11-22 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16263653#comment-16263653 ] yuqi commented on CALCITE-1903: --- Ok, That closely depends on flink SQL, seems that for calcite, raw SQL

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

2017-11-19 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16258753#comment-16258753 ] yuqi commented on CALCITE-2053: --- yes, similar to CALCITE-1881, but it does exist and has not been fixed >

[jira] [Comment Edited] (CALCITE-2273) misinterpreted

2018-04-28 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16457488#comment-16457488 ] yuqi edited comment on CALCITE-2273 at 4/28/18 9:29 AM: As far as i see, unicode

[jira] [Commented] (CALCITE-2273) misinterpreted

2018-04-28 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16457488#comment-16457488 ] yuqi commented on CALCITE-2273: --- As far as i see, unicode that have length more than 4 will be converted

[jira] [Comment Edited] (CALCITE-2273) misinterpreted

2018-04-28 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16457488#comment-16457488 ] yuqi edited comment on CALCITE-2273 at 4/28/18 9:31 AM: As far as i see, unicode

[jira] [Created] (CALCITE-2328) Operand of Logical And/OR should support type like INT, DOUTLE not only boolean

2018-05-25 Thread yuqi (JIRA)
yuqi created CALCITE-2328: - Summary: Operand of Logical And/OR should support type like INT, DOUTLE not only boolean Key: CALCITE-2328 URL: https://issues.apache.org/jira/browse/CALCITE-2328 Project: Calcite

[jira] [Updated] (CALCITE-2328) Operand of Logical And/OR should support type like INT, DOUTLE not only Boolean

2018-05-25 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2328: -- Summary: Operand of Logical And/OR should support type like INT, DOUTLE not only Boolean (was: Operand of

[jira] [Updated] (CALCITE-2328) Operand of Logical And/OR should support type like INT, DOUTLE not only boolean

2018-05-25 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2328: -- Description: As far as i see , MySQL support the following sql {code:java} select id, name from tb where 1

[jira] [Commented] (CALCITE-2311) case when returns redundant white space

2018-05-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16476707#comment-16476707 ] yuqi commented on CALCITE-2311: --- It's depends on the type of the column that the value will be given to. 

[jira] [Commented] (CALCITE-2349) Failed to build RexCall with SqlDatetimeSubtractionOperator

2018-06-06 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16503048#comment-16503048 ] yuqi commented on CALCITE-2349: --- [~julianhyde] As the JavaDoc says: A special operator for the

[jira] [Commented] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16497488#comment-16497488 ] yuqi commented on CALCITE-2336: --- [~xu fei] You can make a MR about this problem or i do it later >

[jira] [Updated] (CALCITE-2349) Failed to build RexCall with SqlDatetimeSubtractionOperator

2018-06-01 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2349: -- Attachment: 1.png > Failed to build RexCall with SqlDatetimeSubtractionOperator >

[jira] [Commented] (CALCITE-2349) Failed to build RexCall with SqlDatetimeSubtractionOperator

2018-06-01 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16498864#comment-16498864 ] yuqi commented on CALCITE-2349: --- [~julianhyde] I debug it and the number of operands of two, not three,

[jira] [Commented] (CALCITE-2349) Failed to build RexCall with SqlDatetimeSubtractionOperator

2018-06-02 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16498965#comment-16498965 ] yuqi commented on CALCITE-2349: --- [~julianhyde] I'am a little confused, DateTime is not a type in calcite,

[jira] [Updated] (CALCITE-2349) Failed to build RexCall with SqlDatetimeSubtractionOperator

2018-06-02 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2349: -- Attachment: screenshot-1.png > Failed to build RexCall with SqlDatetimeSubtractionOperator >

[jira] [Created] (CALCITE-2349) Failed to build RexCall with SqlDatetimeSubtractionOperator

2018-06-01 Thread yuqi (JIRA)
yuqi created CALCITE-2349: - Summary: Failed to build RexCall with SqlDatetimeSubtractionOperator Key: CALCITE-2349 URL: https://issues.apache.org/jira/browse/CALCITE-2349 Project: Calcite Issue

[jira] [Commented] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496548#comment-16496548 ] yuqi commented on CALCITE-2336: --- [~xu fei] I suggest you check column size in function `validateInsert `,

[jira] [Updated] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2336: -- Attachment: 1.patch > SqlValidatorImpl throws java.lang.IndexOutOfBoundsException >

[jira] [Comment Edited] (CALCITE-2336) SqlValidatorImpl throws java.lang.IndexOutOfBoundsException

2018-05-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16496548#comment-16496548 ] yuqi edited comment on CALCITE-2336 at 5/31/18 1:43 PM: [~xu fei] I suggest you

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

2018-02-03 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Affects Version/s: (was: 1.13.0) > Overloaded user-defined functions that have Double and BigDecimal

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

2018-02-02 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350178#comment-16350178 ] yuqi commented on CALCITE-2053: --- Ok, I  change  {code:java} .put(SqlTypeName.DOUBLE,

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

2018-02-01 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2053: -- Affects Version/s: 1.15.0 > Overloaded user-defined functions that have Double and BigDecimal arguments >

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

2018-02-04 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351794#comment-16351794 ] yuqi commented on CALCITE-2053: --- En, FLOAT should take into consideration if we want to solve problem like

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

2018-01-31 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16348015#comment-16348015 ] yuqi commented on CALCITE-2053: --- [~julianhyde] , I confirm this,  here is my MR

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

2018-01-31 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 add the following udf method in Smalls.AllTypesFunction {code:java} public double

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

2018-01-31 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 add the following udf method in Smalls.AllTypesFunction {code:java} public double

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

2018-01-31 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 add the following udf method in Smalls.AllTypesFunction {code:java} public double

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

2018-01-31 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 add the following udf method in Smalls.AllTypesFunction {code:java} public double

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

2018-01-31 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 add the following udf method in Smalls.AllTypesFunction {code:java} public double

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

2018-02-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16356590#comment-16356590 ] yuqi commented on CALCITE-2053: --- Thanks for your time. > Overloaded user-defined functions that have

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

2018-03-12 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16394854#comment-16394854 ] yuqi commented on CALCITE-2053: --- [~julianhyde] Is this change look OK? > Overloaded user-defined

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

2018-04-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16429601#comment-16429601 ] yuqi commented on CALCITE-2053: --- [~julianhyde], Could you take time to this issue and look the change is

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

2018-04-19 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16444071#comment-16444071 ] yuqi commented on CALCITE-1882: --- [~julianhyde] Code have updated, Could you help to review it ? thanks >

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

2018-04-19 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16445123#comment-16445123 ] yuqi commented on CALCITE-1882: --- Ok, [~vladimirsitnikov] , If you have time, please help to review the

[jira] [Created] (CALCITE-2637) Prefix minus operator failed in between and clause

2018-10-23 Thread yuqi (JIRA)
yuqi created CALCITE-2637: - Summary: Prefix minus operator failed in between and clause Key: CALCITE-2637 URL: https://issues.apache.org/jira/browse/CALCITE-2637 Project: Calcite Issue Type: Bug

[jira] [Commented] (CALCITE-2637) Prefix minus operator failed in between and clause

2018-10-23 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16660696#comment-16660696 ] yuqi commented on CALCITE-2637: --- [~julianhyde], Can you help to confirm this problem? Thanks > Prefix

[jira] [Updated] (CALCITE-2637) Prefix minus operator failed in between and clause

2018-10-23 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2637: -- Environment: (was: We can reproduce it like this {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2637) Prefix minus operator failed in between and clause

2018-10-23 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2637: -- Description: We can reproduce it like this {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Created] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
yuqi created CALCITE-2659: - Summary: Wrong plan In natural left/right join Key: CALCITE-2659 URL: https://issues.apache.org/jira/browse/CALCITE-2659 Project: Calcite Issue Type: Bug

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: public static void main(String[] args) { try {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Environment: (was: {code:java} public static void main(String[] args) { try {

[jira] [Updated] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-07 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2659: -- Description: The following is the code: {code:java} public static void main(String[] args) {

[jira] [Commented] (CALCITE-2659) Wrong plan In natural left/right join

2018-11-09 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16681553#comment-16681553 ] yuqi commented on CALCITE-2659: --- [~julianhyde], i could not understand your answer 'The plan produces the

[jira] [Commented] (CALCITE-2637) Prefix minus operator failed in between and clause

2018-12-01 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706060#comment-16706060 ] yuqi commented on CALCITE-2637: --- Fixed > Prefix minus operator failed in between and clause >

[jira] [Updated] (CALCITE-2861) Exception occurs when do arithmetic between decimal and other numeric types

2019-03-27 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2861: -- Summary: Exception occurs when do arithmetic between decimal and other numeric types (was: Exception occurs

[jira] [Commented] (CALCITE-2861) Exception occurs when do arithmetic between decimal and other numeric types

2019-03-27 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802716#comment-16802716 ] yuqi commented on CALCITE-2861: --- [~zhztheplayer] Thanks for your carefully review, When I add the decimal

[jira] [Created] (CALCITE-2879) Improve filter condition in Join

2019-02-27 Thread yuqi (JIRA)
yuqi created CALCITE-2879: - Summary: Improve filter condition in Join Key: CALCITE-2879 URL: https://issues.apache.org/jira/browse/CALCITE-2879 Project: Calcite Issue Type: Improvement

[jira] [Updated] (CALCITE-2861) Exception occurs when do +-*/ between decimal and other numeric types

2019-02-22 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2861: -- Description: 1. add decimal type in ReflectiveSchemaTest#EveryType {code:java} public static class

[jira] [Updated] (CALCITE-2861) Exception occurs when do +-*/ between decimal and other numeric types

2019-02-22 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2861: -- Description: 1. add decimal type in ReflectiveSchemaTest.EveryType {code:java} public static class

[jira] [Updated] (CALCITE-2861) Exception occurs when do +-*/ between decimal and other numeric types

2019-02-22 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2861: -- Description: 1. add decimal type in ReflectiveSchemaTest#EveryType {code:java} public static class

[jira] [Created] (CALCITE-2861) Exception occurs when do +-*/ between decimal and other numeric types

2019-02-22 Thread yuqi (JIRA)
yuqi created CALCITE-2861: - Summary: Exception occurs when do +-*/ between decimal and other numeric types Key: CALCITE-2861 URL: https://issues.apache.org/jira/browse/CALCITE-2861 Project: Calcite

[jira] [Commented] (CALCITE-2841) Simplification: push negation into Case expression

2019-02-12 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16765989#comment-16765989 ] yuqi commented on CALCITE-2841: --- Is there any detail about this issue ? > Simplification: push negation

[jira] [Updated] (CALCITE-2999) Can't get the right column value in LogicalSort

2019-04-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2999: -- Attachment: problem.png > Can't get the right column value in LogicalSort >

[jira] [Updated] (CALCITE-2999) Can't get the right column value in LogicalSort

2019-04-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yuqi updated CALCITE-2999: -- Attachment: picture4.png > Can't get the right column value in LogicalSort >

[jira] [Commented] (CALCITE-2999) Can't get the right column value in LogicalSort

2019-04-15 Thread yuqi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16817675#comment-16817675 ] yuqi commented on CALCITE-2999: --- [~zhztheplayer] Thanks for your attention, see the picture below

  1   2   >