-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: should also do seek for sub stream in DMFileReader::read (#597)…
… (#598)
- Loading branch information
Showing
10 changed files
with
90 additions
and
13 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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
>> set dt_segment_stable_pack_rows = 5; | ||
|
||
>> drop table if exists A; | ||
>> create table A (a int, b Nullable(int)) engine = DeltaMerge((a)); | ||
|
||
>> insert into A (a, b) values (1, NULL), (2, NULL), (3, NULL), (4, NULL), (5, NULL), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10); | ||
|
||
>> manage table A flush; | ||
|
||
>> manage table A merge delta; | ||
|
||
>> select * from A where a >= 6; | ||
# Before fix: | ||
# ┌──a─┬──b─┐ | ||
# │ 6 │ \N │ | ||
# │ 7 │ \N │ | ||
# │ 8 │ \N │ | ||
# │ 9 │ \N │ | ||
# │ 10 │ \N │ | ||
# └────┴────┘ | ||
|
||
┌──a─┬──b─┐ | ||
│ 6 │ 6 │ | ||
│ 7 │ 7 │ | ||
│ 8 │ 8 │ | ||
│ 9 │ 9 │ | ||
│ 10 │ 10 │ | ||
└────┴────┘ |