-
Notifications
You must be signed in to change notification settings - Fork 47
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
Fix erorrs in apache thrift compatibility #10
Conversation
I wonder if in the interest of compatibility with older thrift libraries we want to determine the method calls in a way that works with thrift 0.10 and 0.9 |
@@ -58,13 +58,13 @@ def __init__(self, sasl_client_factory, mechanism, trans): | |||
self.encode = None | |||
|
|||
def isOpen(self): | |||
return self._trans.isOpen() | |||
return self._trans.is_open() | |||
|
|||
def is_open(self): |
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.
Are there callers that rely on both isOpen() and is_open() being available? Why keep both? Could you just have:
def is_open(self):
return self._trans.is_open()
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.
Where does this self._trans.is_open()
come from?
Is there some progress on this issue or can you merge it? |
@wesm ping |
@gregrahn can someone test this out and make a release of the package? |
@wesm 👍 |
+1 for a release soon if possible since latest versions |
@dknupp given you updated impyla to 0.14.1 on 2018-02-23, is this still an open issue? |
|
This reverts commit 892ead1.
There are some errors in current Apache thrift compatibility in a thrift_sasl module - these changes remain from the previous version. This errors led to issue in impyla: cloudera/impyla#268