| 362 | } |
| 363 | |
| 364 | bool 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 |
no test coverage detected