qubole / qds-sdk-py

Python SDK for accessing Qubole Data Service
https://qubole.com
Apache License 2.0
51 stars 127 forks source link

DbTap - Additional Required Parameters for on-premise Location #219

Open lizturp opened 6 years ago

lizturp commented 6 years ago

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:

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
chattarajoy commented 4 years ago

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