mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix
This commit is contained in:
parent
82b4986ee3
commit
10ed5a8521
@ -54,7 +54,7 @@ inline void setVirtualRow(Chunk & chunk, const Block & header)
|
||||
const ColumnWithTypeAndName & type_and_name = header.getByPosition(i);
|
||||
ColumnPtr current_column = type_and_name.type->createColumn();
|
||||
|
||||
size_t pos = type_and_name.name.find_last_of(".");
|
||||
size_t pos = type_and_name.name.find_last_of('.');
|
||||
String column_name = (pos == String::npos) ? type_and_name.name : type_and_name.name.substr(pos + 1);
|
||||
|
||||
const ColumnWithTypeAndName * column = pk_block.findByName(column_name, true);
|
||||
|
Loading…
Reference in New Issue
Block a user