Skip to content

Commit 473971b

Browse files
authored
Set es text type to string (#4192)
1 parent c485d88 commit 473971b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/catalog/ElasticSearchDataTypeConvertor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public SeaTunnelDataType<?> toSeaTunnelType(String connectorDataType, Map<String
8080
case DATE:
8181
return LocalTimeType.LOCAL_DATE_TIME_TYPE;
8282
default:
83-
throw new DataTypeConvertException("unsupported connectorDataType: " + connectorDataType);
83+
return BasicType.STRING_TYPE;
8484
}
8585
}
8686

0 commit comments

Comments
 (0)