You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "ashulin (via GitHub)" <gi...@apache.org> on 2023/03/05 09:14:57 UTC
[GitHub] [incubator-seatunnel] ashulin commented on a diff in pull request #4274: [Bug][Connector-V2][ES]Fix es field type not support binary(#4240)
ashulin commented on code in PR #4274:
URL: https://github.com/apache/incubator-seatunnel/pull/4274#discussion_r1125627002
##########
seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/constant/EsTypeMappingSeaTunnelType.java:
##########
@@ -32,6 +34,7 @@ public class EsTypeMappingSeaTunnelType {
put("string", BasicType.STRING_TYPE);
put("keyword", BasicType.STRING_TYPE);
put("text", BasicType.STRING_TYPE);
+ put("binary", BasicType.STRING_TYPE);
Review Comment:
+1,`byte[]` is better for `binary` type than `String`
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org