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
On Drift-2.11.1, I was able to define indexes on expressions like this:
CREATE INDEX foo_index on foo(MAX(field1, field2));
However, after upgrading to Drift-2.12, index creation fails with the following error
[WARNING] drift_dev on foo.drift:
Could not analyze DriftElementId(package:package/foo.drift, foo_index)
type 'FunctionExpression' is not a subtype of type 'Reference' in type cast
The text was updated successfully, but these errors were encountered:
masahiro-ikemoto
changed the title
Failure to define an indexes on expressions.
Failure to define indexes on expressions.
Sep 27, 2023
On Drift-2.11.1, I was able to define indexes on expressions like this:
CREATE INDEX foo_index on foo(MAX(field1, field2));
However, after upgrading to Drift-2.12, index creation fails with the following error
The text was updated successfully, but these errors were encountered: