While jdbc-bridge functionality is awsome, I think in certain scenarios it might be overkill to spin up/monitor another service (e.g. for some etl script you run on client side). I presume it should be somewhat straightforward (basically replacing http stream with stdin/stdout or file). Something like this:
clickhouse-client --query 'select * from test' | jdbc-tool --write --table test
jdbc-tool --query "select * from test" | clickhouse-client --query "INSERT INTO ...."
While jdbc-bridge functionality is awsome, I think in certain scenarios it might be overkill to spin up/monitor another service (e.g. for some etl script you run on client side). I presume it should be somewhat straightforward (basically replacing http stream with stdin/stdout or file). Something like this: