Skip to content

Commit

Permalink
[Improve][SeaTunnelSchema] Complete data type prompt. (apache#4181)
Browse files Browse the repository at this point in the history
Co-authored-by: lightzhao <zhaolianyong777@gmail.com>
  • Loading branch information
lightzhao and lightzhao authored Feb 22, 2023
1 parent 9681173 commit 9e92593
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private static SeaTunnelDataType<?> parseTypeByString(String type) {
} 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);
}
Expand Down

0 comments on commit 9e92593

Please sign in to comment.