| 1918 | } |
| 1919 | |
| 1920 | std::shared_ptr<Scalar> MakeSpecificNullScalar(const DenseUnionType& type, |
| 1921 | int field_index) { |
| 1922 | int8_t type_code = type.type_codes()[field_index]; |
| 1923 | auto value = MakeNullScalar(type.field(field_index)->type()); |
| 1924 | return std::make_shared<DenseUnionScalar>(value, type_code, type.GetSharedPtr()); |
| 1925 | } |
| 1926 | |
| 1927 | std::shared_ptr<Scalar> MakeSpecificNullScalar(const SparseUnionType& type, |
| 1928 | int field_index) { |
no test coverage detected