can postgREST be helpful for this? Clickhouse also has an http endpoint to send queries