The pattern is a string which is matched literally, with exception to the following special symbols:
_ matches any one character in the input (similar to . in POSIX regular expressions)
% matches zero or more characters in the input (similar to .* in POSIX regular expressions).
The default escape character is the '\'. If an escape character precedes a special symbol or another escape character, the following character is matched literally. It is invalid to escape any other character.
To support capabilities FN_PRED_LIKE and FN_PRED_LIKE_ESCAPE the VS must convert the placeholder char, considering the default or custom escape char.
The
LIKE
operator in Databricks behaves differently than Exasol: Exasol uses?
for exactly one char, Databricks uses_
instead. See https://docs.databricks.com/en/sql/language-manual/functions/like.html :To support capabilities
FN_PRED_LIKE
andFN_PRED_LIKE_ESCAPE
the VS must convert the placeholder char, considering the default or custom escape char.