Skip to content

Support extended stats creation on expressions (release-13.0)#8513

Open
onurctirtir wants to merge 3 commits intorelease-13.0from
release-auto-cp-release-13.0-1773392576
Open

Support extended stats creation on expressions (release-13.0)#8513
onurctirtir wants to merge 3 commits intorelease-13.0from
release-auto-cp-release-13.0-1773392576

Conversation

@onurctirtir
Copy link
Copy Markdown
Member

No description provided.

visridha and others added 3 commits March 13, 2026 12:02
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)
#8182)

DESCRIPTION: Remove Code Climate coverage upload steps from GitHub
Actions workflow

CI: remove Code Climate coverage reporting (cc-test-reporter) and
related jobs; keep Codecov as source of truth

* **Why**
Code Climate’s test-reporter has been archived; their download/API path
is no longer served, which breaks our CC upload step (`cc-test-reporter
…` ends up downloading HTML/404).

* **What changed**

* Drop the Code Climate formatting/artifact steps from the composite
action `.github/actions/upload_coverage/action.yml`.
* Delete the `upload-coverage` job that aggregated and pushed to Code
Climate (`cc-test-reporter sum-coverage` / `upload-coverage`).

* **Impact**

  * Codecov uploads remain; coverage stays visible via Codecov.
  * No test/build behavior change—only removes a failing reporter path.

(cherry picked from commit 8bb8b2c)

Conflicts:
	.github/workflows/build_and_test.yml
@onurctirtir onurctirtir changed the title Support extended stats creation on expressions Support extended stats creation on expressions (release-13.0) Mar 13, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 13, 2026

Codecov Report

❌ Patch coverage is 88.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.47%. Comparing base (b9b2005) to head (65a34a8).

Additional details and impacted files
@@              Coverage Diff              @@
##           release-13.0    #8513   +/-   ##
=============================================
  Coverage         89.47%   89.47%           
=============================================
  Files               276      276           
  Lines             60130    60152   +22     
  Branches           7538     7541    +3     
=============================================
+ Hits              53800    53824   +24     
+ Misses             4174     4173    -1     
+ Partials           2156     2155    -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@colm-mchugh colm-mchugh self-requested a review March 13, 2026 11:13
@onurctirtir onurctirtir enabled auto-merge (rebase) March 13, 2026 11:51
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.

4 participants