CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clause更新しました 2024/12/20
instr
function Applies to: Databricks SQL Databricks Runtime
Returns the (1-based) index of the first occurrence of substr
in str
.
> SELECT instr('SparkSQL', 'SQL');
6
> SELECT instr('SparkSQL', 'R');
0
> SELECT instr('SparkSQL' COLLATE UTF8_LCASE, 'sql');
6
> SELECT instr('SparkSQL' COLLATE UTF8_BINARY, 'sql');
6