This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
Low key not set for the index lookup on the inner relation of index nested loops join #1232
Labels
bug
Something isn't working (correctness). Mark issues with this.
performance
Performance related issues or changes.
Bug Report
Summary
When we run this TATP query, we do not generate the low key for the index lookup on the inner relation but only the high key. Thus, we scan much more tuples than necessary. This only occurs for the index nested loops join in TATP but not TPCC. It may be related to the fact that we're doing a range index scan on the inner relation in TATP but only a point lookup in TPCC. I also checked that this is independent of the protocol (both the simple and extended protocol have this problem).
Environment
I don't think the environment affects the behavior. I used g++ 7.5.0 on Ubuntu 18.04
Steps to Reproduce
ast::AstPrettyPrint::Dump(std::cerr, root_);
here so that you can see the generated TPL program.The low keys are not set in function
Query24_Pipeline1_SerialWork
.The text was updated successfully, but these errors were encountered: