mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
mJOIN: correct names for right table
This commit is contained in:
parent
642ad05473
commit
a14d955e9e
@ -66,6 +66,8 @@ struct ColumnAliasesMatcher
|
||||
if (is_public)
|
||||
identifier->setAlias(long_name);
|
||||
}
|
||||
else if (is_public)
|
||||
identifier->setAlias(identifier->name); /// prevent crop long to short name
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -5,9 +5,9 @@
|
||||
0 0 0
|
||||
10 100 1000
|
||||
20 200 2000
|
||||
┌─t1.a─┬─t2.a─┬─t2.b─┬─t3.b─┬─t3.c─┬─a─┬─b─┬─c─┐
|
||||
│ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
└──────┴──────┴──────┴──────┴──────┴───┴───┴───┘
|
||||
┌─t1.a─┬─t2.a─┬─t2.b─┬─t3.b─┬─t3.c─┬─t5.a─┬─t5.b─┬─t5.c─┐
|
||||
│ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
└──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
|
||||
0 0 0 0
|
||||
6 6 60 60
|
||||
12 12 120 120
|
||||
|
Loading…
Reference in New Issue
Block a user