| 147 | } |
| 148 | |
| 149 | auto FileMetadataUtils::IcebergPartitionTransforms() const { |
| 150 | DCHECK(file_desc_ != nullptr); |
| 151 | DCHECK(scan_node_->hdfs_table()->IsIcebergTable()); |
| 152 | |
| 153 | using namespace org::apache::impala::fb; |
| 154 | const FbSplitFileMetadata* file_metadata = file_desc_->file_metadata; |
| 155 | DCHECK(file_metadata != nullptr); |
| 156 | const FbIcebergSplitMetadata* ice_metadata = file_metadata->iceberg_metadata(); |
| 157 | DCHECK(ice_metadata != nullptr); |
| 158 | return ice_metadata->partition_keys(); |
| 159 | } |
| 160 | |
| 161 | bool FileMetadataUtils::HasIcebergDefaultValue(const SlotDescriptor* slot_desc) { |
| 162 | if (!scan_node_->hdfs_table()->IsIcebergTable()) return false; |
nothing calls this directly
no test coverage detected