Get command history by command type.
VenkataKarthikP opened this issue · comments
penikala commented
Problem:
client.command().history().invoke(); currently lists all commands from that user. But need to have ability to provide parameters for command type (say hive, presto...)
https://docs.qubole.com/en/latest/rest-api/command_api/view-command-history.html - Rest API already supports that -
-d '{"command_type":"ShellCommand,HiveCommand", "name":"named_command"}' \
"https://api.qubole.com/api/v1.2/commands"
I feel we should have method to update parameters in https://github.com/qubole/qds-sdk-java/blob/master/src/main/java/com/qubole/qds/sdk/java/details/CommandApiImpl.java .
Raunaq Morarka commented
Fixed with #119
Thanks!