How to create and configure sources within your Latitude project
These are the supported connections, go to their specific section to know the specific configuration of each one.
.yaml
or .yml
.queries
directory. This includes being nested within any subdirectories under queries
..yaml
file represents a unique connection. Do not mix multiple connections in a single file..yaml
filename in your queries to reference the source..sql
query files and .yaml
source files should all reside within the queries
directory or its subdirectories.You may organize your source files in subfolders within the queries
directory.
Example:
Queries will utilize the closest source file in their directory hierarchy. If a source file isn’t found in the same directory, the query will search each parent directory until a source file is discovered. Example:
In this scenario, total_subscriptions_by_country.sql
will use postgresql.yaml
as its source since it doesn’t have a closer source file in its directory (aggregations
).