-
Notifications
You must be signed in to change notification settings - Fork 47
[FEATURE] Add html preview of dataset #80
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
Open
KorlaMarch
wants to merge
62
commits into
tuplex:master
Choose a base branch
from
KorlaMarch:jupyter_html
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
1f1d7bb
Modify dataset
KorlaMarch 0b1e767
Add in takeLast operator
KorlaMarch eafb76d
(wip) add reverse limit in partition
KorlaMarch cb47a4d
Remove row count
KorlaMarch d879bcd
refactor TakeOperator
KorlaMarch a6f31dd
Add unit tests
KorlaMarch 89cee2e
add bottom limit to transform stage (wip)
KorlaMarch 07b87fd
more physical stage update (wip)
KorlaMarch b2beb88
Quick push
KorlaMarch 3e1d243
Rework LocalBackend and TransformTask to support top and bottom limit
KorlaMarch 3bf283f
Address Review Comments
KorlaMarch fb90aef
Address Review Comments (2)
KorlaMarch cb40313
Debugging Tests
KorlaMarch 517f2fc
Change definition of take all
KorlaMarch c33fc23
Random take test with some debugging
KorlaMarch 38d9ca9
Polish the python interface
KorlaMarch 1f5ff59
Address PR comments
KorlaMarch ac4c600
Add two more testcases
KorlaMarch 56131a7
Address PR feedbacks
KorlaMarch 2005458
Add file testcases
KorlaMarch 41b04a7
Python Dataset Debug
KorlaMarch fc751f1
Remove showHTMLPreview from Dataset in C++
KorlaMarch 6b5c692
Separate out partition utils
KorlaMarch a072e40
Fix Azure pipeline failing
KorlaMarch 5a1a342
Modify dataset
KorlaMarch b68b4a1
Add in takeLast operator
KorlaMarch 02b51aa
(wip) add reverse limit in partition
KorlaMarch a721e0f
Remove row count
KorlaMarch 6955392
refactor TakeOperator
KorlaMarch 7fa6b17
Add unit tests
KorlaMarch c78a637
add bottom limit to transform stage (wip)
KorlaMarch 5628d27
more physical stage update (wip)
KorlaMarch a506d88
Rework LocalBackend and TransformTask to support top and bottom limit
KorlaMarch 26ed614
Address Review Comments
KorlaMarch 2cdd269
Debugging Tests
KorlaMarch c203de4
Change definition of take all
KorlaMarch 664cd14
Random take test with some debugging
KorlaMarch 5048a9b
Polish the python interface
KorlaMarch 3658d84
Address PR comments
KorlaMarch 72b6580
Add file testcases
KorlaMarch 172d6b5
Python Dataset Debug
KorlaMarch a2d4178
Remove showHTMLPreview from Dataset in C++
KorlaMarch 993937d
Separate out partition utils
KorlaMarch 6f528f8
Fix Azure pipeline failing
KorlaMarch 4a328cc
Merge branch 'jupyter_html' of github.com:KorlaMarch/tuplex into jupy…
LeonhardFS 816567f
Minor Debug in Python lib
KorlaMarch 4b2e2af
Remove column counts
KorlaMarch 01e12ba
Merge branch 'tuplex:master' into jupyter_html
KorlaMarch a935f1e
Fix CI not running core tests
KorlaMarch 359ffed
Speed up tests
KorlaMarch 9fc4382
Merge branch 'master' into jupyter_html
KorlaMarch d36e4b2
Disable the limit merge test
KorlaMarch 2ed45d5
Fix the wrapper test
KorlaMarch 588382a
Merge branch 'jupyter_html' of github.com:KorlaMarch/tuplex into jupy…
LeonhardFS 28a9064
Merge branch 'master' of github.com:tuplex/tuplex into jupyter_html
LeonhardFS 0530819
Fix Typo (and rerun CI)
KorlaMarch 2099d7a
Add logging after load and transform task
KorlaMarch 809b87d
Fix missing completed work issue
KorlaMarch 1088bc3
Merge branch 'master' into jupyter_html
KorlaMarch bfb56a3
Resolve merge conflict
KorlaMarch 71e0fe5
Resolve merge conflict
KorlaMarch ee5ff30
update partition grouping when trim partitions
KorlaMarch 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 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| //--------------------------------------------------------------------------------------------------------------------// | ||
| // // | ||
| // Tuplex: Blazing Fast Python Data Science // | ||
| // // | ||
| // // | ||
| // (c) 2017 - 2021, Tuplex team // | ||
| // Created by March Boonyapaluk first on 4/19/2021 // | ||
| // License: Apache 2.0 // | ||
| //--------------------------------------------------------------------------------------------------------------------// | ||
|
|
||
| #ifndef TUPLEX_PARTITIONUTILS_H | ||
| #define TUPLEX_PARTITIONUTILS_H | ||
|
|
||
| #include <vector> | ||
| #include <physical/TransformStage.h> | ||
| #include <Executor.h> | ||
|
|
||
| namespace tuplex { | ||
| /*! | ||
| * Trim list of partitions so that it includes up to the first n rows and the last m rows | ||
| * if n + m > number of rows in input partitions, the partitions will remain unchanged | ||
| * @param partitions [in,out] the list of partitions to trim | ||
| * @param topLimit n, the number of top rows to include | ||
| * @param bottomLimit m, the number of bottom rows to include | ||
| * @param tstage pointer to transform stage, might be used to generate new partition | ||
| * @param exec pointer to executor, might be used to allocate new partition | ||
| */ | ||
| void trimPartitionsToLimit(std::vector<Partition *> &partitions, size_t topLimit, size_t bottomLimit, | ||
| TransformStage *tstage, Executor *exec); | ||
|
|
||
| /*! | ||
| * Create a newly allocated partition with the same data as the specified partition, but with the first n rows removed | ||
| * @param p_in the input partition | ||
| * @param numToSkip number of rows to remove from the new partition | ||
| * @param tstage pointer to transform stage, used to generate new partition | ||
| * @param exec pointer to executor, used to allocate new partition | ||
| * @return the new partition | ||
| */ | ||
| Partition *newPartitionWithSkipRows(Partition *p_in, | ||
| size_t numToSkip, | ||
| TransformStage *tstage, | ||
| Executor *exec); | ||
|
|
||
| } | ||
|
|
||
| #endif //TUPLEX_PARTITIONUTILS_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
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.