ClickHouseClient icon indicating copy to clipboard operation
ClickHouseClient copied to clipboard

Is there a way to get results with FORMAT specification?

Open devashe opened this issue 3 years ago • 1 comments

I need to get results of a query

select 1 as a,2 as b,3 as c,4 as d
FORMAT JSONEachRow

as a set of rows (one row for this case) with a single column containing the results as a json string. Is it possible?

devashe avatar Mar 28 '23 13:03 devashe

This is client's feature.

@victor-sushko Maybe in the future we will make some kind of extension mechanism for client serialization plug-ins

SergeyMirvoda avatar Mar 11 '24 18:03 SergeyMirvoda