This repository was archived by the owner on May 10, 2022. It is now read-only.
add copy_data operator in PegasusCli#23
Merged
qinzuoyan merged 5 commits intothrift-0.11.0-inlinedfrom Dec 10, 2018
Merged
Conversation
neverchanje
reviewed
Dec 7, 2018
| targetTable.set(p.getKey().getKey(), p.getKey().getValue(), newValue, 0); | ||
| count++; | ||
| if (count % 10000 == 0) { | ||
| System.out.printf("Copied %d key-value pairs.\n", count); |
acelyc111
reviewed
Dec 7, 2018
| try { | ||
| PegasusTableInterface targetTable = targetClient.openTable(targetTableName); | ||
| List<PegasusScannerInterface> scanners = client.getUnorderedScanners(appName, 1, new ScanOptions()); | ||
| int count = 0; |
Member
There was a problem hiding this comment.
这里要不要assert一下scanners.size() <= 1
Member
Author
There was a problem hiding this comment.
其实不用,我getScanner的时候已经传了count = 1
neverchanje
approved these changes
Dec 10, 2018
qinzuoyan
added a commit
that referenced
this pull request
Dec 12, 2018
vagetablechicken
pushed a commit
to vagetablechicken/pegasus-java-client
that referenced
this pull request
Jan 4, 2019
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
and support Compress/Uncompress when copying data.