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

Method NeedDataInFile

be/src/exec/file-metadata-utils.cc:357–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357bool FileMetadataUtils::NeedDataInFile(const SlotDescriptor* slot_desc) {
358 if (IsValuePartitionCol(slot_desc)) return false;
359 if (slot_desc->IsVirtual()) return false;
360 if (HasIcebergDefaultValue(slot_desc)) return false;
361 return true;
362}
363
364bool FileMetadataUtils::ShouldSkipReadFromFile(const SlotDescriptor* slot_desc) {
365 // Skip partition columns as they're populated from partition values

Callers 6

CreateColumnReadersMethod · 0.80
ResolveColumnsMethod · 0.80
ResolveSchemasMethod · 0.80

Calls 1

IsVirtualMethod · 0.80

Tested by

no test coverage detected