Skip to main content

datafusion_functions_aggregate_common/
stats.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/// TODO: Move this to functions-aggregate module
6/// Enum used for differentiating population and sample for statistical functions
7#[derive(PartialEq, Eq, Debug, Clone, Copy, Hash)]
8pub enum StatsType {
9    /// Population
10    Population,
11    /// Sample
12    Sample,
13}