Black Lives Matter. Please consider donating to Black Girls Code today.

Reading remote PostGreSql database using PySpark

I can connect to remote PostgreSQL using

  1. Pandas+Psycopg2;
  2. Dask+Psycopg2.
    But the connection time is long to read some tables of PostgreSQL even using Parallel Processing (Dask). So, I decided to look at efficient ways I have found PySpark but I don’t know where to find tutorials for it. Does Dash accept using PySpark connections?