mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-25 03:00:49 +00:00
Update FunctionsJSON.h
This commit is contained in:
parent
9977629c89
commit
fb6fc028bd
@ -679,7 +679,7 @@ struct JSONExtractTree
|
||||
return false;
|
||||
|
||||
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();
|
||||
auto str = ss.str();
|
||||
ReadBufferFromString res(str);
|
||||
|
Loading…
Reference in New Issue
Block a user