Complete the code to define a source name in YAML.
sources:
- name: [1]The name field defines the source name. Here, my_source is a valid source name.
Complete the code to specify the database for the source.
sources:
- name: my_source
[1]: analytics_dbschema with databaseThe database key specifies the database where the source tables reside.
Fix the error in the source table definition by completing the missing key.
sources:
- name: my_source
database: analytics_db
tables:
- [1]: userstable_name instead of nametable as the keyThe correct key to define a table inside tables is name.
Fill both blanks to define a source with a schema and a table name.
sources:
- name: my_source
database: analytics_db
[1]: public
tables:
- name: [2]database and schematable instead of name for the tableThe schema key defines the schema name, and users is the table name.
Fill all three blanks to define a source with database, schema, and a table with an alias.
sources:
- name: my_source
[1]: analytics_db
[2]: sales
tables:
- name: orders
[3]: sales_orderstable instead of alias for renamingThe database and schema keys specify where the source lives. The alias key gives the table a different name in dbt.
