arrow_data/transform/null.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
3// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements
4
5use super::{_MutableArrayData, Extend};
6use crate::ArrayData;
7
8pub(super) fn build_extend(_: &ArrayData) -> Extend<'_> {
9 Box::new(move |_, _, _, _| Ok(()))
10}
11
12pub(super) fn extend_nulls(
13 _: &mut _MutableArrayData,
14 _: usize,
15) -> Result<(), arrow_schema::ArrowError> {
16 Ok(())
17}