Skip to content

Backport #7917, #7974 and #7975 to release-12.1#8208

Closed
onurctirtir wants to merge 2 commits intorelease-12.1from
release-12.1-onur
Closed

Backport #7917, #7974 and #7975 to release-12.1#8208
onurctirtir wants to merge 2 commits intorelease-12.1from
release-12.1-onur

Conversation

@onurctirtir
Copy link
Copy Markdown
Member

@onurctirtir onurctirtir commented Sep 22, 2025

cherry-pick the following at once for citus_stat_counters, not just the first commit:

3d61c4d
d2e6cf1
ea7aa67

This only backports binary changes and the tests for testing early on dev machines. For tests to work, also defines the user-facing UDFs for related test files.

DESCRIPTION: PR description that will go into the change log, up to 78 characters

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 22, 2025

Codecov Report

❌ Patch coverage is 88.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.65%. Comparing base (c569f83) to head (ea7e5fc).
⚠️ Report is 5 commits behind head on release-12.1.

Additional details and impacted files
@@              Coverage Diff              @@
##           release-12.1    #8208   +/-   ##
=============================================
  Coverage         89.65%   89.65%           
=============================================
  Files               276      276           
  Lines             59709    59790   +81     
  Branches           7454     7471   +17     
=============================================
+ Hits              53530    53604   +74     
- Misses             4041     4042    +1     
- Partials           2138     2144    +6     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@onurctirtir onurctirtir changed the title Add citus_stat_counters view and citus_stat_counters_reset() function to reset it (#7917, #7974, #7975) Backport #7917, #7974 and #7975 to release-12.1 Sep 30, 2025
visridha and others added 2 commits March 13, 2026 11:57
DESCRIPTION: Support extended stats creation on expressions

CREATE STATISTICS today gets pushed to the shards only if the statistics
is on a column expression. However, PG14 added support for expressions
(opExpr, FuncExprs) etc. This change adds support for it under a GUC.
This reuses the same logic as CHECK constraints to parse, transform, and
deparse the exprs and add it to the statistics call.

(cherry picked from commit ad2140d)

Conflicts:
	src/backend/distributed/deparser/deparse_statistics_stmts.c
…le the feature (#8512)

Removing the GUC introduced at
#8501 as it's not needed at all.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: onurctirtir <16804727+onurctirtir@users.noreply.github.com>
(cherry picked from commit 84ddcd9)
@onurctirtir onurctirtir deleted the release-12.1-onur branch March 13, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants