Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escaped comma cannot be used in measurement names #531

Open
localvar opened this issue Mar 12, 2024 · 2 comments
Open

escaped comma cannot be used in measurement names #531

localvar opened this issue Mar 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@localvar
Copy link
Contributor

localvar commented Mar 12, 2024

Describe the bug(Bug 描述)

According to line protocol, comma can be used in measurement names after an escape.

But when using this character in openGemini, it reports "invalid measurement name".

To Reproduce(Bug 复现步骤)

> create database db0
> use db0
> insert cp\,u,host=server1 value=10
ERR: {"error":"partial write: invalid measurement name: cp,u dropped=1"}

Note the above insert statement can be executed successfully in influxdb.

Expected behavior(期望结果)

No response

Screenshots(屏幕截图)

No response

Logs(完整的错误日志)

No response

Additional context(其他的一些补充内容)

No response

@localvar localvar added the bug Something isn't working label Mar 12, 2024
@localvar localvar changed the title openGemini is not in line with Line Protocol escaped comma cannot be used in measurement names Mar 12, 2024
@xiangyu5632
Copy link
Member

Currently, some transfer characters and special characters cannot be added to measurement names.
openGemini unsupport

@localvar
Copy link
Contributor Author

Currently, some transfer characters and special characters cannot be added to measurement names. openGemini unsupport

could this be documented, especially, which characters are included in the "some transfer characters and special characters"? Because this documentation says openGemini uses the same line protocol as influxdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants