-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug for materialized join results with lazy input with local voca…
…bs (#1684) This fixes a subtle bug which led to a segmentation fault in the following scenario: 1. The result of a join is fully materialized, but at least one of its inputs is lazy 2. The blocks of the unique input contain local vocabs with unique entries (not shared between the blocks) 3. There is at least one block in the lazy input that has no matching row in the other input, and therefore its local vocab is not used 4. There is at least one block before the block from item 3 that is needed (including its local vocab) Previously, the local vocabs from all blocks that fulfill item 3 were not part of the input and caused segfaults, when the corresponding local vocab pointer was dereferenced. Fixes #1679
- Loading branch information
Showing
2 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters