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

Method ShouldSkipReadFromFile

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

Source from the content-addressed store, hash-verified

362}
363
364bool FileMetadataUtils::ShouldSkipReadFromFile(const SlotDescriptor* slot_desc) {
365 // Skip partition columns as they're populated from partition values
366 if (IsValuePartitionCol(slot_desc)) return true;
367 // Skip virtual columns
368 if (slot_desc->IsVirtual()) return true;
369 // For default values: don't skip - we want to read data if it exists in the file
370 // The default is only used when data is missing from the file
371 return false;
372}
373
374} // namespace impala

Callers 2

CreateColumnReadersMethod · 0.80
ResolveColumnsMethod · 0.80

Calls 1

IsVirtualMethod · 0.80

Tested by

no test coverage detected