Skip to content

Do Not Merge! Fix for Aliases and Lazy Materialization - #2560

Open
ilejn wants to merge 2 commits into
antalya-25.8from
bugfix/antalya-25.8/CH-544
Open

ilejn wants to merge 2 commits into
antalya-25.8from
bugfix/antalya-25.8/CH-544

Conversation

@ilejn

@ilejn ilejn commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Logical Error fixed if both Alias and original column are selected.

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

@ilejn

ilejn commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator Author

Repro

CREATE TABLE t_str (id UInt64, ts DateTime, s String, s_alias String ALIAS s)
ENGINE = MergeTree ORDER BY id;
INSERT INTO t_str SELECT number, toDateTime('2026-01-01 00:00:00') + number, toString(number) FROM numbers(100);
SELECT s, s_alias FROM t_str ORDER BY ts DESC LIMIT 10;

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Workflow [PR], commit [a2ea700]

Signed-off-by: Ilya Golshtein <igolshtein@altinity.com>
@ilejn
ilejn force-pushed the bugfix/antalya-25.8/CH-544 branch from 6f0a6cb to e47d7e8 Compare October 13, 2026 16:49
Signed-off-by: Ilya Golshtein <igolshtein@altinity.com>

This branch has not been deployed

No deployments
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.

1 participant