clickhouse-cli icon indicating copy to clipboard operation
clickhouse-cli copied to clipboard

[Feature request] External Data for Query Processing

Open phuongdo opened this issue 6 years ago • 0 comments

Hi, When using the HTTP interface, we can use external data for the processing eg.

$ cat /etc/passwd | sed 's/:/\t/g' > passwd.tsv

$ curl -F '[email protected];' 'http://localhost:8123/?query=SELECT+shell,+count()+AS+c+FROM+passwd+GROUP+BY+shell+ORDER+BY+c+DESC&passwd_structure=login+String,+unused+String,+uid+UInt16,+gid+UInt16,+comment+String,+home+String,+shell+String'
/bin/sh 20
/bin/false      5
/bin/bash       4
/usr/sbin/nologin       1
/bin/sync       1

But i don't know how to do it inclickhouse-cli, could you please help to support this feature?

phuongdo avatar Nov 12 '19 03:11 phuongdo