qubole/qds-sdk-py

DbTap - Additional Required Parameters for on-premise Location

lizturp opened this issue · 1 comments

The Qubole docs for creating a DbTap say this:

Gateway parameters (gateway_ip, gateway_username, gateway_private_key) can be specified only if db_location is ‘on-premise’.
Though the gateway parameters are optional, if any one of the gateway parameters is specified then all three must be specified.

The SDK supports adding "on-premise" as a location:

edit.add_argument("--location", dest="location", choices=["us-east-1", "us-west-2", "ap-southeast-1", "eu-west-1", "on-premise"]

But I'm not sure how to pass the additional required parameters:

  • gateway_ip
  • gateway_port
  • gateway_username
  • gateway_private_key

My Issue Request:

  1. If it is possible, maybe add some code comments or documentation around this?
  2. If it's not possible, I would suggest a 2 part resolution... (1) removing the "on-premise" as an option until (2) the additional required parameters can be added into the sdk

Looks like this is not supported yet in the SDK, sorry for the late response we will be adding it soon. We are also working on a proper documentation for this