ZhangZhihui's Blog  
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 116 下一页

2025年8月31日

摘要: The faker package in Python is a third-party library for generating fake (but realistic-looking) test data. It’s very useful when you need to populate 阅读全文
posted @ 2025-08-31 14:57 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0)
 
摘要: import os import datetime import globimport xlwings as xw class ExcelMerger: def __init__(self, input_dir, output_file): self.input_dir = input_dir se 阅读全文
posted @ 2025-08-31 13:22 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)

2025年8月29日

摘要: 金山云数据湖里提供了 DataX数据同步 和 Spark数据同步 两种方式,它们主要差别在以下几个方面: 1. 执行引擎 DataX数据同步 基于阿里开源的 DataX 工具。 本质上是单机/多进程方式执行,数据同步过程主要由 DataX 的 Reader(读插件)和 Writer(写插件)驱动。 阅读全文
posted @ 2025-08-29 10:45 ZhangZhihuiAAA 阅读(24) 评论(0) 推荐(0)

2025年8月28日

摘要: 在 DataX 中,针对数据库类的数据源,常见有两种同步模式: JDBC 模式 和 LOAD 模式。两者的区别主要体现在 实现方式、性能和适用场景 上: 1. JDBC 模式 原理:通过标准的 JDBC 驱动,使用 SQL 查询 (SELECT ...) 读取源库数据,再用 INSERT ... / 阅读全文
posted @ 2025-08-28 17:21 ZhangZhihuiAAA 阅读(29) 评论(0) 推荐(0)

2025年8月27日

摘要: In HiveQL, to convert a string into a DATE type, you use the TO_DATE or CAST/DATE functions depending on the exact format of the string. ✅ Common Meth 阅读全文
posted @ 2025-08-27 09:33 ZhangZhihuiAAA 阅读(51) 评论(0) 推荐(0)

2025年8月26日

摘要: regexp_replace(zczb,'([^\\u4E00-\\u9FA5]+)','') 1️⃣ regexp_replace function Syntax: regexp_replace(string, pattern, replacement) string: The input str 阅读全文
posted @ 2025-08-26 18:11 ZhangZhihuiAAA 阅读(13) 评论(0) 推荐(0)
 
摘要: In Notepad++, the NBSP stands for Non-Breaking Space, which is a special whitespace character. Unicode code point: U+00A0 HTML entity:   Unlike a 阅读全文
posted @ 2025-08-26 08:25 ZhangZhihuiAAA 阅读(34) 评论(0) 推荐(0)

2025年8月25日

摘要: 🔎 方法 1:用 Excel 的 宏列表窗口 打开 Excel 文件。 按 Alt + F8(或者菜单:开发工具 → 宏)。 会弹出 “宏”对话框,里面会列出当前工作簿及加载的模块中 所有已定义的宏名。 在这里可以选择宏 → 点击 编辑,跳转到 VBA 编辑器查看代码。 也可以选择宏 → 点击 运 阅读全文
posted @ 2025-08-25 21:01 ZhangZhihuiAAA 阅读(422) 评论(0) 推荐(0)

2025年8月22日

摘要: These two SparkSQL functions both deal with transforming data into encrypted or encoded forms, but they operate very differently and serve different p 阅读全文
posted @ 2025-08-22 15:20 ZhangZhihuiAAA 阅读(56) 评论(0) 推荐(0)
 
摘要: import mysql.connector from mysql.connector import Error def create_connection(): """Create a database connection""" try: conn = mysql.connector.conne 阅读全文
posted @ 2025-08-22 11:36 ZhangZhihuiAAA 阅读(7) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 116 下一页