Load the data directly from s3 to ClickHouse

40 views
Skip to first unread message

crazylearner

unread,
Feb 9, 2021, 1:16:52 AM2/9/21
to ClickHouse
is there any way to load the data  directly from s3 to clickhouse table?

Note: S3 location will have multiple files to be loaded.

Denis Zhuravlev

unread,
Feb 9, 2021, 11:47:17 AM2/9/21
to ClickHouse

select *
from s3('http://s3.amazonaws.com/bucketname/test/file.csv',
'accesskey','secretkey','CSV', 'column1 String');

select * from s3('http://host/bucket/*.csv...
Reply all
Reply to author
Forward
0 new messages