You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with t as (select 'a string' as col)
select
col,
upper(col)
from t
where
UPPER(t.col) LIKE UPPER('a%')
Result:
Error: UNCATEGORIZED (ADMIN)
Function[like] pattern argument must be a literal
Running the same comparator against a table does not result in an error. When doing explain plan for on the table query, the filter value is shown as being uppercased, which suggest druid is executing the UPPER function before building the plan.
explain plan for select count(1) from INFORMATION_SCHEMA.TABLES where upper(TABLE_NAME) like upper('%a%')
Affected Version
Druid V.30.0.0
Description
Running the following query yields an error:
Result:
Running the same comparator against a table does not result in an error. When doing
explain plan for
on the table query, the filter value is shown as being uppercased, which suggest druid is executing the UPPER function before building the plan.Result:
The text was updated successfully, but these errors were encountered: