mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 10:34:21 +00:00
Update FunctionsJSON.h
This commit is contained in:
parent
9977629c89
commit
fb6fc028bd
@ -679,7 +679,7 @@ struct JSONExtractTree
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
const auto * type = assert_cast<const DataTypeDecimal<DecimalType> *>(data_type.get());
|
const auto * type = assert_cast<const DataTypeDecimal<DecimalType> *>(data_type.get());
|
||||||
std::stringstream ss;
|
std::stringstream ss; // STYLE_CHECK_ALLOW_STD_STRING_STREAM
|
||||||
ss << std::setprecision(type->getPrecision()) << element.getDouble();
|
ss << std::setprecision(type->getPrecision()) << element.getDouble();
|
||||||
auto str = ss.str();
|
auto str = ss.str();
|
||||||
ReadBufferFromString res(str);
|
ReadBufferFromString res(str);
|
||||||
|
Loading…
Reference in New Issue
Block a user