clickhouse 数据导入

Last updated on November 22, 2024 pm

🧙 Questions

☄️ Ideas

导入csv文件

/data/eswin_data/dws_alarm_ordered.csv 为服务器中的文件
DateTime must be in YYYY-MM-DD hh:mm:ss or NNNNNNNNNN

# 需要先执行clickhouse的客户端
clickhouse-client --port 30127 --password 
INSERT INTO fanruan_db.dwd_medcresdat FROM INFILE '/data/eswin_data/dwd_medcresdat.csv' FORMAT CSV;

clickhouse 数据导入
https://ispong.isxcode.com/db/clickhouse/clickhouse 数据导入/
Author
ispong
Posted on
February 15, 2023
Licensed under