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

Method HasDictionaries

cpp/src/arrow/acero/hash_join_node.cc:679–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677};
678
679bool HashJoinSchema::HasDictionaries() const {
680 for (int side = 0; side <= 1; ++side) {
681 for (int icol = 0; icol < proj_maps[side].num_cols(HashJoinProjection::INPUT);
682 ++icol) {
683 const std::shared_ptr<DataType>& column_type =
684 proj_maps[side].data_type(HashJoinProjection::INPUT, icol);
685 if (column_type->id() == Type::DICTIONARY) {
686 return true;
687 }
688 }
689 }
690 return false;
691}
692
693bool HashJoinSchema::HasLargeBinary() const {
694 for (int side = 0; side <= 1; ++side) {

Callers 1

MakeMethod · 0.80

Calls 3

num_colsMethod · 0.80
data_typeMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected