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

Method IsClusteringCol

be/src/runtime/descriptors.h:377–381  ·  view source on GitHub ↗

The first num_clustering_cols_ columns by position are clustering columns.

Source from the content-addressed store, hash-verified

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 {

Callers 1

InitMethod · 0.80

Calls 2

IsVirtualMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected