Skip to main content

datafusion_functions_aggregate_common/
lib.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//! Common Aggregate functionality for [DataFusion]
6//!
7//! This crate contains traits and utilities commonly used to implement aggregate functions
8//! They are kept in their own crate to avoid physical expressions depending on logical expressions.
9//!
10//! [DataFusion]: <https://crates.io/crates/datafusion>
11
12#![doc(
13    html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",
14    html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"
15)]
16#![cfg_attr(docsrs, feature(doc_cfg))]
17// Make sure fast / cheap clones on Arc are explicit:
18// https://github.com/apache/datafusion/issues/11143
19#![deny(clippy::clone_on_ref_ptr)]
20#![cfg_attr(test, allow(clippy::needless_pass_by_value))]
21
22pub mod accumulator;
23pub mod aggregate;
24pub mod merge_arrays;
25pub mod min_max;
26pub mod noop_accumulator;
27pub mod order;
28pub mod stats;
29pub mod tdigest;
30pub mod utils;