From bb1cac81577ea0fd62625a35083f84107c7dd32f Mon Sep 17 00:00:00 2001 From: Roy Endo <67675319+royendo@users.noreply.github.com> Date: Thu, 15 Jan 2026 11:24:35 -0500 Subject: [PATCH 1/2] Change bids_data_raw.yaml to model configuration Updated the configuration to define a model instead of a source. --- rill-openrtb-prog-ads/sources/bids_data_raw.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/rill-openrtb-prog-ads/sources/bids_data_raw.yaml b/rill-openrtb-prog-ads/sources/bids_data_raw.yaml index ddb9ea3..640ac36 100644 --- a/rill-openrtb-prog-ads/sources/bids_data_raw.yaml +++ b/rill-openrtb-prog-ads/sources/bids_data_raw.yaml @@ -1,4 +1,10 @@ -# Visit https://docs.rilldata.com/ to learn more about Rill code artifacts. -type: source -connector: "https" -uri: "https://storage.googleapis.com/rilldata-public/bids_data.parquet" +# Model YAML +# Reference documentation: https://docs.rilldata.com/reference/project-files/models + +type: model +materialize: true + +connector: duckdb + +sql: | + select * from read_parquet('https://storage.googleapis.com/rilldata-public/bids_data.parquet') From 4e88c3f802805617e649b157e3489a650978bb2e Mon Sep 17 00:00:00 2001 From: Roy Endo <67675319+royendo@users.noreply.github.com> Date: Thu, 15 Jan 2026 11:25:59 -0500 Subject: [PATCH 2/2] Change auction_data_raw.yaml to model type --- .../sources/auction_data_raw.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/rill-openrtb-prog-ads/sources/auction_data_raw.yaml b/rill-openrtb-prog-ads/sources/auction_data_raw.yaml index 7cbedc8..85bdcf1 100644 --- a/rill-openrtb-prog-ads/sources/auction_data_raw.yaml +++ b/rill-openrtb-prog-ads/sources/auction_data_raw.yaml @@ -1,4 +1,10 @@ -# Visit https://docs.rilldata.com/ to learn more about Rill code artifacts. -type: source -connector: "https" -uri: "https://storage.googleapis.com/rilldata-public/auction_data.parquet" +# Model YAML +# Reference documentation: https://docs.rilldata.com/reference/project-files/models + +type: model +materialize: true + +connector: duckdb + +sql: | + select * from read_parquet('https://storage.googleapis.com/rilldata-public/auction_data.parquet')