Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public static Schema convertToSchema(LogicalType logicalType, String rowName) {
LogicalType fieldType = rowType.getTypeAt(i);
SchemaBuilder.GenericDefault<Schema> fieldBuilder =
builder.name(fieldName)
.type(convertToSchema(fieldType, rowName + "_" + fieldName));
.type(convertToSchema(fieldType, rowName + "." + fieldName));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment in line 174 should also be tweaked.


if (fieldType.isNullable()) {
builder = fieldBuilder.withDefault(null);
Expand Down