jackyyyyyssss commented on code in PR #5939:
URL: https://github.com/apache/seatunnel/pull/5939#discussion_r1411524251
##########
seatunnel-connectors-v2/connector-http/connector-http-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/http/source/HttpSource.java:
##########
@@ -156,16 +154,7 @@ protected void buildSchemaWithConfig(Config pluginConfig) {
TableSchema.builder()
.column(
PhysicalColumn.of(
- "content",
- new SeaTunnelRowType(
- new String[] {"content"},
- new SeaTunnelDataType<?>[]
{
- BasicType.STRING_TYPE
- }),
- 0,
- false,
- null,
- null))
+ "content", BasicType.STRING_TYPE,
0, false, null, null))
Review Comment:
Yes, without a schema, the actual HTTP request is converted to a string. If
using the row type, there will be a type conversion error
--
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]