pyHive
, a Python library that allows you to use Python code to run SQL commands on Hive.
The required arguments to establish a connection are as follows:
user
is the username associated with the database.password
is the password to authenticate your access.host
is the server IP address or hostname.port
is the port through which TCP/IP connection is to be made.database
is the database name to be connected.auth
defaults to CUSTOM
if not provided. Check for other options in here.pyHive
, the following Linux packages are required: