diff --git be/src/runtime/types.cc be/src/runtime/types.cc index 6d9b947..469840a 100644 --- be/src/runtime/types.cc +++ be/src/runtime/types.cc @@ -50,7 +50,7 @@ ColumnType::ColumnType(const std::vector& types, int* idx) for (int i = 0; i < node.struct_fields.size(); ++i) { ++(*idx); children.push_back(ColumnType(types, idx)); - field_names.push_back(node.struct_fields[i].name); + //field_names.push_back(node.struct_fields[i].name); } break; case TTypeNodeType::ARRAY: diff --git be/src/runtime/types.h be/src/runtime/types.h index f624d34..a44213b 100644 --- be/src/runtime/types.h +++ be/src/runtime/types.h @@ -85,7 +85,7 @@ struct ColumnType { std::vector children; /// Only set if type == TYPE_STRUCT. The field name of each child. - std::vector field_names; + //std::vector field_names; ColumnType(PrimitiveType type = INVALID_TYPE) : type(type), len(-1), precision(-1), scale(-1) { diff --git be/src/util/debug-util.cc be/src/util/debug-util.cc index ceb7fbe..25ae4d2 100644 --- be/src/util/debug-util.cc +++ be/src/util/debug-util.cc @@ -257,7 +257,7 @@ string PrintPath(const TableDescriptor& tbl_desc, const SchemaPath& path) { break; case TYPE_STRUCT: DCHECK_LT(path[i], type->children.size()); - ss << type->field_names[path[i]]; + //ss << type->field_names[path[i]]; type = &type->children[path[i]]; break; default: