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
Hey @adaptun you are correct, this is an oversight in the test and we should convert the tuple from the result set to an index key properly before performing the scan. In this particular case, this step is not strictly necessary for correctness because the schema of the index key and the output schema of the scan are identical, but in any other scenario this could lead to incorrect behavior. This project is currently ongoing in our databases course so we'll hold off from making this update for now, but once the academic term is over this is an issue that we will address.
apavlo
added
the
bug
Something isn't working (correctness). Mark issues with this.
label
Nov 3, 2021
SimpleDeleteTest in executor_test.cpp checks if index does not have removed row anymore.
See lines 359-372:
I think problem here is that tuple index_key is taken from the resultset and is not converted to the index tuple.
Should be something as the following:
Compare with SimpleRawInsertWithIndexTest where tuple from resultset is converted to the index_key -- line 260.
bustub/test/execution/executor_test.cpp
Line 372 in 6efd294
The text was updated successfully, but these errors were encountered: