MCPcopy Create free account
hub / github.com/apache/arrow / num_cols

Method num_cols

cpp/src/arrow/acero/schema_util.h:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 int num_cols(ProjectionIdEnum schema_handle) const {
80 int id = schema_id(schema_handle);
81 return static_cast<int>(schemas_[id].second.data_types.size());
82 }
83
84 bool is_empty(ProjectionIdEnum schema_handle) const {
85 return num_cols(schema_handle) == 0;

Callers 15

GetOrderedColumnNamesFunction · 0.80
InitEncoderMethod · 0.80
EncodeBatchMethod · 0.80
ProbeBatch_OutputOneMethod · 0.80
ProbeSingleBatchMethod · 0.80
PayloadIsEmptyFunction · 0.80
MakeOutputSchemaMethod · 0.80
HasDictionariesMethod · 0.80
HasLargeBinaryMethod · 0.80
TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 5

TESTFunction · 0.64
MakeColumnParserFunction · 0.64
AssertLastRowEqFunction · 0.64
AssertColumnsEqFunction · 0.64
AssertConversionErrorFunction · 0.64