REGEXP (Lakehouse v2)
检查字符串是否与正则表达式模式匹配。
Analyze 语法
Section titled “Analyze 语法”func.regexp(<str> REGEXP <pattern>)Analyze 示例
Section titled “Analyze 示例”get_column(table, 'email').regexp_match('^[a-z]+@')
┌───────────┐│ (boolean) │└───────────┘SQL 语法
Section titled “SQL 语法”REGEXP(<str> REGEXP <pattern>)SQL 示例
Section titled “SQL 示例”SELECT email FROM users WHERE email REGEXP '^[a-z]+@[a-z]+\\.com$';
┌───────────────────┐│ alice@example.com │└───────────────────┘