ZhangZhihui's Blog  

2025年9月24日

摘要: ${flow.name} ${flow.id} ${job.name} ${job.id} ${biz.date} #20250924 ${yyyyMM} #202509 阅读全文
posted @ 2025-09-24 14:45 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0)
 
摘要: with open("data.csv", "w", newline="", encoding="utf-8") as f Why use newline=""? Don't we need to break lines? ChatGPT said: Ah, good question! This 阅读全文
posted @ 2025-09-24 10:31 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)
 
摘要: Data contains single quote: import json from datetime import date, datetime def to_greenplum_value(v): if v is None: return "NULL" elif isinstance(v, 阅读全文
posted @ 2025-09-24 09:07 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0)