-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29457 thrift1/DemoClient.py is not running #7529
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
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hi, @guluo2016, could you be able to take a look at this PR in your spare time, thanks! |
| demo_table, row, "entry:num".encode(), 10, dummy_attributes | ||
| ) | ||
| printVersions(row, versions) | ||
| if len(versions) == 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old code is if len(versions) != 3: in here,which seems to be correct.
Is it necessary to change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @guluo2016, thank you for the review and sorry for the late reply. Yes, you're right, this change was made to align with the logic in Java, which we can see here. How do you suggest we handle this better, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that if len(versions) != 3: is better
Because the code can indicate that the number of data versions is 3
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @guluo2016, thank you for your patient explanation, agree with your suggestion, i'll update this pr later, thanks!
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
guluo2016
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
https://issues.apache.org/jira/browse/HBASE-29457