Query Service with Jupyter/Databricks
My connection to the PostgreSQL database for the Query Service has been giving me this error
ErrorCode: 08P01 queryId: 07326d38-0746-48c6-8332-17b75c01dac2 Unknown error encountered. Reason: [Embedded Postgres: Error while populating metadata tables in embedded Postgres]
This was not happening before until 2weeks ago.
My solution uses psycopg2 library to connect to query services.
conn = psycopg2.connect(
f"sslmode=require host={hostname} port=5432 dbname={database}?FLATTEN user={user} password={password}"
I’m completely not sure what the issue as this setup has being running for almost a year.