Skip to content

insert from file for temporary tables #22054

@toomish

Description

@toomish

It is possible to insert data from file using clickhouse-client:
clickhouse-client ... --query 'insert into mytable format CSV < data.csv

But for temporary tables it is not working because temporary tables are not visible in other sessions.

I suggest to allow 'insert' from file within clickhouse-client session, like select does (select into outfile '...').
For example:
insert into mytable format CSV fromfile 'data.csv'

Metadata

Metadata

Assignees

Labels

featurest-acceptedThe issue is in our backlog, ready to take

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions