This is an automated email from the ASF dual-hosted git repository.
tyrantlucifer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 9e9259370 [Improve][SeaTunnelSchema] Complete data type prompt. (#4181)
9e9259370 is described below
commit 9e92593709d5b20a0c2559900a0c4632aa2e7d0d
Author: lightzhao <[email protected]>
AuthorDate: Wed Feb 22 11:34:35 2023 +0800
[Improve][SeaTunnelSchema] Complete data type prompt. (#4181)
Co-authored-by: lightzhao <[email protected]>
---
.../seatunnel/connectors/seatunnel/common/schema/SeaTunnelSchema.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/seatunnel-connectors-v2/connector-common/src/main/java/org/apache/seatunnel/connectors/seatunnel/common/schema/SeaTunnelSchema.java
b/seatunnel-connectors-v2/connector-common/src/main/java/org/apache/seatunnel/connectors/seatunnel/common/schema/SeaTunnelSchema.java
index 604284bfb..c910547b4 100644
---
a/seatunnel-connectors-v2/connector-common/src/main/java/org/apache/seatunnel/connectors/seatunnel/common/schema/SeaTunnelSchema.java
+++
b/seatunnel-connectors-v2/connector-common/src/main/java/org/apache/seatunnel/connectors/seatunnel/common/schema/SeaTunnelSchema.java
@@ -152,7 +152,7 @@ public class SeaTunnelSchema implements Serializable {
} catch (IllegalArgumentException e) {
String errorMsg =
String.format(
- "Field type not support [%s], currently only
support [array, map, string, boolean, tinyint, smallint, int, bigint, float,
double, decimal, null, bytes, date, time, timestamp]",
+ "Field type not support [%s], currently only
support [array, map, string, boolean, tinyint, smallint, int, bigint, float,
double, decimal, null, bytes, date, time, timestamp, row]",
type.toUpperCase());
throw new RuntimeException(errorMsg);
}