-
Notifications
You must be signed in to change notification settings - Fork 47
Cached Exceptions #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Cached Exceptions #101
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d7db067
Standardize runtime exceptions to use ExceptionInfo
bgivertz 31f7d11
Support for fallback and general case partitions
bgivertz c0b5d10
Give test more memory
bgivertz bd9daf7
Merge branch 'tuplex:master' into exceptions-cachefix
bgivertz 0b2f55d
Merge branch 'tuplex:master' into exceptions-cachefix
bgivertz 54638cb
Merge branch 'tuplex:master' into exceptions-cachefix
bgivertz ff374ca
Remove reference to boost
bgivertz c70bd27
Remove commented out code
bgivertz b8bb1e4
Symbol test fix
bgivertz c931a20
Symbol test fix
bgivertz b1d21bd
PR Fixes
bgivertz 5e28743
PR Fixes
bgivertz 7a00972
PR Fixes
bgivertz 72118b1
merged in master
LeonhardFS 4908288
PR Fixes
bgivertz ad91b45
PR Fixes
bgivertz 97fff4a
Merge branch 'tuplex:master' into exceptions-cachefix
LeonhardFS 859bdaf
mini fixes
LeonhardFS 4721772
fix
LeonhardFS 476e433
compile fix
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,53 @@ | ||
| //--------------------------------------------------------------------------------------------------------------------// | ||
| // // | ||
| // Tuplex: Blazing Fast Python Data Science // | ||
| // // | ||
| // // | ||
| // (c) 2017 - 2021, Tuplex team // | ||
| // Created by Benjamin Givertz first on 1/1/2021 // | ||
| // License: Apache 2.0 // | ||
| //--------------------------------------------------------------------------------------------------------------------// | ||
|
|
||
| #ifndef TUPLEX_PARTITIONGROUP_H | ||
| #define TUPLEX_PARTITIONGROUP_H | ||
|
|
||
| /*! | ||
| * Maintains a grouping of normal, fallback, and general partitions that arise from the | ||
| * same executor in order to be reprocessed after a cache occurs. | ||
| */ | ||
| namespace tuplex { | ||
| struct PartitionGroup { | ||
bgivertz marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| /*! | ||
| * Groups normal, general, and fallback partitions into groups, with all partitions that originated from a single | ||
| * task being grouped together. | ||
| * @param numNormalPartitons number of normal partitions in group | ||
| * @param normalPartitionStartIndex starting index in list of all normal partitions | ||
| * @param numGeneralPartitions number of general partitions in group | ||
| * @param generalPartitionStartIndex starting index in list of all general partitions | ||
| * @param numFallbackPartitions number of fallback partitions in group | ||
| * @param fallbackPartitionStartIndex starting index in list of all fallback partitions | ||
| */ | ||
| PartitionGroup(size_t numNormalPartitions, size_t normalPartitionStartIndex, | ||
| size_t numGeneralPartitions, size_t generalPartitionStartIndex, | ||
| size_t numFallbackPartitions, size_t fallbackPartitionStartIndex): | ||
| numNormalPartitions(numNormalPartitions), normalPartitionStartIndex(normalPartitionStartIndex), | ||
| numGeneralPartitions(numGeneralPartitions), generalPartitionStartIndex(generalPartitionStartIndex), | ||
| numFallbackPartitions(numFallbackPartitions), fallbackPartitionStartIndex(fallbackPartitionStartIndex) {} | ||
|
|
||
| /*! | ||
| * Initialize empty struct with all values set to zero. | ||
| */ | ||
| PartitionGroup() : | ||
| numNormalPartitions(0), numGeneralPartitions(0), numFallbackPartitions(0), | ||
| normalPartitionStartIndex(0), generalPartitionStartIndex(0), fallbackPartitionStartIndex(0) {} | ||
|
|
||
| size_t numNormalPartitions; | ||
| size_t normalPartitionStartIndex; | ||
| size_t numGeneralPartitions; | ||
| size_t generalPartitionStartIndex; | ||
| size_t numFallbackPartitions; | ||
| size_t fallbackPartitionStartIndex; | ||
| }; | ||
| } | ||
|
|
||
| #endif //TUPLEX_PARTITIONGROUP_H | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.