kezhenxu94 commented on a change in pull request #8564:
URL: https://github.com/apache/skywalking/pull/8564#discussion_r810630461



##########
File path: 
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/StorageEsInstaller.java
##########
@@ -215,9 +215,9 @@ protected Mappings createMapping(Model model) {
                 properties.put(matchCName, matchColumn);
             } else {
                 Map<String, Object> column = new HashMap<>();
-                column.put(
-                    "type", 
columnTypeEsMapping.transform(columnDefine.getType(), 
columnDefine.getGenericType()));
-                if (columnDefine.isStorageOnly()) {
+                column.put("type", type);
+                // no index parameter is allowed for binary type, since ES 8.0

Review comment:
       
https://github.com/apache/skywalking/blob/f7bcb76784f968b865f31c7abfbd7c3a33945986/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/alarm/AlarmRecord.java#L80




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to