apache / apache/rocketmq-client-go

SQL Filtering supports `/`

Open
#979 1 comment 0 reactions 0 assignees View on GitHub
discuss
Dominant language
Go
Stars
1.4k
Forks
445
PR merge metrics
No merged PRs in 30d

Description

Here we have the scenario where the message properties are named with `/`, e.g. `a/b/c`. To filter those attributes, we're eager on the enhancement of SQL filterting that is able to handle special characters such as `/`.

We've tried defining `/` in the `ID` of `org.apache.rocketmq.filter.parser.SelectorParser` but it didn't worked as expected, the error message is like
Caused by: com.alipay.sofa.sofamq.org.shade.apache.rocketmq.client.exception.MQClientException: CODE: 23 DESC: org.apache.rocketmq.filter.parser.TokenMgrError: Lexical error at line 1, column 3. Encountered: "b" (98), after : "/"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.