Skip to main content

datafusion_common/utils/
expr.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
5//! Expression utilities
6
7use crate::ScalarValue;
8
9///  The value to which `COUNT(*)` is expanded to in
10///  `COUNT(<constant>)` expressions
11pub const COUNT_STAR_EXPANSION: ScalarValue = ScalarValue::Int64(Some(1));