WEEK (Lakehouse v2)
返回日期在一年中的周数。
Analyze 语法
Section titled “Analyze 语法”func.week(<date>[, <mode>])Analyze 示例
Section titled “Analyze 示例”func.week('2024-06-15')
┌────┐│ 24 │└────┘SQL 语法
Section titled “SQL 语法”WEEK(<date>[, <mode>])SQL 示例
Section titled “SQL 示例”SELECT WEEK('2024-06-15');
┌────┐│ 24 │└────┘