C++ implementation of quantile aggregate functions for DuckDB.
// Source: https://github.com/duckdb/duckdb | License: MIT | Copyright 2018-2026 Stichting DuckDB Foundation // Provided via justclaw.it.com; keep this notice with the code. #include "core_functions/aggregate/holistic_functions.hpp" #include "core_functions/aggregate/quantile_state.hpp" #include "duckdb/common/enums/quantile_enum.hpp" #include "duckdb/common/operator/abs.hpp" #include "duckdb/common/operator/cast_operators.hpp" #include "duckdb/common/serializer/deserializer.hpp" #include "duckdb/common/serializer/serializer.hpp" #include "duckdb/common/smaller_binary.hpp" #include "duckdb/common/types/timestamp.hpp" #include "duckdb/common/vector/flat_vector.hpp" #include "duckdb/common/vector/list_vector.hpp" #include "duckdb/common/vector/string_vector.hpp" #include "duckdb/execution/ex ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key