According to the script SQL hive-schema-3.1.0.postgres.sql used by hive to initiate schema in Postgres database, it seems that hive forces to use the public schema to create SQL tables, this is hard coded in the script, line 12:
SET search_path = public, pg_catalog;
Thus in postgresql role, there will not need to create a SQL schema in hive database.
According to the script SQL
hive-schema-3.1.0.postgres.sql
used byhive
to initiate schema in Postgres database, it seems thathive
forces to use thepublic
schema to create SQL tables, this is hard coded in the script, line 12:SET search_path = public, pg_catalog;
Thus in
postgresql
role, there will not need to create a SQL schema inhive
database.