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

关于influxDB2写入的疑惑 #1011

Open
wangjiancheng180 opened this issue Feb 19, 2024 · 2 comments
Open

关于influxDB2写入的疑惑 #1011

wangjiancheng180 opened this issue Feb 19, 2024 · 2 comments
Assignees

Comments

@wangjiancheng180
Copy link

Changelog

"tag": [
{
"location": "east"
},
{
"lat": 23.123445
}
]
大佬这是我在文档中看到的示例,要求tag是map形式,但是如果tag这里我需要被迁移数据库的某几个字段,我写不成map形式,我能将reader里读取的字段放入吗?

@wgzhao
Copy link
Owner

wgzhao commented Feb 20, 2024

tag 和要迁移的数据库字段无关,reader 里读取的数据库字段,要放在 writer 的 column 配置。

@wangjiancheng180
Copy link
Author

tag 和要迁移的数据库字段无关,reader 里读取的数据库字段,要放在 writer 的 column 配置。

我的目的是tag是原数据库的某几个字段的值,原数据库的一张表中某几个字段是tag,我不能将原表的字段全放到colum里吧,这样不就没有tag了吗?你的意思是这个tag必须单独赋值?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants