Influxdb 正在使用select*将列从XDB拖放到。。。从…起分组*

Influxdb 正在使用select*将列从XDB拖放到。。。从…起分组*,influxdb,Influxdb,我正试图从“涌入”中删除一列 在我的度量“measures”中,我有以下字段: fieldKey fieldType -------- --------- delta float index_name string index_value integer redistributed float 我想删除索引\u名称和索引\u值 对于标签: name: measures tagKey ------ conso_prod index_name mete

我正试图从“涌入”中删除一列

在我的度量“measures”中,我有以下字段:

fieldKey      fieldType
--------      ---------
delta         float
index_name    string
index_value   integer
redistributed float
我想删除
索引\u名称
索引\u值

对于标签:

name: measures
tagKey
------
conso_prod
index_name
meter_id
operation_id
source
我想删除
index\u name

因此,我将需要的所有字段/标记复制到新的度量中:

select delta INTO measures_test FROM measures group by conso_prod, operation_id, meter_id, source
但现在,我的所有标记仍然是标记,也是字段,因此它们都是重复的:

name: measures_test
fieldKey      fieldType
--------      ---------
conso_prod    string
delta         float
index_name    string
index_value   integer
meter_id      string
operation_id  string
redistributed float
source        string

name: measures_test
tagKey
------
conso_prod
meter_id
operation_id
source
为什么我的所有标记也转换为字段?应该使用
groupby