fix: remove sharding column from the left part of the join
We should not expose a sharding column (i.e. "bucket_id") for any parts of the join if the user doesn't mention it explicitly in projection. Otherwise we receive incorrect query results.
Showing
- src/executor/engine/cartridge/backend/sql/ir/tests.rs 12 additions, 4 deletionssrc/executor/engine/cartridge/backend/sql/ir/tests.rs
- src/executor/tests.rs 15 additions, 6 deletionssrc/executor/tests.rs
- src/frontend/sql/ir/tests.rs 6 additions, 2 deletionssrc/frontend/sql/ir/tests.rs
- src/ir/operator.rs 38 additions, 22 deletionssrc/ir/operator.rs
- test_app/test/integration/api_test.lua 21 additions, 0 deletionstest_app/test/integration/api_test.lua
Loading
Please register or sign in to comment