本文介绍了如何在InfluxDB中删除系列的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么解决方案可以删除InfluxDB中一系列特定的列吗?
Is there any solution to remove a specific column of a series in InfluxDB?
似乎没有实现此功能。但是,有没有人发现任何技巧可以做到这一点?
Its seems that this feature is not implemented. But does anybody have found any kind of trick to do that?
推荐答案
无法删除列(即字段或标签)。这是。
There is no way to delete a "column" (i.e. a field or a tag) from an Influx measurement. Here's the feature request for that.
您必须选择其他度量方式,不包括不需要的列:
You'll have to SELECT INTO a different measurement, excluding the columns you don't want:
SELECT useful_field, nice_tag INTO new_measurement FROM measurement
这篇关于如何在InfluxDB中删除系列的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!