[jira] [Created] (CALCITE-2739) NPE will thrown if the MEASURES statement contains IN in MATCH_RECOGNIZE

2018-12-12 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-2739: Summary: NPE will thrown if the MEASURES statement contains IN in MATCH_RECOGNIZE Key: CALCITE-2739 URL: https://issues.apache.org/jira/browse/CALCITE-2739 Project: Calcite

[jira] [Updated] (CALCITE-2739) NPE will thrown if the DEFINE statement contains IN in MATCH_RECOGNIZE

2018-12-12 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-2739: - Summary: NPE will thrown if the DEFINE statement contains IN in MATCH_RECOGNIZE (was: NPE will thrown

[jira] [Updated] (CALCITE-2739) NPE will thrown if the DEFINE statement contains IN in MATCH_RECOGNIZE

2018-12-23 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-2739: - Labels: pull-request-available (was: ) > NPE will thrown if the DEFINE statement contains IN in MATCH_

[jira] [Created] (CALCITE-1871) Nesting LAST within PREV is not parsed correctly for MATCH_RECOGNIZE

2017-07-05 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-1871: Summary: Nesting LAST within PREV is not parsed correctly for MATCH_RECOGNIZE Key: CALCITE-1871 URL: https://issues.apache.org/jira/browse/CALCITE-1871 Project: Calcite

[jira] [Created] (CALCITE-1872) PREV is parsed as LAST when the name of the pattern referenced is not the same with the pattern being defined

2017-07-05 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-1872: Summary: PREV is parsed as LAST when the name of the pattern referenced is not the same with the pattern being defined Key: CALCITE-1872 URL: https://issues.apache.org/jira/browse/CALCITE

[jira] [Created] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-1909: Summary: The output rowType should also include partition by key columns and order by key columns Key: CALCITE-1909 URL: https://issues.apache.org/jira/browse/CALCITE-1909 Pr

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by key columns and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Description: According to the documentation, the output rowType should also include partition by key co

[jira] [Updated] (CALCITE-1909) The output rowType should also include partition by and order by key columns

2017-07-27 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu updated CALCITE-1909: - Summary: The output rowType should also include partition by and order by key columns (was: The output

[jira] [Created] (CALCITE-1911) Support within clause in MATCH_RECOGNIZE

2017-07-30 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-1911: Summary: Support within clause in MATCH_RECOGNIZE Key: CALCITE-1911 URL: https://issues.apache.org/jira/browse/CALCITE-1911 Project: Calcite Issue Type: Bug

[jira] [Commented] (CALCITE-1911) Support within clause in MATCH_RECOGNIZE

2017-07-31 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108257#comment-16108257 ] Dian Fu commented on CALCITE-1911: -- Yes, this is not in Oracle 12 and also not in the S

[jira] [Comment Edited] (CALCITE-1911) Support within clause in MATCH_RECOGNIZE

2017-07-31 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108257#comment-16108257 ] Dian Fu edited comment on CALCITE-1911 at 8/1/17 1:36 AM: -- Corr

[jira] [Commented] (CALCITE-1911) Support within clause in MATCH_RECOGNIZE

2017-07-31 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108289#comment-16108289 ] Dian Fu commented on CALCITE-1911: -- Right, I think the {{rowtime}} column can be seen a

[jira] [Commented] (CALCITE-1911) Support within clause in MATCH_RECOGNIZE

2017-08-07 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116608#comment-16116608 ] Dian Fu commented on CALCITE-1911: -- [~julianhyde] [~ransom], Have create a PR. Could yo

[jira] [Commented] (CALCITE-1911) Support WITHIN clause in MATCH_RECOGNIZE

2017-08-08 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118240#comment-16118240 ] Dian Fu commented on CALCITE-1911: -- [~julianhyde], [~ransom] Thanks a lot for your revi

[jira] [Comment Edited] (CALCITE-1911) Support WITHIN clause in MATCH_RECOGNIZE

2017-08-11 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123278#comment-16123278 ] Dian Fu edited comment on CALCITE-1911 at 8/11/17 12:38 PM:

[jira] [Commented] (CALCITE-1911) Support WITHIN clause in MATCH_RECOGNIZE

2017-08-11 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123278#comment-16123278 ] Dian Fu commented on CALCITE-1911: -- Have updated the PR according to review comments. H

[jira] [Commented] (CALCITE-1935) Reference implementation for MATCH_RECOGNIZE

2017-08-11 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123288#comment-16123288 ] Dian Fu commented on CALCITE-1935: -- [~julianhyde], sorry for late response. IMO, it's n

[jira] [Commented] (CALCITE-1911) Support WITHIN clause in MATCH_RECOGNIZE

2017-08-13 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125149#comment-16125149 ] Dian Fu commented on CALCITE-1911: -- Make sense. Have updated the tests for INTERVAL. >

[jira] [Commented] (CALCITE-1871) Nesting LAST within PREV is not parsed correctly for MATCH_RECOGNIZE

2017-08-14 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126861#comment-16126861 ] Dian Fu commented on CALCITE-1871: -- Hi [~ransom], just found that this patch disabled {

[jira] [Created] (CALCITE-1943) Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl

2017-08-15 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-1943: Summary: Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl Key: CALCITE-1943 URL: https://issues.apache.org/jira/browse/CALCITE-1943 Project: Calcite

[jira] [Commented] (CALCITE-1943) Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl

2017-08-15 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126885#comment-16126885 ] Dian Fu commented on CALCITE-1943: -- For {{NavigationExpander}}, currently I have not go

[jira] [Commented] (CALCITE-1871) Nesting LAST within PREV is not parsed correctly for MATCH_RECOGNIZE

2017-08-15 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126887#comment-16126887 ] Dian Fu commented on CALCITE-1871: -- Hi [~ransom], thanks for your reply. I have created

[jira] [Commented] (CALCITE-1943) Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl

2017-08-15 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126989#comment-16126989 ] Dian Fu commented on CALCITE-1943: -- I have created a PR: https://github.com/apache/calc

[jira] [Commented] (CALCITE-1943) Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl

2017-08-15 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127023#comment-16127023 ] Dian Fu commented on CALCITE-1943: -- You're right. This is related to how to implement t

[jira] [Commented] (CALCITE-1943) Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl

2017-08-15 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127038#comment-16127038 ] Dian Fu commented on CALCITE-1943: -- In one word, if we don't transform {{A.net_weight}}

[jira] [Commented] (CALCITE-1911) Support WITHIN clause in MATCH_RECOGNIZE

2017-08-22 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16137738#comment-16137738 ] Dian Fu commented on CALCITE-1911: -- Hi [~julianhyde], I have addressed your comments in

[jira] [Resolved] (CALCITE-1911) Support WITHIN clause in MATCH_RECOGNIZE

2017-08-24 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dian Fu resolved CALCITE-1911. -- Resolution: Fixed Fix Version/s: 1.14.0 > Support WITHIN clause in MATCH_RECOGNIZE > --

[jira] [Commented] (CALCITE-1943) Add back NavigationExpander and NavigationReplacer in SqlValidatorImpl

2017-08-24 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141088#comment-16141088 ] Dian Fu commented on CALCITE-1943: -- [~julianhyde], I have updated the PR, documented th

[jira] [Created] (CALCITE-1986) Add RelBuilder.matchRecognize

2017-09-13 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-1986: Summary: Add RelBuilder.matchRecognize Key: CALCITE-1986 URL: https://issues.apache.org/jira/browse/CALCITE-1986 Project: Calcite Issue Type: Bug Reporte

[jira] [Commented] (CALCITE-1986) Add RelBuilder.matchRecognize

2017-09-13 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165739#comment-16165739 ] Dian Fu commented on CALCITE-1986: -- [~julianhyde] Could you help to review when it's co

[jira] [Commented] (CALCITE-1986) Add RelBuilder.matchRecognize

2017-09-13 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165840#comment-16165840 ] Dian Fu commented on CALCITE-1986: -- {quote} when do we need to create a matchrecoginize

[jira] [Commented] (CALCITE-1986) Add RelBuilder.matchRecognize

2017-09-16 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16168920#comment-16168920 ] Dian Fu commented on CALCITE-1986: -- [~julianhyde] I have left a few minor comments on y

[jira] [Created] (CALCITE-2033) Support followed by in pattern definition for MATCH_RECOGNIZE

2017-11-06 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-2033: Summary: Support followed by in pattern definition for MATCH_RECOGNIZE Key: CALCITE-2033 URL: https://issues.apache.org/jira/browse/CALCITE-2033 Project: Calcite Is

[jira] [Commented] (CALCITE-2033) Support followed by in pattern definition for MATCH_RECOGNIZE

2017-11-06 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240126#comment-16240126 ] Dian Fu commented on CALCITE-2033: -- I have created a PR which introduces a new operator

[jira] [Commented] (CALCITE-2033) Support followed by in pattern definition for MATCH_RECOGNIZE

2017-11-06 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240155#comment-16240155 ] Dian Fu commented on CALCITE-2033: -- I don't think {{A->B+}} is equals to {{A B+}}. Supp

[jira] [Commented] (CALCITE-2033) Support followed by in pattern definition for MATCH_RECOGNIZE

2017-11-06 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240159#comment-16240159 ] Dian Fu commented on CALCITE-2033: -- {quote} -> is only for pattern. not match recognize

[jira] [Commented] (CALCITE-2033) Support followed by in pattern definition for MATCH_RECOGNIZE

2017-11-06 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240164#comment-16240164 ] Dian Fu commented on CALCITE-2033: -- Correct. That's the issue this JIRA wants to solve.

[jira] [Created] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
Dian Fu created CALCITE-2165: Summary: SqlCallingBinding.getOperandLiteralValue should ignore AssertionError Key: CALCITE-2165 URL: https://issues.apache.org/jira/browse/CALCITE-2165 Project: Calcite

[jira] [Commented] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352200#comment-16352200 ] Dian Fu commented on CALCITE-2165: -- Hi [~julianhyde],  I have created a PR, please help

[jira] [Commented] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353203#comment-16353203 ] Dian Fu commented on CALCITE-2165: -- We encountered an exception and it can be reproduce

[jira] [Comment Edited] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353203#comment-16353203 ] Dian Fu edited comment on CALCITE-2165 at 2/6/18 1:32 AM: -- We e

[jira] [Comment Edited] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353203#comment-16353203 ] Dian Fu edited comment on CALCITE-2165 at 2/6/18 1:35 AM: -- We e

[jira] [Comment Edited] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353203#comment-16353203 ] Dian Fu edited comment on CALCITE-2165 at 2/6/18 1:37 AM: -- We e

[jira] [Commented] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353245#comment-16353245 ] Dian Fu commented on CALCITE-2165: -- Thanks a lot for the suggestion. Do you mean that w

[jira] [Commented] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353252#comment-16353252 ] Dian Fu commented on CALCITE-2165: -- I see. Thanks a lot for your comments. I will updat

[jira] [Commented] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353263#comment-16353263 ] Dian Fu commented on CALCITE-2165: -- Hi [~julianhyde], I reconsidered the issue and thin

[jira] [Comment Edited] (CALCITE-2165) SqlCallingBinding.getOperandLiteralValue should ignore AssertionError

2018-02-05 Thread Dian Fu (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353263#comment-16353263 ] Dian Fu edited comment on CALCITE-2165 at 2/6/18 2:46 AM: -- Hi [