APPEND_TRAILING_CHAR_IF_ABSENT(Lakehouse v2)
末尾に指定した文字がまだ付いていない場合に、その文字を文字列の末尾に追加します。
Analyze 構文
Section titled “Analyze 構文”func.append_trailing_char_if_absent(<str>, <char>)Analyze の例
Section titled “Analyze の例”func.append_trailing_char_if_absent('hello', '!')
┌──────────┐│ 'hello!' │└──────────┘SQL 構文
Section titled “SQL 構文”APPEND_TRAILING_CHAR_IF_ABSENT(<str>, <char>)SQL の例
Section titled “SQL の例”SELECT APPEND_TRAILING_CHAR_IF_ABSENT('hello', '!');
┌────────┐│ hello! │└────────┘