Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0bd619b
Analyzer: fix __aliasMarker
filimonov Feb 24, 2026
610d297
Add distributed alias marker regressions
filimonov Mar 10, 2026
439ab81
Consolidate distributed alias regression tests
filimonov Mar 10, 2026
205cd72
Fix distributed alias marker handling
filimonov Mar 10, 2026
1ef98ae
Tighten alias marker serialization contract
filimonov Mar 10, 2026
4f6d06c
Preserve nested __aliasMarker chains across hops
filimonov Mar 11, 2026
0271d62
Add distributed-over-distributed double alias marker test
filimonov Mar 11, 2026
321674e
Fix remote/local header remap by name when safe
filimonov Mar 12, 2026
1f62781
Revert "Fix remote/local header remap by name when safe"
filimonov Mar 12, 2026
24797c4
Add DoD regression for alias column swap with enable_alias_marker=0
filimonov Mar 12, 2026
b89d56e
tests: add DoD+parallel replicas alias column-swap reproducer
filimonov Mar 12, 2026
86c88ed
Planner: prefer name-based conversion with position fallback
filimonov Mar 12, 2026
2c1e90d
test: plain-Distributed alias column-swap reproducer (PlannerJoinTree)
filimonov May 26, 2026
ad35dc2
test: parallel-replicas alias column-swap reproducer (findParallelRep…
filimonov May 26, 2026
82831da
test: natural Merge-over-Distributed alias reproducer (failing)
filimonov May 26, 2026
324d41d
Fix StorageMerge alias columns over Distributed by emitting identifie…
filimonov May 26, 2026
67e461d
test: distributed alias reorder + computed-expression correctness
filimonov May 26, 2026
ea516c3
test: Hybrid unknown-table regression for issues #1208 #1209 #1422
filimonov May 26, 2026
23e8ba6
StorageMerge: drop redundant short-name reconciliation heuristics
filimonov May 26, 2026
3d20d98
tests: remove contradictory marker-off DoD alias-swap tests (03925, 0…
filimonov May 27, 2026
e7ae515
Address review findings on the __aliasMarker / header-reconciliation …
filimonov May 27, 2026
15d85e5
StorageMerge: use Nested::splitName for analyzer-identifier suffix ex…
filimonov May 27, 2026
5967d5b
test: make 03928 deterministic across architectures
filimonov May 27, 2026
ade20aa
test: pin serialize_query_plan=0 in 03923 and 03934
filimonov May 27, 2026
9ea1597
Document enable_alias_marker escape hatch for mixed-version clusters
filimonov May 27, 2026
a235560
test: make 03931 parallel-replicas alias test deterministic
filimonov May 27, 2026
907d00c
Document bucket D drop rationale + preserve SQL
filimonov May 28, 2026
e562e7d
Planner: switch name-vs-position helper to a predicate selector
filimonov May 28, 2026
ea41305
Merge remote-tracking branch 'altinity/antalya-26.3' into feature/ant…
filimonov May 28, 2026
956089b
Nits: clarity refactor + Nested-subcolumn TODO
filimonov May 29, 2026
b4fb40c
StorageMerge: emit alias outputs under analyzer identifiers (schema-l…
filimonov May 29, 2026
b178014
Planner: include column-name lists in Position-fallback LOG_TEST diag…
filimonov May 29, 2026
2cb9bd9
StorageMerge: accept raw-dot dotted ALIAS identifiers in schema lookup
filimonov May 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
analyzer
x x
legacy
x x
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
DROP TABLE IF EXISTS test_nested_alias_dist;
DROP TABLE IF EXISTS test_nested_alias_local;

CREATE TABLE test_nested_alias_local
(
dt DateTime64(3),
base String,
a String ALIAS base,
b String ALIAS a
)
ENGINE = MergeTree()
ORDER BY dt;

INSERT INTO test_nested_alias_local VALUES ('1999-03-29T01:15:33', 'x');

CREATE TABLE test_nested_alias_dist AS test_nested_alias_local
ENGINE = Distributed('test_shard_localhost', currentDatabase(), test_nested_alias_local, rand());

SELECT 'analyzer';
SELECT a, b
FROM test_nested_alias_dist
ORDER BY dt
LIMIT 1
SETTINGS enable_analyzer = 1;

SELECT 'legacy';
SELECT a, b
FROM test_nested_alias_dist
ORDER BY dt
LIMIT 1
SETTINGS enable_analyzer = 0;

DROP TABLE test_nested_alias_dist;
DROP TABLE test_nested_alias_local;
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rewrite_in
1
1
rewrite_join
1
1
1
1
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
DROP TABLE IF EXISTS test_global_alias_chain_dist;
DROP TABLE IF EXISTS test_global_alias_chain_local;

CREATE TABLE test_global_alias_chain_local
(
id UInt64,
base UInt64,
a UInt64 ALIAS base,
b UInt64 ALIAS a
)
ENGINE = MergeTree()
ORDER BY id;

INSERT INTO test_global_alias_chain_local VALUES (1, 1);

CREATE TABLE test_global_alias_chain_dist AS test_global_alias_chain_local
ENGINE = Distributed('test_cluster_two_shards', currentDatabase(), test_global_alias_chain_local, rand());

SELECT 'rewrite_in';
SELECT id
FROM test_global_alias_chain_dist
WHERE id IN (SELECT b FROM test_global_alias_chain_dist)
ORDER BY id
SETTINGS enable_analyzer = 1, distributed_product_mode = 'global';

SELECT 'rewrite_join';
SELECT l.id
FROM test_global_alias_chain_dist AS l
INNER JOIN (SELECT b FROM test_global_alias_chain_dist) AS r ON l.id = r.b
ORDER BY l.id
SETTINGS enable_analyzer = 1, distributed_product_mode = 'global';

DROP TABLE test_global_alias_chain_dist;
DROP TABLE test_global_alias_chain_local;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global_in_collision_check
1
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
DROP TABLE IF EXISTS test_marker_collision_dist;
DROP TABLE IF EXISTS test_marker_collision_main;
DROP TABLE IF EXISTS test_marker_collision_left;
DROP TABLE IF EXISTS test_marker_collision_right;

CREATE TABLE test_marker_collision_main
(
id UInt64
)
ENGINE = MergeTree()
ORDER BY id;

INSERT INTO test_marker_collision_main VALUES (1);

CREATE TABLE test_marker_collision_left
(
id UInt64,
x UInt64,
b UInt64 ALIAS x
)
ENGINE = MergeTree()
ORDER BY id;

CREATE TABLE test_marker_collision_right
(
id UInt64,
y UInt64,
b UInt64 ALIAS y
)
ENGINE = MergeTree()
ORDER BY id;

INSERT INTO test_marker_collision_left VALUES (1, 1);
INSERT INTO test_marker_collision_right VALUES (1, 20);

CREATE TABLE test_marker_collision_dist AS test_marker_collision_main
ENGINE = Distributed('test_shard_localhost', currentDatabase(), test_marker_collision_main, rand());

SELECT 'global_in_collision_check';
SELECT id
FROM test_marker_collision_dist
WHERE id GLOBAL IN
(
SELECT test_marker_collision_left.id
FROM test_marker_collision_left
INNER JOIN test_marker_collision_right
ON test_marker_collision_left.id = test_marker_collision_right.id
WHERE test_marker_collision_left.b + test_marker_collision_right.b = 21
)
ORDER BY id
SETTINGS enable_analyzer = 1, enable_alias_marker = 1;

DROP TABLE test_marker_collision_dist;
DROP TABLE test_marker_collision_main;
DROP TABLE test_marker_collision_left;
DROP TABLE test_marker_collision_right;
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
merge_tree_row_count
5
iceberg_row_count
5
hybrid_row_count
5
true 8751 7291.267979503492 Frank 2024-01-01 06:00:00.000000 2024-01-01 43200000000 2024-01-01 12:00:00.000000 5313 8428.52 456.78
false 3611 4492.090462838536 Isaac 2024-01-01 06:00:00.000000 2024-01-01 43200000000 2024-01-01 12:00:00.000000 4552 1554.795 456.78
true 1519 3799.273006373374 Louis 2024-01-01 06:00:00.000000 2024-01-01 43200000000 2024-01-01 12:00:00.000000 8785 1248.2616 456.78
true 1654 3801.2622503916614 Oliver 2024-01-01 06:00:00.000000 2024-01-01 43200000000 2024-01-01 12:00:00.000000 3432 6701.752 456.78
true 9044 2931.782814070929 William 2024-01-01 06:00:00.000000 2024-01-01 43200000000 2024-01-01 12:00:00.000000 3733 7730.6836 456.78
issue_1208_join_hybrid_mt_local
Frank 8751 8751
Isaac 3611 3611
Louis 1519 1519
Oliver 1654 1654
William 9044 9044
issue_1208_join_hybrid_mt_allow
Frank 8751 8751
Isaac 3611 3611
Louis 1519 1519
Oliver 1654 1654
William 9044 9044
issue_1208_join_hybrid_mt_iceberg_local
issue_1208_join_hybrid_mt_iceberg_allow
Frank 8751 8751 8751
Isaac 3611 3611 3611
Louis 1519 1519 1519
Oliver 1654 1654 1654
William 9044 9044 9044
Loading
Loading