Skip to content

fix(f1002): Remove p1, p2, p3 from most_podiums yml spec#141

Open
sfc-gh-zblackwood wants to merge 1 commit intodbt-labs:mainfrom
sfc-gh-zblackwood:zb/fix-f1002-remove-p1p2p3-from-spec
Open

fix(f1002): Remove p1, p2, p3 from most_podiums yml spec#141
sfc-gh-zblackwood wants to merge 1 commit intodbt-labs:mainfrom
sfc-gh-zblackwood:zb/fix-f1002-remove-p1p2p3-from-spec

Conversation

@sfc-gh-zblackwood
Copy link
Copy Markdown
Contributor

Alternate approach to #138 per @joellabes suggestion: instead of adding p1/p2/p3 to the solution SQL and seed CSV, this removes them from the __stats.yml spec to match what the shared most_podiums.sql already produces.

Changes:

  • Removed p1, p2, p3 column definitions from the most_podiums model in __stats.yml
  • Updated the model description to remove "including a breakdown of 1st, 2nd, and 3rd place finishes"

Impact:

  • Solution SQL, seed CSV, and shared model already only have 3 columns -- no other code changes needed.
  • No other f1 tasks are affected: most_podiums is only referenced in f1002.
  • The finishes_by_driver model (which does have p1-p21plus) is unchanged.

Trade-off vs #138:
This is simpler (1 file, net -9 lines) but makes f1002 a slightly easier eval since agents no longer need to figure out the position breakdown columns.

Test plan:

  • Verified existing solution SQL, seed CSV, and shared model already match (3 columns only)
  • Verified no other f1 tasks reference most_podiums or its p1/p2/p3 columns
  • Grep confirmed zero references to p1/p2/p3 in any task test SQL files

The shared project's most_podiums.sql only selects rank, driver_full_name,
and podiums — it does not include p1/p2/p3. Rather than adding columns to
the solution and seed, this aligns the yml spec to the existing model.

Alternate approach to dbt-labs#138 per @joellabes's suggestion.

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
@sfc-gh-zblackwood sfc-gh-zblackwood marked this pull request as ready for review March 30, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant