Skip to content

OPL Parser: contains substring and regex matches #1789

@albertlockett

Description

@albertlockett

We need to design a syntax for OPL for substring contains and regex match.

KQL uses a syntax like:

x contains "y"
x matches regex ".*albert.*"

We could do something similar, or do something more like a function call contains(x, "y"). Will leave the actualy syntax unprescribed for this moment.

Once we've decided on the syntax:

  • add support to the parser these should parse into LogicalExpression::Matches and LogicalExpression::Contains
  • update the tests in columnar query engine pipeline::filter module to be driven by OPLParser as well as KQL parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    opl-parserWork items related to OPL Parser

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions