You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/08/26 08:34:04 UTC
[skywalking] branch master updated: Fixed #3328,
keyword data type is not long enough for saving PXX metrics. (#3332)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 3264fd4 Fixed #3328, keyword data type is not long enough for saving PXX metrics. (#3332)
3264fd4 is described below
commit 3264fd4e315571e99c704af7e659edf65f2db075
Author: 彭勇升 pengys <pe...@apache.org>
AuthorDate: Mon Aug 26 16:33:55 2019 +0800
Fixed #3328, keyword data type is not long enough for saving PXX metrics. (#3332)
---
.../server/storage/plugin/elasticsearch/base/ColumnTypeEsMapping.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/ColumnTypeEsMapping.java b/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/ColumnTypeEsMapping.java
index 335a414..958fcad 100644
--- a/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/ColumnTypeEsMapping.java
+++ b/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/ColumnTypeEsMapping.java
@@ -36,7 +36,7 @@ public class ColumnTypeEsMapping implements DataTypeMapping {
} else if (String.class.equals(type)) {
return "keyword";
} else if (IntKeyLongValueHashMap.class.equals(type)) {
- return "keyword";
+ return "text";
} else if (byte[].class.equals(type)) {
return "binary";
} else {