Create Database

Hippo cluster has a “default” database created after installation. If not specified, all the operations will be performed in “default” database. Users can create a new one using the command shown below.

db_created = hc.create_database("name")

Result:

This method returns True if it succeeds. Otherwise, “ValueError” exception will be raised.

Parameter description:

ParametersDescriptionRequired
name (str)Database nameYes

Table 55 Create Database (Python API)