摘要:
使用clickhouse_driver 的Client方法、和connect方法一直无法连接上clickhouse,但是对应的地址和连接信息在dbeaver中可以连接上 因为clickhouse的连接分为了tcp和http,对应的端口不一样 而公司中使用的是k8s,需要在services中查看cli 阅读全文
posted @ 2021-11-24 18:52
木木-林
阅读(2425)
评论(0)
推荐(1)
摘要:
下载第三方模块 pip install python-dateutil def time_diff(t1,t2): t1 = parse(t1) t2 = parse(t2) ts = (t2-t1).total_seconds() int_ts = int(ts/60) return int_ts 阅读全文
posted @ 2021-11-24 08:22
木木-林
阅读(152)
评论(0)
推荐(0)
浙公网安备 33010602011771号