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

Method IsLogicalNull

cpp/src/arrow/scalar.cc:810–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808}
809
810bool DictionaryScalar::IsLogicalNull() const {
811 if (!is_valid) {
812 return true;
813 }
814 const auto& dict = value.dictionary;
815 int64_t index_value = DictionaryIndexValue(*value.index).ValueOrDie();
816 DCHECK_GE(index_value, 0);
817 DCHECK_LT(index_value, dict->length());
818 return dict->IsNull(index_value);
819}
820
821std::shared_ptr<DictionaryScalar> DictionaryScalar::Make(std::shared_ptr<Scalar> index,
822 std::shared_ptr<Array> dict) {

Callers 2

TESTFunction · 0.80

Calls 4

DictionaryIndexValueFunction · 0.85
ValueOrDieMethod · 0.80
lengthMethod · 0.45
IsNullMethod · 0.45

Tested by 1

TESTFunction · 0.64