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
When using AS OF queries with a secondary index, Dolt returns a unable to find field error in some cases:
-- Create a table with a secondary index in the first Dolt commitcreatetablet (pk intprimary key, c1 varchar(255), key c1_idx(c1));
insert into t values (1, 'one');
call dolt_commit('-Am', 'adding table t with index on main');
SET @commit1 = hashof('HEAD');
-- Trying to query with `AS OF` when using the secondary index causes an errorSELECT c1 from t as of @commit1 where c1 >'o';
unable to find field with index 1in row of 1 columns
-- Not using the second index works correctlySELECT c1 from t as of @commit1;
+-----+
| c1 |
+-----+
| one |
+-----+
The text was updated successfully, but these errors were encountered:
When using
AS OF
queries with a secondary index, Dolt returns aunable to find field
error in some cases:The text was updated successfully, but these errors were encountered: