Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove incorrect getReadTimeNanos() implementations #148
Conversation
cla-bot
bot
added
the
cla-signed
label
Feb 4, 2019
sopel39
reviewed
Feb 4, 2019
@@ -147,7 +145,7 @@ public long getCompletedBytes() | |||
@Override | |||
public long getReadTimeNanos() | |||
{ | |||
return nanoStart > 0L ? (nanoEnd == 0 ? System.nanoTime() : nanoEnd) - nanoStart : 0L; |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
findepi
Feb 4, 2019
Author
Member
we could, but i was lazy.
in fact, large majority of the implementations is like that -- they return 0.
This comment has been minimized.
This comment has been minimized.
dain
Feb 5, 2019
Member
I don't think this can be implemented for this connector. You really need support from the underlying client to know which calls perform reads.
This comment has been minimized.
This comment has been minimized.
I think we need to document what this method is supposed to return (like we have for |
dain
approved these changes
Feb 5, 2019
findepi
added some commits
Feb 4, 2019
findepi
force-pushed the
findepi:findepi/master/remove-incorrect-getreadtimenanos-implementations-290831
branch
from
9688742
to
ace8486
Feb 5, 2019
This comment has been minimized.
This comment has been minimized.
@electrum i added
|
findepi
merged commit 1fa2cba
into
prestosql:master
Feb 5, 2019
1 check passed
verification/cla-signed
Details
findepi
deleted the
findepi:findepi/master/remove-incorrect-getreadtimenanos-implementations-290831
branch
Feb 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
findepi commentedFeb 4, 2019
No description provided.