diff --git a/java/tsfile/src/main/java/org/apache/tsfile/read/common/type/RowType.java b/java/tsfile/src/main/java/org/apache/tsfile/read/common/type/RowType.java index 0c5dabbc5..96bd3b380 100644 --- a/java/tsfile/src/main/java/org/apache/tsfile/read/common/type/RowType.java +++ b/java/tsfile/src/main/java/org/apache/tsfile/read/common/type/RowType.java @@ -38,6 +38,8 @@ public class RowType extends AbstractType { private final boolean comparable; private final boolean orderable; + private static final String ROW_NAME = "row"; + private RowType(List originalFields) { this.fields = new ArrayList<>(originalFields); @@ -93,7 +95,7 @@ public TypeEnum getTypeEnum() { public String getDisplayName() { // Convert to standard sql name StringBuilder result = new StringBuilder(); - result.append("ROW").append('('); + result.append(ROW_NAME).append('('); for (Field field : fields) { String typeDisplayName = field.getType().getDisplayName(); if (field.getName().isPresent()) {