Python将数据写入ClickHouse
import osimport timefrom datetime import datetimeimport pandas as pd# 加载安装包 pandas、clickhouse_driverfrom clickhouse_driver import Clientclient = Client(host='hadoop102', port='9000', database='alibaba')for filename in os.listdir('/home/lin/data')