ZhangZhihui's Blog  

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 阅读(3) 评论(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 阅读(2) 评论(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 阅读(4) 评论(0) 推荐(0)
 
摘要: https://hive.apache.org/docs/latest/language/languagemanual-lateralview/ Lateral view is used in conjunction with user-defined table generating functi 阅读全文
posted @ 2026-01-15 09:40 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)

2026年1月14日

摘要: https://hive.apache.org/docs/latest/language/languagemanual-udf/ Built-in Functions Mathematical Functions Collection Functions Type Conversion Functi 阅读全文
posted @ 2026-01-14 20:22 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0)
 
摘要: In Hive, what file formats support ACID? In Hive, the file formats that support ACID (Atomicity, Consistency, Isolation, Durability) transactions depe 阅读全文
posted @ 2026-01-14 18:02 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
 
摘要: In the dynamic partition inserts, users can give partial partition specifications, which means just specifying the list of partition column names in t 阅读全文
posted @ 2026-01-14 17:41 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0)
 
摘要: Indexing Is Removed since 3.0 There are alternate options which might work similarily to indexing: Materialized views with automatic rewriting can res 阅读全文
posted @ 2026-01-14 17:16 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
 
摘要: CREATE TABLE events ( event_id BIGINT, event_date DATE, event_type STRING ) WRITE LOCALLY ORDERED BY event_date DESC STORED BY ICEBERG STORED AS ORC; 阅读全文
posted @ 2026-01-14 16:56 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)

2026年1月13日

摘要: A HiveQL Macro is a way to define a reusable logic fragment (a "mini-function") within a Hive session using standard Hive SQL expressions. Think of it 阅读全文
posted @ 2026-01-13 20:42 ZhangZhihuiAAA 阅读(12) 评论(0) 推荐(0)