Describe the bug
A clear and concise description of what the bug is.
we can't assume the column's order of response by influxdb. so we need specify the order in config.
like this:
"reader": {
"name": "influxdbreader",
"parameter": {
"column": [
"user_name",
"time",
"user_id",
],
"connection": [
{
"endpoint": "http://localhost:8086",
"database": "datax",
"table": "datax_tb2",
}
],
"username": "jdoe",
"password": "abcABC123!@#",
"querySql": "select user_name, user_id, xxxxxxxx from datax_tb2",
}
},
use this config, we output record data by this column order : [user_name, time, user_id]
To Reproduce
- paste json content of running job
- paste the output of running job
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. CentOS]
- JDK Version [e.g. 1.8]
- DataX Version [e.g. 3.1.3]
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
we can't assume the column's order of response by influxdb. so we need specify the order in config.
like this:
use this config, we output record data by this column order : [user_name, time, user_id]
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.