Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Push Down regr_ Functions

Open
#379 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c, clickhouse, postgresql, sql
Domain
databases

Research direction

Start by locating the existing pushdown handling for PostgreSQL functions and the ClickHouse version checks. Add coverage for the nine listed regr_* functions on ClickHouse 26.9 and newer, and verify that older versions do not receive unsupported pushdown; run the relevant existing tests for function pushdown.

Written by the indexing model from the issue text.

Description

enhancement functions pushdown

ClickHouse 26.9 added Postgres-compatible regr_* functions. Add pushdown support for them on 26.9 and higher. List:

  • regr_avgx(double precision, double precision) double precision
  • regr_avgy(double precision, double precision) double precision
  • regr_count(double precision, double precision) bigint
  • regr_intercept(double precision, double precision) double precision
  • regr_r2(double precision, double precision) double precision
  • regr_slope(double precision, double precision) double precision
  • regr_sxx(double precision, double precision) double precision
  • regr_sxy(double precision, double precision) double precision
  • regr_syy(double precision, double precision) double precision
Dominant language
C
Stars
284
Forks
21
Avg merge
23h 1m
Merged PRs (30d)
20

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/pg_clickhouse

All issues in ClickHouse/pg_clickhouse

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.