LIKE(Lakehouse v1)
使用 SQL 模式进行模式匹配。返回 1(TRUE)或 0(FALSE)。如果 expr 或 pat 为 NULL,则结果为 NULL。
Analyze 语法
Section titled “Analyze 语法”<column>.like('plaid%')Analyze 示例
Section titled “Analyze 示例”my_clothes.like('plaid%)┌─────────────────┐│ my_clothes │├─────────────────┤│ plaid pants ││ plaid hat ││ plaid shirt │└─────────────────┘SQL 语法
Section titled “SQL 语法”<expr> LIKE <pattern>SQL 示例
Section titled “SQL 示例”SELECT name, category FROM system.functions WHERE name like 'tou%' ORDER BY name;┌──────────┬────────────┐│ name │ category │├──────────┼────────────┤│ touint16 │ conversion ││ touint32 │ conversion ││ touint64 │ conversion ││ touint8 │ conversion │└──────────┴────────────┘