[
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 relNode used RelBuilder?
{quote}
This requirement comes from the cep support in Flink table API. After we have
defined the match_recognize clauses such as {{define}}, {{measures}},
{{pattern}} using Flink table API, we need to a helper method to construct a
matchRecognize {{RelNode}} from these {{RexNodes}}.
Besides, I think this will also be helpful when we create optimization rules
for match_recognize in the future.
{quote}
SqlToRel already have matchRecognize convert
{quote}
{{SqlToRelConverter.convertMatchRecognize}} is only used to convert {{SqlNode}}
to {{RelNode}}. While with {{RelBuilder.matchRecognize}} we can construct
{{RelNode}} from the {{RexNodes}}.
Thoughts? [~ransom]
> Add RelBuilder.matchRecognize
> -----------------------------
>
> Key: CALCITE-1986
> URL: https://issues.apache.org/jira/browse/CALCITE-1986
> Project: Calcite
> Issue Type: Bug
> Reporter: Dian Fu
> Assignee: Julian Hyde
> Labels: match
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)