Skip to content
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

pulled new Thrift definition from Apache Hive repo #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions TCLIService/TCLIService-remote
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
# Autogenerated by Thrift Compiler (0.10.0)
# Autogenerated by Thrift Compiler (0.12.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
Expand Down Expand Up @@ -45,7 +45,8 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
print(' TGetDelegationTokenResp GetDelegationToken(TGetDelegationTokenReq req)')
print(' TCancelDelegationTokenResp CancelDelegationToken(TCancelDelegationTokenReq req)')
print(' TRenewDelegationTokenResp RenewDelegationToken(TRenewDelegationTokenReq req)')
print(' TGetLogResp GetLog(TGetLogReq req)')
print(' TGetQueryIdResp GetQueryId(TGetQueryIdReq req)')
print(' TSetClientInfoResp SetClientInfo(TSetClientInfoReq req)')
print('')
sys.exit(0)

Expand Down Expand Up @@ -251,11 +252,17 @@ elif cmd == 'RenewDelegationToken':
sys.exit(1)
pp.pprint(client.RenewDelegationToken(eval(args[0]),))

elif cmd == 'GetLog':
elif cmd == 'GetQueryId':
if len(args) != 1:
print('GetLog requires 1 args')
print('GetQueryId requires 1 args')
sys.exit(1)
pp.pprint(client.GetLog(eval(args[0]),))
pp.pprint(client.GetQueryId(eval(args[0]),))

elif cmd == 'SetClientInfo':
if len(args) != 1:
print('SetClientInfo requires 1 args')
sys.exit(1)
pp.pprint(client.SetClientInfo(eval(args[0]),))

else:
print('Unrecognized method %s' % cmd)
Expand Down
Loading