simplest query reproducing
SELECT 11189782786942380395 AS v
output_format_json_quote_64bit_integers=1 not affected result
it shows as 11189782786942380000
data proxy JSON output
{
"meta":
[
{
"name": "v",
"type": "UInt64"
}
],
"data":
[
{
"v": 11189782786942380395 /* or "11189782786942380395" if output_format_json_quote_64bit_integers=1 */
}
],
"rows": 1,
"statistics":
{
"elapsed": 0.003147184,
"rows_read": 1,
"bytes_read": 1
}
}