hive_close()

Description:

Close a Hive database connection.

Syntax:

hive_close(hd)

Note:

This external library function (See External Library Guide) closes connection to a Hive database.

Parameter:

hd

Hive databsase connection.

Example:

 

A

 

1

=hive_client("hdfs://192.168.0.8:9000","thrift://192.168.0.8:9083","hive","asus")

 

2

=hive_close(A1)

Close connection to the hive database.

Related function:

hive_open()

hive_cursor()

hive_query()