Introduction
Before you start retrieving data, there are two important things to consider: the configuration of the query files and the sources from which you will retrieve data.File Requirements
Queries are stored in files, and here are the necessary specifications and options:-
Source Files: Must be
.sql. -
Location: All query files should be placed in the
queriesdirectory. This includes nesting in any subdirectories underqueries. -
Naming: The
.sqlfilename is the one you can use to reference one query in another. See Referencing other queries for more information. -
Co-Location:
.sqlquery files and.yamlsource files must all reside within the queries directory or its subdirectories. See How to Configure Sources for more information.