Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EPIC] Sample Mode #11226

Open
11 of 23 tasks
QMalcolm opened this issue Jan 22, 2025 · 3 comments
Open
11 of 23 tasks

[EPIC] Sample Mode #11226

QMalcolm opened this issue Jan 22, 2025 · 3 comments
Assignees
Labels
Epic sample_mode user docs [docs.getdbt.com] Needs better documentation
Milestone

Comments

@QMalcolm
Copy link
Contributor

QMalcolm commented Jan 22, 2025

Sample mode in dbt will be a "special" running mode to based on some criteria build models with a subset of the input data (i.e. a "sample"). This is important because a lot of us deal with incredibly large data sets on a frequent basis. During development, when we want to be iterating quickly, these large models take a while to run and slow us down. In its simplest form, at the end of this epic, one will be able to do the following dbt run --sample 3 days. The resulting run execution will create "sample" models for any model with an event_time with at least one input that also has an event_time defined.

P0

Preview Give feedback
  1. enhancement sample_mode
    QMalcolm
  2. enhancement sample_mode
    QMalcolm
  3. enhancement sample_mode
    QMalcolm
  4. enhancement sample_mode
    QMalcolm
  5. enhancement sample_mode
    QMalcolm
  6. enhancement sample_mode
    QMalcolm
  7. enhancement sample_mode
    QMalcolm
  8. enhancement sample_mode
    QMalcolm
  9. enhancement sample_mode
    QMalcolm
  10. enhancement sample_mode
    QMalcolm
  11. enhancement sample_mode
    QMalcolm
  12. enhancement sample_mode
    QMalcolm

P1

Preview Give feedback
  1. enhancement sample_mode

P2

Preview Give feedback
No tasks being tracked yet.

bugs 👀

Preview Give feedback
No tasks being tracked yet.

--empty bugs 👀

Preview Give feedback
  1. Impact: Adapters empty unit tests user docs
  2. awaiting_response empty unit tests
  3. bug empty python_models unit tests
  4. type:enhancement
  5. pkg:dbt-snowflake type:bug
  6. pkg:dbt-postgres type:bug

triage

Preview Give feedback
  1. enhancement sample_mode
    QMalcolm
@QMalcolm QMalcolm self-assigned this Jan 22, 2025
@QMalcolm QMalcolm added the user docs [docs.getdbt.com] Needs better documentation label Jan 22, 2025
@QMalcolm QMalcolm added this to the v1.10 milestone Jan 22, 2025
@chrishiste
Copy link

@QMalcolm This is awesome, excited about this!

@QMalcolm
Copy link
Contributor Author

@QMalcolm This is awesome, excited about this!

@chrishiste I'm excited that you're excited 🙂

@QMalcolm
Copy link
Contributor Author

Also for people who wind up here, but haven't seen the discussion post, here's the discussion post 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic sample_mode user docs [docs.getdbt.com] Needs better documentation
Projects
None yet
Development

No branches or pull requests

2 participants