ZhangZhihui's Blog  

2026年2月8日

摘要: In PostgreSQL, 'like' is case-sensitive and 'ilike' is case-insensitive. Does Hive SQL support 'like' and 'ilike' ? In Hive SQL, the behavior for stri 阅读全文
posted @ 2026-02-08 20:10 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
 
摘要: Below are Postgres SQLs: insert into kv (key, value) values ('cache:foo', 456) on conflict (key) do nothing; insert into kv (key, value) values ('cach 阅读全文
posted @ 2026-02-08 19:59 ZhangZhihuiAAA 阅读(1) 评论(0) 推荐(0)
 
摘要: I created a new branch 2606 based on the branch main, modified some files, and pushed branch 2606 to the remote repository. How to merge the new branc 阅读全文
posted @ 2026-02-08 10:32 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0)

2026年2月4日

摘要: Generating mock data directly in Hive can be a bit of a challenge because Hive SQL isn't designed for row-by-row procedural generation like some other 阅读全文
posted @ 2026-02-04 21:30 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)

2026年2月2日

摘要: TDSQL(Tencent Distributed SQL)是腾讯云自主研发的一款企业级分布式数据库产品。 如果把传统的 MySQL 数据库比作一个“单间”,那么 TDSQL 就是一个由多个单间组成的“大型公寓楼”,它通过分布式架构,让数据库能够承载比单机高出成百上千倍的数据量和访问压力。 1. T 阅读全文
posted @ 2026-02-02 21:15 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(0)
 
摘要: 在大数据开发中,beeline 是 HiveServer2 的 JDBC 客户端。-f 参数的作用是 执行指定的 SQL 脚本文件(File),这在自动化运维和定时调度任务中非常常用。 1. 基础语法 beeline -u <连接字符串> -f <SQL文件路径> 2. 常用参数组合示例 在实际生产 阅读全文
posted @ 2026-02-02 21:07 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)
 
摘要: 在网络安全和大数据领域(如 Hadoop、Kafka、HBase),Kerberos 是一种基于对称密钥密码学的网络身份认证协议。 它的核心设计理念是:“在不安全的网络中,通过第三方可信机构,安全地证明‘你是谁’。” 1. Kerberos 的三大核心角色 Kerberos 的名字源于希腊神话中守护 阅读全文
posted @ 2026-02-02 20:22 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0)

2026年1月15日

摘要: https://hive.apache.org/docs/latest/language/languagemanual-windowingandanalytics/ Windowing functions LEAD LAG FIRST_VALUE LAST_VALUE The OVER clause 阅读全文
posted @ 2026-01-15 10:31 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0)
 
摘要: To apply ORDER BY, SORT BY, CLUSTER BY, DISTRIBUTE BY or LIMIT to an individual SELECT, place the clause inside the parentheses that enclose the SELEC 阅读全文
posted @ 2026-01-15 10:01 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
 
摘要: In Apache Hive, xpath refers to a family of built-in User-Defined Functions (UDFs) used to parse and extract data from XML strings. Since Hive is desi 阅读全文
posted @ 2026-01-15 09:50 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0)