MCPcopy Create free account
hub / github.com/apache/impala / ResolveStruct

Method ResolveStruct

be/src/exec/parquet/parquet-metadata-utils.cc:978–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976}
977
978Status ParquetSchemaResolver::ResolveStruct(const SchemaNode& node,
979 const ColumnType& col_type, const SchemaPath& path, int idx) const {
980 if (node.children.size() < 1) {
981 ErrorMsg msg(TErrorCode::PARQUET_UNRECOGNIZED_SCHEMA, filename_,
982 PrintSubPath(tbl_desc_, path, idx), "struct", node.DebugString());
983 return Status::Expected(msg);
984 }
985 return Status::OK();
986}
987
988Status ParquetSchemaResolver::ValidateScalarNode(const SchemaNode& node,
989 const ColumnType& col_type, const SchemaPath& path, int idx) const {

Callers

nothing calls this directly

Calls 4

PrintSubPathFunction · 0.85
OKFunction · 0.85
sizeMethod · 0.45
DebugStringMethod · 0.45

Tested by

no test coverage detected