Hisoka-X commented on code in PR #9906:
URL: https://github.com/apache/seatunnel/pull/9906#discussion_r2386108378
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/type/BasicType.java:
##########
@@ -24,6 +24,7 @@ public class BasicType<T> implements SeaTunnelDataType<T> {
public static final BasicType<String> STRING_TYPE =
new BasicType<>(String.class, SqlType.STRING);
+ public static final BasicType<String> JSON_TYPE = new
BasicType<>(String.class, SqlType.JSON);
Review Comment:
We already has
https://github.com/apache/seatunnel/blob/dev/seatunnel-api/src/main/java/org/apache/seatunnel/api/table/type/CommonOptions.java#L33.
So I think we can reuse this option. Not create new type.
--
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]