逗号分隔字符串上的多值维度
Multi valued dimension on comma delimited string
我们有一个维度,其值作为逗号分隔的字符串(例如:"t1,t2,t3"),是否有可能我们可以将此维度视为多值维度而不将其存储为 JSON 数组?
注意:如果我们必须更正它们并加载为 JSON 数组,则必须修复过去 6 个月的所有历史数据
谢谢,
萨西什
根据 documentation, multi-valued fields are generated during data ingestion. So if you have ingested your data as a single coma-delimited string, then the only way to treat it as a multi-value field, is to re-ingest your data. That is, if you want to filter by that value or to use it in "groupBy" queries. If you want just extract sub-portion of the data, then extraction functions 可以使用。
我们有一个维度,其值作为逗号分隔的字符串(例如:"t1,t2,t3"),是否有可能我们可以将此维度视为多值维度而不将其存储为 JSON 数组?
注意:如果我们必须更正它们并加载为 JSON 数组,则必须修复过去 6 个月的所有历史数据
谢谢, 萨西什
根据 documentation, multi-valued fields are generated during data ingestion. So if you have ingested your data as a single coma-delimited string, then the only way to treat it as a multi-value field, is to re-ingest your data. That is, if you want to filter by that value or to use it in "groupBy" queries. If you want just extract sub-portion of the data, then extraction functions 可以使用。