| 1858 | } |
| 1859 | |
| 1860 | std::shared_ptr<Scalar> MakeSpecificNullScalar(const DenseUnionType& type, |
| 1861 | int field_index) { |
| 1862 | int8_t type_code = type.type_codes()[field_index]; |
| 1863 | auto value = MakeNullScalar(type.field(field_index)->type()); |
| 1864 | return std::make_shared<DenseUnionScalar>(value, type_code, type.GetSharedPtr()); |
| 1865 | } |
| 1866 | |
| 1867 | std::shared_ptr<Scalar> MakeSpecificNullScalar(const SparseUnionType& type, |
| 1868 | int field_index) { |
no test coverage detected