1、sudo docker exec -it containerID /bin/bash
2、COPY ./hive-schema-2.3.0.postgres.sql /tmp/hive-schema-2.3.0.postgres.sql
COPY ./hive-txn-schema-2.3.0.postgres.sql /tmp/hive-txn-schema-2.3.0.postgres.sql
3、psql -U hivemeta hivemeta -f /tmp/hive-schema-2.3.0.postgres.sql -f /tmp/hive-txn-schema-2.3.0.postgres.sql