I created an external catalog using postgres as properties .
CREATE EXTERNAL CATALOG jdbc_Catalogue_postgres
PROPERTIES (
“type”=“jdbc”,
“user”=“postgres”,
“password”=“password”,
“jdbc_uri”=“jdbc:postgresql://127.1.1.1:5432/database”,
“driver_url”=“https://repo1.maven.org/maven2/org/postgresql/postgresql/42.3.3/postgresql-42.3.3.jar”,
“driver_class”=“org.postgresql.Driver”
);
I then used the following instructions.
SHOW CATALOGS; to see catalog
SHOW DATABASES FROM jdbc_Catalogue_postgres;
it showed me the different schemas of the database
after i use SET CATALOG jdbc_Catalogue_postgres; to change the default_catalog.
USE jdbc_Catalogue_postgres.public; i use this after
but when i want to select data in the table from public schema
i have this error error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none
please someone can help me.