Creating and testing the Data Source

First, we need to define a Data Source. A Data Source is a place where our data resides; it can be an RDBMS (such as MySQL or Postgres), a comma-separated text file, a document store, and so on (these features will be covered in Chapter 4Connecting to Data Sources).

For this chapter, we will be using Redash's internal PostgreSQL (the same example will work as is for any SQL queriable Data Source), to be able to execute parts of this specific example, you must have the dockerized PostgreSQL server set up.

In case you don't have any Data Source set up yet, but you still wish to explore Redash and continue through this chapter, skip the PostgreSQL definition, and move to Alternative Static Data Source ...

Get Redash v5 Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.