wuchong commented on a change in pull request #10667: [FLINK-15313][table] Fix
can't insert decimal data into sink using TypeInformation
URL: https://github.com/apache/flink/pull/10667#discussion_r361129271
##########
File path:
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/typeutils/BaseRowTypeInfo.java
##########
@@ -60,7 +60,8 @@ public BaseRowTypeInfo(LogicalType... logicalTypes) {
public BaseRowTypeInfo(LogicalType[] logicalTypes, String[] fieldNames)
{
super(BaseRow.class, Arrays.stream(logicalTypes)
-
.map(TypeInfoLogicalTypeConverter::fromLogicalTypeToTypeInfo)
+ .map(TypeConversions::fromLogicalToDataType)
Review comment:
I reverted this line.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services