-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Operators that produce updating data (insert/update/delete) previously could not be upstream from the JoinWithExpiration operator. This change modifies the JoinWithExpiration operator to correctly handle updating data. All join types, excluding inner joins on non-updating inputs, now produce updating data. The bulk of the changes are in `join_with_expiration.rs`, where we transforms/coerces all data into updating data so that we reuse the same 4 join processors regardless of input type.
- Loading branch information
Showing
13 changed files
with
1,075 additions
and
339 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{"before":null,"after":{"left_counter":0,"counter_mod_2":null,"right_count":null},"op":"c"} | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":null,"right_count":null},"op":"c"} | ||
{"before":null,"after":{"left_counter":2,"counter_mod_2":null,"right_count":null},"op":"c"} | ||
{"before":{"left_counter":1,"counter_mod_2":null,"right_count":null},"after":{"left_counter":1,"counter_mod_2":0,"right_count":1},"op":"u"} | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":1,"right_count":1},"op":"c"} | ||
{"before":{"left_counter":2,"counter_mod_2":null,"right_count":null},"after":{"left_counter":2,"counter_mod_2":0,"right_count":2},"op":"u"} | ||
{"before":{"left_counter":1,"counter_mod_2":0,"right_count":1},"after":null,"op":"d"} |
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,4 @@ | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":0,"right_count":1},"op":"c"} | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":1,"right_count":1},"op":"c"} | ||
{"before":null,"after":{"left_counter":2,"counter_mod_2":0,"right_count":2},"op":"c"} | ||
{"before":{"left_counter":1,"counter_mod_2":0,"right_count":1},"after":null,"op":"d"} |
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,7 @@ | ||
{"before":null,"after":{"left_counter":0,"counter_mod_2":null,"right_count":null},"op":"c"} | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":null,"right_count":null},"op":"c"} | ||
{"before":null,"after":{"left_counter":2,"counter_mod_2":null,"right_count":null},"op":"c"} | ||
{"before":{"left_counter":1,"counter_mod_2":null,"right_count":null},"after":{"left_counter":1,"counter_mod_2":0,"right_count":1},"op":"u"} | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":1,"right_count":1},"op":"c"} | ||
{"before":{"left_counter":2,"counter_mod_2":null,"right_count":null},"after":{"left_counter":2,"counter_mod_2":0,"right_count":2},"op":"u"} | ||
{"before":{"left_counter":1,"counter_mod_2":0,"right_count":1},"after":null,"op":"d"} |
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,4 @@ | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":0,"right_count":1},"op":"c"} | ||
{"before":null,"after":{"left_counter":1,"counter_mod_2":1,"right_count":1},"op":"c"} | ||
{"before":null,"after":{"left_counter":2,"counter_mod_2":0,"right_count":2},"op":"c"} | ||
{"before":{"left_counter":1,"counter_mod_2":0,"right_count":1},"after":null,"op":"d"} |
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
Oops, something went wrong.