Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions definitions/load.sqlx
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
-- This is an example SQLX file to help you learn the basics of Dataform.
-- Visit https://cloud.google.com/dataform/docs/sql-workflows for more information on how to configure your SQL workflow.

-- You can delete this file, then commit and push your changes to your repository when you are ready.

-- Config blocks allow you to configure, document, and test your data assets.
config {
type: "view",
database: "fmcc-mlops",
schema: "dataform",
name: "base",
assertions: {
nonNull: ["age_in_years", "property"],
}
}

-- The rest of a SQLX file contains your SELECT statement used to create the table.

SELECT * FROM ${constants.dataset_name}.${constants.base_table}
-- This is an example SQLX file to help you learn the basics of Dataform.
-- Visit https://cloud.google.com/dataform/docs/sql-workflows for more information on how to configure your SQL workflow.
-- You can delete this file, then commit and push your changes to your repository when you are ready.
-- Config blocks allow you to configure, document, and test your data assets.
-- The rest of a SQLX file contains your SELECT statement used to create the table.
SELECT
*
FROM
${constants.dataset_name}.${constants.base_table} WHERE splits!='VALIDATE'