vortex_scalar/scalar_value/decimal.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4use crate::scalar_value::InnerScalarValue;
5use crate::{DecimalValue, ScalarValue};
6
7impl From<DecimalValue> for ScalarValue {
8 fn from(value: DecimalValue) -> Self {
9 Self(InnerScalarValue::Decimal(value))
10 }
11}