MINUTES_DIFF (Lakehouse v2)
返回两个日期时间值之间相差的分钟数。
Analyze 语法
Section titled “Analyze 语法”func.minutes_diff(<end>, <start>)Analyze 示例
Section titled “Analyze 示例”func.minutes_diff('2024-01-01 11:00:00', '2024-01-01 10:00:00')
┌────┐│ 60 │└────┘SQL 语法
Section titled “SQL 语法”MINUTES_DIFF(<end>, <start>)SQL 示例
Section titled “SQL 示例”SELECT MINUTES_DIFF('2024-01-01 11:00:00', '2024-01-01 10:00:00');
┌────┐│ 60 │└────┘