[jira] [Commented] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

2019-03-22 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799540#comment-16799540 ] Chunwei Lei commented on CALCITE-883: - [~zhztheplayer] Thank you for your patient explanation. It

[jira] [Commented] (CALCITE-2900) RewriteRexShuttle generates wrong type during flatten for structured type when visitInputRef

2019-03-22 Thread Will Yu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799536#comment-16799536 ] Will Yu commented on CALCITE-2900: -- [~zabetak] Hey man, could you help assign this issue to me? And

[jira] [Updated] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

2019-03-22 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei updated CALCITE-883: Attachment: (was: image-2019-03-23-13-03-47-184.png) > Support RESPECT NULLS, IGNORE NULLS

[jira] [Updated] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

2019-03-22 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunwei Lei updated CALCITE-883: Attachment: image-2019-03-23-13-03-47-184.png > Support RESPECT NULLS, IGNORE NULLS option for

[jira] [Commented] (CALCITE-2936) Simplify EXISTS or NOT EXISTS sub-query that has "GROUP BY ()"

2019-03-22 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799519#comment-16799519 ] Julian Hyde commented on CALCITE-2936: -- {{MinRowCount}} is an estimate, but it is a safe lower

[jira] [Updated] (CALCITE-2946) RelBuilder wrongly skips creation of Aggregate that prunes columns if input produces one row at most

2019-03-22 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-2946: Labels: pull-request-available (was: ) > RelBuilder wrongly skips creation of Aggregate

[jira] [Updated] (CALCITE-2946) RelBuilder wrongly skips creation of Aggregate that prunes columns if input produces one row at most

2019-03-22 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated CALCITE-2946: - Summary: RelBuilder wrongly skips creation of Aggregate that prunes

[jira] [Commented] (CALCITE-2946) Calcite assertion error when UDF returns null

2019-03-22 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799453#comment-16799453 ] Jesus Camacho Rodriguez commented on CALCITE-2946: -- This is very similar to

[jira] [Moved] (CALCITE-2946) Calcite assertion error when UDF returns null

2019-03-22 Thread Jesus Camacho Rodriguez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez moved HIVE-21495 to CALCITE-2946: - Affects Version/s: (was: 4.0.0)

[jira] [Updated] (CALCITE-2913) add a KafkaAdapter for Stream

2019-03-22 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-2913: Labels: pull-request-available (was: ) > add a KafkaAdapter for Stream >

[jira] [Commented] (CALCITE-2944) Lack of test for Aggregate.indicator

2019-03-22 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799272#comment-16799272 ] Haisheng Yuan commented on CALCITE-2944: Yeah, the field and constructor using indicator should

[jira] [Commented] (CALCITE-2936) Simplify EXISTS or NOT EXISTS sub-query that has "GROUP BY ()"

2019-03-22 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799268#comment-16799268 ] Haisheng Yuan commented on CALCITE-2936: [~danny0405] Let's continue discussion here. I

[jira] [Commented] (CALCITE-2936) Simplify EXISTS or NOT EXISTS sub-query that has "GROUP BY ()"

2019-03-22 Thread Haisheng Yuan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799254#comment-16799254 ] Haisheng Yuan commented on CALCITE-2936: In order to remove semijoin, we have to determine that

[jira] [Commented] (CALCITE-2941) EnumerableLimitRule on Sort with no collation creates EnumerableLimit with wrong traitSet and cluster

2019-03-22 Thread Ruben Quesada Lopez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799216#comment-16799216 ] Ruben Quesada Lopez commented on CALCITE-2941: -- Provided unit test > EnumerableLimitRule

[jira] [Commented] (CALCITE-2941) EnumerableLimitRule on Sort with no collation creates EnumerableLimit with wrong traitSet and cluster

2019-03-22 Thread Ruben Quesada Lopez (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799154#comment-16799154 ] Ruben Quesada Lopez commented on CALCITE-2941: -- Sure, I'll add a test as soon as I can. >

[jira] [Commented] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

2019-03-22 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799142#comment-16799142 ] Hongze Zhang commented on CALCITE-883: -- To me your code pasted above makes sense already. Otherwise

[jira] [Commented] (CALCITE-2815) GeodeSchemaFactory change to pass in clientCache using geode jndi context

2019-03-22 Thread Sandeep Chada (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799071#comment-16799071 ] Sandeep Chada commented on CALCITE-2815: In case we are okay having non-serializable objects in

[jira] [Comment Edited] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

2019-03-22 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799028#comment-16799028 ] Chunwei Lei edited comment on CALCITE-883 at 3/22/19 1:46 PM: -- I am sorry

[jira] [Commented] (CALCITE-883) Support RESPECT NULLS, IGNORE NULLS option for LEAD, LAG, FIRST_VALUE, LAST_VALUE window functions

2019-03-22 Thread Chunwei Lei (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16799028#comment-16799028 ] Chunwei Lei commented on CALCITE-883: - I am sorry that you may still misunderstand me. I don't

[jira] [Updated] (CALCITE-2945) use equals in Boolean object compare

2019-03-22 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-2945: Labels: pull-request-available (was: ) > use equals in Boolean object compare >

[jira] [Created] (CALCITE-2945) use equals in Boolean object compare

2019-03-22 Thread leesf (JIRA)
leesf created CALCITE-2945: -- Summary: use equals in Boolean object compare Key: CALCITE-2945 URL: https://issues.apache.org/jira/browse/CALCITE-2945 Project: Calcite Issue Type: Improvement

[jira] [Assigned] (CALCITE-2939) NPE Array Type serialToJdbc in TypedValue when executeBatch

2019-03-22 Thread Danny Chan (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Chan reassigned CALCITE-2939: --- Assignee: Danny Chan > NPE Array Type serialToJdbc in TypedValue when executeBatch >

[jira] [Updated] (CALCITE-2741) Add operator table with Hive-specific built-in functions

2019-03-22 Thread Lai Zhou (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lai Zhou updated CALCITE-2741: -- Description: [~julianhyde], I write a hive adapter for calcite to support Hive sql ,includes

[jira] [Updated] (CALCITE-2741) Add operator table with Hive-specific built-in functions

2019-03-22 Thread Lai Zhou (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lai Zhou updated CALCITE-2741: -- Attachment: (was: 屏幕快照 2019-01-09 16.49.34.png) > Add operator table with Hive-specific built-in

[jira] [Commented] (CALCITE-2940) CalcitePrepareImpl always creates a default SqlParser without user's CalciteConnectionConfig

2019-03-22 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798806#comment-16798806 ] Stamatis Zampetakis commented on CALCITE-2940: -- Duplicate of which? Can you please add

[jira] [Commented] (CALCITE-2944) Lack of test for Aggregate.indicator

2019-03-22 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798803#comment-16798803 ] Stamatis Zampetakis commented on CALCITE-2944: -- Based on the existing comment I was

[jira] [Commented] (CALCITE-2943) Materialized view rewriting logic calls getApplicableMaterializations each time the rule is triggered

2019-03-22 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798796#comment-16798796 ] Stamatis Zampetakis commented on CALCITE-2943: -- Nice screenshot! Which program did you use