ruanwenjun commented on code in PR #2118:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2118#discussion_r912421310


##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-fake/src/main/java/org/apache/seatunnel/flink/fake/source/MockSchema.java:
##########
@@ -132,6 +132,7 @@ public TypeInformation<?> typeInformation() {
                 dataType = BasicTypeInfo.SHORT_TYPE_INFO;
                 break;
             case "long":
+            case "bigint":

Review Comment:
   Yes, use bigint is better, and I check the [seatunnel 
doc](https://seatunnel.apache.org/docs/2.1.2/connector/source/Fake#mock_data_schema-option--listcolumn_config),
 there are already support bigint.
   
   You get the error is due to ST will generate BigInteger but flink doesn't 
support BitInteger, so you need to change the line 239.
   ```java
   mockData = JMockData.mock(Long.class, mockConfig);
   ```



-- 
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]

Reply via email to