[
https://issues.apache.org/jira/browse/IGNITE-14991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369295#comment-17369295
]
Konstantin Orlov edited comment on IGNITE-14991 at 6/25/21, 7:18 AM:
---------------------------------------------------------------------
To enable such operators in parser we need to set the flag
{{includePosixOperators}} to true (see
{{modules/calcite/src/main/codegen/config.fmpp}}) and add the following code to
the end of the {{modules/calcite/src/main/codegen/includes/parserImpls.ftl}}:
{code:java}
<DEFAULT, DQID, BTID> TOKEN :
{
< NEGATE: "!" >
| < TILDE: "~" >
}
{code}
Problems with validation require further investigation.
was (Author: korlov):
To enable such operators in parser we need to set the flag
\{{includePosixOperators}} to true (see
{{modules/calcite/src/main/codegen/config.fmpp}}) and add the following code to
the end of the \{{modules/calcite/src/main/codegen/includes/parserImpls.ftl}}:
{code:java}
<DEFAULT, DQID, BTID> TOKEN :
{
< NEGATE: "!" >
| < TILDE: "~" >
}
{code}
Problems with validation requires further investigation.
> Calcite engine. Supports regexp operators
> -----------------------------------------
>
> Key: IGNITE-14991
> URL: https://issues.apache.org/jira/browse/IGNITE-14991
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Taras Ledkov
> Priority: Major
>
> Calcite engine implements {{SqlPosixRegexOperator}}.
> Must be supported by current parser configuration & validator.
> Test:
> {{function/string/regex_filter_pushdown.test_ignore}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)