Takes in a string URL, validates it, adds defaults where necessary, and returns a tuple with the URL components.
Parameters
url (str) –
A string containing a Kinetica connection URL.
Returns
A two-part tuple, the first is whether or not the URL was able –
to be parsed, and the second is either the error message (if the –
URL couldn’t be parsed) or a 7-part tuple containing the –
parsed URL and its components (if it could be parsed)
* Full URL –
* Protocol (HTTP,HTTPS) –
* Hostname –
* Port –
* Path –
* Username (if specified in the URL) –
* Password (if specified in the URL)