Files
superset2/tests/unit_tests/models
Evan f882bc92fb fix(sqla): cast native UUID columns to string for LIKE/ILIKE filters
Table chart server-pagination search builds an ILIKE filter against the
searched column. Native UUID columns (PostgreSQL, ClickHouse) map to
GenericDataType.STRING, so the existing not-a-string guard skipped the
cast and the raw ILIKE hit the UUID column type, which the database
rejects (e.g. ClickHouse: "Illegal type UUID of argument of function
ilike"). Detect UUID native types and force the string cast so
searching UUID columns works.

Fixes #41795

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 03:52:46 -07:00
..