[hotfix] Fix Scala 2.12 build

上级 c59e8945
......@@ -70,7 +70,7 @@ final class TestingOverwritableTableSink private (
override def getConsumedDataType: DataType = getTableSchema.toRowDataType
def getTableSchema: TableSchema = {
override def getTableSchema: TableSchema = {
val dataTypes: Array[DataType] = fieldTypes.map(TypeConversions.fromLegacyInfoToDataType)
TableSchema.builder().fields(fieldNames, dataTypes).build()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册