Skip to content

Support extended stats creation on expressions (release-13.1)#8514

Open
onurctirtir wants to merge 3 commits intorelease-13.1from
release-auto-cp-release-13.1-1773393060
Open

Support extended stats creation on expressions (release-13.1)#8514
onurctirtir wants to merge 3 commits intorelease-13.1from
release-auto-cp-release-13.1-1773393060

Conversation

@onurctirtir
Copy link
Copy Markdown
Member

No description provided.

visridha and others added 3 commits March 13, 2026 12:11
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 enabled auto-merge (rebase) March 13, 2026 10:33
@onurctirtir onurctirtir changed the title Support extended stats creation on expressions Support extended stats creation on expressions (release-13.1) 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.19%. Comparing base (b58a1f8) to head (bf546ac).

Additional details and impacted files
@@               Coverage Diff                @@
##           release-13.1    #8514      +/-   ##
================================================
- Coverage         89.20%   89.19%   -0.01%     
================================================
  Files               284      284              
  Lines             61572    61595      +23     
  Branches           7706     7709       +3     
================================================
+ Hits              54924    54942      +18     
- Misses             4438     4442       +4     
- Partials           2210     2211       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@onurctirtir onurctirtir disabled auto-merge March 13, 2026 11:07
@colm-mchugh colm-mchugh self-requested a review March 13, 2026 11:12
@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