The first num_clustering_cols_ columns by position are clustering columns.
| 375 | /// The first num_clustering_cols_ columns by position are clustering |
| 376 | /// columns. |
| 377 | bool IsClusteringCol(const SlotDescriptor* slot_desc) const { |
| 378 | return slot_desc->col_path().size() == 1 && |
| 379 | slot_desc->col_path()[0] < num_clustering_cols_ && |
| 380 | !slot_desc->IsVirtual(); |
| 381 | } |
| 382 | |
| 383 | /// Get ColumnDesc based on SchemaPath. |
| 384 | const ColumnDescriptor& GetColumnDesc(const SlotDescriptor* slot_desc) const { |