Skip to content

Conversation

SkyFan2002
Copy link
Member

@SkyFan2002 SkyFan2002 commented Oct 5, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Complex queries often contain repeated or similar subexpressions. Evaluating each common subexpression once and reusing its result may speed up execution.

WIP...

fixes: #17661

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Oct 5, 2025
@SkyFan2002 SkyFan2002 added ci-cloud Build docker image for cloud test and removed pr-feature this PR introduces a new feature to the codebase labels Oct 5, 2025
@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Oct 5, 2025
@SkyFan2002 SkyFan2002 added ci-cloud Build docker image for cloud test and removed ci-cloud Build docker image for cloud test labels Oct 5, 2025
Copy link
Contributor

github-actions bot commented Oct 5, 2025

Docker Image for PR

  • tag: pr-18821-867d227-1759653842

note: this image tag is only available for internal use.

Copy link
Contributor

github-actions bot commented Oct 5, 2025

Docker Image for PR

  • tag: pr-18821-ee5fbde-1759654495

note: this image tag is only available for internal use.

@SkyFan2002 SkyFan2002 added ci-cloud Build docker image for cloud test and removed ci-cloud Build docker image for cloud test labels Oct 10, 2025
Copy link
Contributor

github-actions bot commented Oct 10, 2025

🤖 Smart Auto-retry Analysis

Workflow: 18400658113

📊 Summary

  • Total Jobs: 6
  • Failed Jobs: 1
  • Retryable: 0
  • Code Issues: 1

NO RETRY NEEDED

All failures appear to be code/test issues requiring manual fixes.

🔍 Job Details

  • explain / cloud: Not retryable (Code/Test)

🤖 About

Automated analysis using job annotations to distinguish infrastructure issues (auto-retried) from code/test issues (manual fixes needed).

Copy link
Contributor

Docker Image for PR

  • tag: pr-18821-270046a-1760087471

note: this image tag is only available for internal use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cloud Build docker image for cloud test pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Common Sub-expression Elimination (CSE) Optimization

1 participant