mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
Fix error
This commit is contained in:
parent
8e8160be28
commit
aa25ffa9e3
@ -51,6 +51,11 @@ FillingTransform::FillingTransform(
|
|||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (descr.fill_from.getType() > max_type
|
||||||
|
|| descr.fill_to.getType() > max_type
|
||||||
|
|| descr.fill_step.getType() > max_type)
|
||||||
|
return false;
|
||||||
|
|
||||||
descr.fill_from = convertFieldToType(descr.fill_from, *to_type);
|
descr.fill_from = convertFieldToType(descr.fill_from, *to_type);
|
||||||
descr.fill_to = convertFieldToType(descr.fill_to, *to_type);
|
descr.fill_to = convertFieldToType(descr.fill_to, *to_type);
|
||||||
descr.fill_step = convertFieldToType(descr.fill_step, *to_type);
|
descr.fill_step = convertFieldToType(descr.fill_step, *to_type);
|
||||||
|
Loading…
Reference in New Issue
Block a user