When developing locally, you will need to set up your local Postgres connection to query the Airflow metadata database via the “Ad Hock Query” feature (found in Data Profiling/Ad Hoc Query in the top menu)
NOTE: Airflow uses Pandas to power the Ad Hoc Query engine. This requires an additional dependency “libstdc++” to be added to your packages.txt file.
In the airflow_db connection object, change the Conn Type to Postgres and add the following connection information:
Quick Update: If you’re interested in using Airflow’s Ad-Hoc Query feature for your “remote” deployment on Astronomer Cloud, check out this forum post.